D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-bzip2-sys-0.1.13-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FiuAMS Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HuUL7q + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + rm -rf bzip2-sys-0.1.13+1.0.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bzip2-sys-0.1.13+1.0.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-sys-0.1.13+1.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/bzip2-sys-fix-metadata-auto.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 + rm -rv bzip2-1.0.8/ removed 'bzip2-1.0.8/words1' removed 'bzip2-1.0.8/bzdiff.1' removed 'bzip2-1.0.8/libbz2.def' removed 'bzip2-1.0.8/README.XML.STUFF' removed 'bzip2-1.0.8/sample1.bz2' removed 'bzip2-1.0.8/sample3.ref' removed 'bzip2-1.0.8/manual.ps' removed 'bzip2-1.0.8/README.COMPILATION.PROBLEMS' removed 'bzip2-1.0.8/bz-common.xsl' removed 'bzip2-1.0.8/Makefile-libbz2_so' removed 'bzip2-1.0.8/sample2.ref' removed 'bzip2-1.0.8/format.pl' removed 'bzip2-1.0.8/manual.html' removed 'bzip2-1.0.8/crctable.c' removed 'bzip2-1.0.8/decompress.c' removed 'bzip2-1.0.8/randtable.c' removed 'bzip2-1.0.8/bzgrep' removed 'bzip2-1.0.8/unzcrash.c' removed 'bzip2-1.0.8/libbz2.dsp' removed 'bzip2-1.0.8/bzip2recover.c' removed 'bzip2-1.0.8/compress.c' removed 'bzip2-1.0.8/CHANGES' removed 'bzip2-1.0.8/bzgrep.1' removed 'bzip2-1.0.8/bzlib.c' removed 'bzip2-1.0.8/manual.xml' removed 'bzip2-1.0.8/sample2.bz2' removed 'bzip2-1.0.8/sample1.ref' removed 'bzip2-1.0.8/words3' removed 'bzip2-1.0.8/bzip2.1' removed 'bzip2-1.0.8/bzip.css' removed 'bzip2-1.0.8/bzlib_private.h' removed 'bzip2-1.0.8/spewG.c' removed 'bzip2-1.0.8/bz-html.xsl' removed 'bzip2-1.0.8/makefile.msc' removed 'bzip2-1.0.8/bzmore' removed 'bzip2-1.0.8/bzip2.c' removed 'bzip2-1.0.8/bz-fo.xsl' removed 'bzip2-1.0.8/bzdiff' removed 'bzip2-1.0.8/entities.xml' removed 'bzip2-1.0.8/bzip2.1.preformatted' removed 'bzip2-1.0.8/words2' removed 'bzip2-1.0.8/README' removed 'bzip2-1.0.8/huffman.c' removed 'bzip2-1.0.8/bzip2.txt' removed 'bzip2-1.0.8/dlltest.c' removed 'bzip2-1.0.8/Makefile' removed 'bzip2-1.0.8/dlltest.dsp' removed 'bzip2-1.0.8/bzmore.1' removed 'bzip2-1.0.8/mk251.c' removed 'bzip2-1.0.8/LICENSE' removed 'bzip2-1.0.8/sample3.bz2' removed 'bzip2-1.0.8/bzlib.h' removed 'bzip2-1.0.8/words0' removed 'bzip2-1.0.8/blocksort.c' removed 'bzip2-1.0.8/xmlproc.sh' removed directory 'bzip2-1.0.8/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iiPzYB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + cd bzip2-sys-0.1.13+1.0.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5Q4lms + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bzip2-sys-0.1.13+1.0.8 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling shlex v1.3.0 Compiling pkg-config v0.3.31 Running `/usr/bin/rustc --crate-name shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=566bf8880046a0c7 -C extra-filename=-116192f98fb20e65 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pkg_config --edition=2018 /usr/share/cargo/registry/pkg-config-0.3.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7bc00476902fb45c -C extra-filename=-101b1c6c5919a3df --out-dir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cc v1.2.17 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.2.17/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("jobserver", "parallel"))' -C metadata=1ba94689b062ad51 -C extra-filename=-5ae50504ff28b269 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps --extern shlex=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps/libshlex-116192f98fb20e65.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling bzip2-sys v0.1.13 (/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 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("__disabled", "static"))' -C metadata=a6b57d81fd050571 -C extra-filename=-eed0690b43eab94a --out-dir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/build/bzip2-sys-eed0690b43eab94a -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps --extern cc=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps/libcc-5ae50504ff28b269.rlib --extern pkg_config=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps/libpkg_config-101b1c6c5919a3df.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/build/bzip2-sys-eed0690b43eab94a/build-script-build` Running `/usr/bin/rustc --crate-name bzip2_sys --edition=2015 lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -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("__disabled", "static"))' -C metadata=f7d5ded55c20a1ca -C extra-filename=-ab24c7aeec18ad88 --out-dir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l bz2` warning: extern declarations without an explicit ABI are deprecated --> lib.rs:51:9 | 51 | extern { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` ... 57 | / abi_compat! { 58 | | pub fn BZ2_bzCompressInit(stream: *mut bz_stream, 59 | | blockSize100k: c_int, 60 | | verbosity: c_int, ... | 68 | | pub fn BZ2_bzDecompressEnd(stream: *mut bz_stream) -> c_int, 69 | | } | |_- in this macro invocation | = note: `#[warn(missing_abi)]` on by default = note: this warning originates in the macro `abi_compat` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `bzip2-sys` (lib) generated 1 warning (run `cargo fix --lib -p bzip2-sys` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.36s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E1zK6o + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bzip2-sys-0.1.13+1.0.8 + '[' 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=bzip2-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.13 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT/usr/share/cargo/registry/bzip2-sys-0.1.13 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT/usr/share/cargo/registry/bzip2-sys-0.1.13 + /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-bzip2-sys-0.1.13-build/BUILDROOT/usr/share/cargo/registry/bzip2-sys-0.1.13 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT/usr/share/cargo/registry/bzip2-sys-0.1.13/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT/usr/share/cargo/registry/bzip2-sys-0.1.13/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 Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oZOnu4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bzip2-sys-0.1.13+1.0.8 + '[' 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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Fresh shlex v1.3.0 Fresh cc v1.2.17 Fresh pkg-config v0.3.31 warning: extern declarations without an explicit ABI are deprecated --> lib.rs:51:9 | 51 | extern { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` ... 57 | / abi_compat! { 58 | | pub fn BZ2_bzCompressInit(stream: *mut bz_stream, 59 | | blockSize100k: c_int, 60 | | verbosity: c_int, ... | 68 | | pub fn BZ2_bzDecompressEnd(stream: *mut bz_stream) -> c_int, 69 | | } | |_- in this macro invocation | = note: `#[warn(missing_abi)]` on by default = note: this warning originates in the macro `abi_compat` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `bzip2-sys` (lib) generated 1 warning (run `cargo fix --lib -p bzip2-sys` to apply 1 suggestion) Compiling bzip2-sys v0.1.13 (/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8) Running `/usr/bin/rustc --crate-name bzip2_sys --edition=2015 lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__disabled", "static"))' -C metadata=df49537274f823f6 -C extra-filename=-bdf8f6c132911d8d --out-dir /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l bz2` warning: `bzip2-sys` (lib test) generated 1 warning (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.30s Running `/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps/bzip2_sys-bdf8f6c132911d8d` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests bzip2_sys Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name bzip2_sys --test lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps -L native=/usr/lib64 --extern bzip2_sys=/home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/bzip2-sys-0.1.13+1.0.8/target/rpm/deps/libbzip2_sys-ab24c7aeec18ad88.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__disabled", "static"))' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-bzip2-sys-devel-0.1.13-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/bzip2-sys-0.1.13/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/bzip2-sys-0.1.13/LICENSE-MIT Provides: crate(bzip2-sys) = 0.1.13 rust-bzip2-sys-devel = 0.1.13-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cc/default) >= 1.0.0 crate(pkg-config/default) >= 0.3.9 Processing files: rust-bzip2-sys+default-devel-0.1.13-1.mga10.noarch Provides: crate(bzip2-sys/default) = 0.1.13 rust-bzip2-sys+default-devel = 0.1.13-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bzip2-sys) = 0.1.13 Processing files: rust-bzip2-sys+__disabled-devel-0.1.13-1.mga10.noarch Provides: crate(bzip2-sys/__disabled) = 0.1.13 rust-bzip2-sys+__disabled-devel = 0.1.13-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bzip2-sys) = 0.1.13 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bzip2-sys+__disabled-devel-0.1.13-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bzip2-sys-devel-0.1.13-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-bzip2-sys+default-devel-0.1.13-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hMOLxE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + test -d /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-bzip2-sys-0.1.13-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/bzip2-sys-0.1.13/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/bzip2-sys-0.1.13/LICENSE-MIT D: [iurt_root_command] Success!