Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202477-14547/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-libbpf-sys-1.4.1-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202477-14547/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ayl3Vq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libbpf-sys-1.4.1+v1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libbpf-sys-1.4.1+v1.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libbpf-sys-1.4.1+v1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libbpf-sys-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf elfutils zlib + 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 /var/tmp/rpm-tmp.5N9ujh + umask 022 + cd /builddir/build/BUILD + cd libbpf-sys-1.4.1+v1.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libbpf-sys-1.4.1-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202477-14547/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Szmlwi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libbpf-sys-1.4.1+v1.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libbpf-sys-1.4.1+v1.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libbpf-sys-1.4.1+v1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libbpf-sys-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf elfutils zlib + 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 /var/tmp/rpm-tmp.n1vvPL + umask 022 + cd /builddir/build/BUILD + cd libbpf-sys-1.4.1+v1.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libbpf-sys-1.4.1-1.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202477-14547/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-libbpf-sys.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TRb3Q7 + umask 022 + cd /builddir/build/BUILD + cd libbpf-sys-1.4.1+v1.4.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GE7EcO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libbpf-sys-1.4.1+v1.4.0 + /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 libc v0.2.155 Compiling cfg-if v1.0.0 Compiling bitflags v2.5.0 Compiling pkg-config v0.3.30 Compiling cc v1.0.99 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.155/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 --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=b83425618f032900 -C extra-filename=-b83425618f032900 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libc-b83425618f032900 -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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 -C metadata=799c932bc9e09a45 -C extra-filename=-799c932bc9e09a45 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/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 bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.5.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 -C metadata=8b2fcc220797b867 -C extra-filename=-8b2fcc220797b867 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/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 /usr/share/cargo/registry/pkg-config-0.3.30/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 -C metadata=fff45a6d0e3e08dc -C extra-filename=-fff45a6d0e3e08dc --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/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 cc --edition=2018 /usr/share/cargo/registry/cc-1.0.99/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 -C metadata=b92eb23f8881a650 -C extra-filename=-b92eb23f8881a650 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libc-b83425618f032900/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.155/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="extra_traits"' --cfg 'feature="std"' -C metadata=a6f8461a8f0e06aa -C extra-filename=-a6f8461a8f0e06aa --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling nix v0.27.1 Running `/usr/bin/rustc --crate-name nix --edition=2021 /usr/share/cargo/registry/nix-0.27.1/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="fs"' -C metadata=cb85bdce188e7931 -C extra-filename=-cb85bdce188e7931 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps --extern bitflags=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/libbitflags-8b2fcc220797b867.rmeta --extern cfg_if=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/libcfg_if-799c932bc9e09a45.rmeta --extern libc=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/liblibc-a6f8461a8f0e06aa.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling libbpf-sys v1.4.1 (/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0) 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 --cfg 'feature="default"' --cfg 'feature="static-libbpf"' --cfg 'feature="vendored-libbpf"' -C metadata=d60461867b51d668 -C extra-filename=-d60461867b51d668 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libbpf-sys-d60461867b51d668 -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps --extern cc=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/libcc-b92eb23f8881a650.rlib --extern nix=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/libnix-cb85bdce188e7931.rlib --extern pkg_config=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/libpkg_config-fff45a6d0e3e08dc.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libbpf-sys-d60461867b51d668/build-script-build` Running `/usr/bin/rustc --crate-name libbpf_sys --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="static-libbpf"' --cfg 'feature="vendored-libbpf"' -C metadata=3fcaba6701686209 -C extra-filename=-3fcaba6701686209 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libbpf-sys-8b374019cae06a4e/out -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm -L native=/usr/lib/rustlib/aarch64-unknown-linux-gnu/lib -l elf -l z -l static=bpf` Finished rpm [optimized + debuginfo] target(s) in 17.52s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EMTK2c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64 + cd libbpf-sys-1.4.1+v1.4.0 + 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=libbpf-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.4.1 + REG_DIR=/builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64/usr/share/cargo/registry/libbpf-sys-1.4.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64/usr/share/cargo/registry/libbpf-sys-1.4.1 + gawk -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 /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64/usr/share/cargo/registry/libbpf-sys-1.4.1 warning: No (git) VCS found for `/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64/usr/share/cargo/registry/libbpf-sys-1.4.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64/usr/share/cargo/registry/libbpf-sys-1.4.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/rebuild.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/scripts/sync-kernel.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/scripts/coverity.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/scripts/build-fuzzers.sh from /bin/bash to #!/usr/bin/bash *** WARNING: ./usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/ci/vmtest/helpers.sh is executable but has no shebang, removing executable bit mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/ci/vmtest/run_selftests.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/ci/managers/debian.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/ci/managers/ubuntu.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/ci/managers/test_compile.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ii1FU6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libbpf-sys-1.4.1+v1.4.0 + /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 Fresh libc v0.2.155 Fresh cfg-if v1.0.0 Fresh bitflags v2.5.0 Fresh pkg-config v0.3.30 Fresh cc v1.0.99 Fresh nix v0.27.1 Compiling libbpf-sys v1.4.1 (/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0) Running `/usr/bin/rustc --crate-name libbpf_sys --edition=2018 src/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 --cfg 'feature="default"' --cfg 'feature="static-libbpf"' --cfg 'feature="vendored-libbpf"' -C metadata=93e3de2df8dbce21 -C extra-filename=-93e3de2df8dbce21 --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libbpf-sys-8b374019cae06a4e/out -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm -L native=/usr/lib/rustlib/aarch64-unknown-linux-gnu/lib -l elf -l z -l static=bpf` Running `/usr/bin/rustc --crate-name tests --edition=2018 tests/tests.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 --cfg 'feature="default"' --cfg 'feature="static-libbpf"' --cfg 'feature="vendored-libbpf"' -C metadata=838e4c0f520b214f -C extra-filename=-838e4c0f520b214f --out-dir /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps --extern libbpf_sys=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/liblibbpf_sys-3fcaba6701686209.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libbpf-sys-8b374019cae06a4e/out -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm -L native=/usr/lib/rustlib/aarch64-unknown-linux-gnu/lib` Finished rpm [optimized + debuginfo] target(s) in 2.09s Running `/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/libbpf_sys-93e3de2df8dbce21` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/tests-838e4c0f520b214f` running 1 test test tests::test ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests libbpf-sys Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-type staticlib --crate-name libbpf_sys --test src/lib.rs --test-run-directory /builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0 -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L dependency=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/build/libbpf-sys-8b374019cae06a4e/out -L native=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps -L native=/usr/lib/rustlib/aarch64-unknown-linux-gnu/lib --extern libbpf_sys=/builddir/build/BUILD/libbpf-sys-1.4.1+v1.4.0/target/rpm/deps/liblibbpf_sys-3fcaba6701686209.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="static-libbpf"' --cfg 'feature="vendored-libbpf"' --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-libbpf-sys-devel-1.4.1-1.ocs23.noarch warning: File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/LICENSE warning: File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/README.md warning: File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/LICENSE warning: File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/LICENSE.BSD-2-Clause warning: File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/LICENSE.LGPL-2.1 Provides: crate(libbpf-sys) = 1.4.1 rust-libbpf-sys-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(cc/default) >= 1.0.90 with crate(cc/default) < 2.0.0~) (crate(nix) >= 0.27.1 with crate(nix) < 0.28.0~) (crate(nix/fs) >= 0.27.1 with crate(nix/fs) < 0.28.0~) (crate(pkg-config/default) >= 0.3.30 with crate(pkg-config/default) < 0.4.0~) /usr/bin/bash cargo Processing files: rust-libbpf-sys+default-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/default) = 1.4.1 rust-libbpf-sys+default-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/vendored-libbpf) = 1.4.1 Processing files: rust-libbpf-sys+bindgen-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/bindgen) = 1.4.1 rust-libbpf-sys+bindgen-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(bindgen/default) >= 0.69.4 with crate(bindgen/default) < 0.70.0~) cargo crate(libbpf-sys) = 1.4.1 Processing files: rust-libbpf-sys+bindgen-source-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/bindgen-source) = 1.4.1 rust-libbpf-sys+bindgen-source-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/bindgen) = 1.4.1 Processing files: rust-libbpf-sys+novendor-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/novendor) = 1.4.1 rust-libbpf-sys+novendor-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 Processing files: rust-libbpf-sys+static-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/static) = 1.4.1 rust-libbpf-sys+static-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/static-libbpf) = 1.4.1 crate(libbpf-sys/static-libelf) = 1.4.1 crate(libbpf-sys/static-zlib) = 1.4.1 Processing files: rust-libbpf-sys+static-libbpf-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/static-libbpf) = 1.4.1 rust-libbpf-sys+static-libbpf-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 Processing files: rust-libbpf-sys+static-libelf-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/static-libelf) = 1.4.1 rust-libbpf-sys+static-libelf-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/static-libbpf) = 1.4.1 Processing files: rust-libbpf-sys+static-zlib-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/static-zlib) = 1.4.1 rust-libbpf-sys+static-zlib-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/static-libbpf) = 1.4.1 Processing files: rust-libbpf-sys+vendored-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/vendored) = 1.4.1 rust-libbpf-sys+vendored-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/vendored-libbpf) = 1.4.1 crate(libbpf-sys/vendored-libelf) = 1.4.1 crate(libbpf-sys/vendored-zlib) = 1.4.1 Processing files: rust-libbpf-sys+vendored-libbpf-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/vendored-libbpf) = 1.4.1 rust-libbpf-sys+vendored-libbpf-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/static-libbpf) = 1.4.1 Processing files: rust-libbpf-sys+vendored-libelf-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/vendored-libelf) = 1.4.1 rust-libbpf-sys+vendored-libelf-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/static-libelf) = 1.4.1 Processing files: rust-libbpf-sys+vendored-zlib-devel-1.4.1-1.ocs23.noarch Provides: crate(libbpf-sys/vendored-zlib) = 1.4.1 rust-libbpf-sys+vendored-zlib-devel = 1.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libbpf-sys) = 1.4.1 crate(libbpf-sys/static-zlib) = 1.4.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-libbpf-sys-1.4.1-1.ocs23.aarch64 Wrote: /builddir/build/SRPMS/rust-libbpf-sys-1.4.1-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+novendor-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+vendored-libelf-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+static-zlib-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+default-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+vendored-libbpf-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+static-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+static-libelf-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+vendored-zlib-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+vendored-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+bindgen-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+static-libbpf-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys+bindgen-source-devel-1.4.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-libbpf-sys-devel-1.4.1-1.ocs23.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/LICENSE File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/README.md File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/LICENSE File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/LICENSE.BSD-2-Clause File listed twice: /usr/share/cargo/registry/libbpf-sys-1.4.1/libbpf/LICENSE.LGPL-2.1 Child return code was: 0