D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rust-proc-macro-hack-0.5.20-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AdoUKX Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8zP15K + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + rm -rf proc-macro-hack-0.5.20+deprecated + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/proc-macro-hack-0.5.20+deprecated.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd proc-macro-hack-0.5.20+deprecated + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/proc-macro-hack-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.60OdrG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + cd proc-macro-hack-0.5.20+deprecated + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YTEjOv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-macro-hack-0.5.20+deprecated + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling proc-macro-hack v0.5.20 (/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3dd404c2c03a86e8 -C extra-filename=-e13141dbbc9912db --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/target/rpm/build/proc-macro-hack-e13141dbbc9912db -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/target/rpm/build/proc-macro-hack-e13141dbbc9912db/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro_hack --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=5b3294ab94aa4f15 -C extra-filename=-47bced499c865e49 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/target/rpm/deps --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `need_proc_macro_hack` --> src/lib.rs:267:45 | 267 | if args.only_hack_old_rustc && cfg!(not(need_proc_macro_hack)) { | ^^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(need_proc_macro_hack)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_proc_macro_hack)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: `proc-macro-hack` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 3.91s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j9yLWs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-macro-hack-0.5.20+deprecated + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=proc-macro-hack ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.5.20 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/cargo/registry/proc-macro-hack-0.5.20 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/cargo/registry/proc-macro-hack-0.5.20 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/cargo/registry/proc-macro-hack-0.5.20 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/cargo/registry/proc-macro-hack-0.5.20/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/cargo/registry/proc-macro-hack-0.5.20/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/SPECPARTS/rpm-debuginfo.specpart Processing files: rust-proc-macro-hack-devel-0.5.20-1.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Jx0AL8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + cd proc-macro-hack-0.5.20+deprecated + DOCDIR=/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/doc/rust-proc-macro-hack-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/doc/rust-proc-macro-hack-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/README.md /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/doc/rust-proc-macro-hack-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7cHPcM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + cd proc-macro-hack-0.5.20+deprecated + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/licenses/rust-proc-macro-hack-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/licenses/rust-proc-macro-hack-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/LICENSE-APACHE /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/licenses/rust-proc-macro-hack-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/proc-macro-hack-0.5.20+deprecated/LICENSE-MIT /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT/usr/share/licenses/rust-proc-macro-hack-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(proc-macro-hack) = 0.5.20 rust-proc-macro-hack-devel = 0.5.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo rust >= 1.31 Processing files: rust-proc-macro-hack+default-devel-0.5.20-1.mga10.noarch Provides: crate(proc-macro-hack/default) = 0.5.20 rust-proc-macro-hack+default-devel = 0.5.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(proc-macro-hack) = 0.5.20 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-macro-hack+default-devel-0.5.20-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-macro-hack-devel-0.5.20-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4WBVkF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + test -d /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-proc-macro-hack-0.5.20-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!