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 x86_64 --nodeps /builddir/build/SPECS/rust-libgit2-sys.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97684-60081/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-libgit2-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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-libgit2-sys-0.16.2-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-libgit2-sys.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97684-60081/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-libgit2-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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VYHlsP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgit2-sys-0.16.2+1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgit2-sys-0.16.2+1.7.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libgit2-sys-0.16.2+1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libgit2-sys-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libgit2-sys-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-build-with-vendored-libgit2-unconditionally.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r libgit2/script/ + rm -r libgit2/deps/chromium-zlib + rm -r libgit2/deps/ntlmclient + rm -r libgit2/deps/winhttp + rm -r libgit2/deps/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.s56stH + umask 022 + cd /builddir/build/BUILD + cd libgit2-sys-0.16.2+1.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libgit2-sys-0.16.2-1.oc9.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 x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-libgit2-sys.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97684-60081/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-libgit2-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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ok1xbK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgit2-sys-0.16.2+1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgit2-sys-0.16.2+1.7.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libgit2-sys-0.16.2+1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libgit2-sys-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libgit2-sys-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-build-with-vendored-libgit2-unconditionally.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r libgit2/script/ + rm -r libgit2/deps/chromium-zlib + rm -r libgit2/deps/ntlmclient + rm -r libgit2/deps/winhttp + rm -r libgit2/deps/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.J443Xd + umask 022 + cd /builddir/build/BUILD + cd libgit2-sys-0.16.2+1.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libgit2-sys-0.16.2-1.oc9.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 x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-libgit2-sys.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97684-60081/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-libgit2-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: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VFklsv + umask 022 + cd /builddir/build/BUILD + cd libgit2-sys-0.16.2+1.7.2 + /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.U6JX7D + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 libgit2-sys-0.16.2+1.7.2 + /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 -j32 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling once_cell v1.19.0 Compiling pkg-config v0.3.30 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /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="std"' -C metadata=5e78fbeb3c6ee7a6 -C extra-filename=-5e78fbeb3c6ee7a6 --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libc-5e78fbeb3c6ee7a6 -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/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 once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.19.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="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=cf5d0826256de12f -C extra-filename=-cf5d0826256de12f --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/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=2015 /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=f1ef707bd5873f1a -C extra-filename=-f1ef707bd5873f1a --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libc-5e78fbeb3c6ee7a6/build-script-build` Running `/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libc-5e78fbeb3c6ee7a6/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=004dff9a6d043987 -C extra-filename=-004dff9a6d043987 --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/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` Running `/usr/bin/rustc --crate-name libc --edition=2015 /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="std"' -C metadata=722df1180f0dd58b -C extra-filename=-722df1180f0dd58b --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/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 jobserver v0.1.30 Running `/usr/bin/rustc --crate-name jobserver --edition=2021 /usr/share/cargo/registry/jobserver-0.1.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=74ed8b49f0398b1a -C extra-filename=-74ed8b49f0398b1a --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --extern libc=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/liblibc-722df1180f0dd58b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cc v1.0.99 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 --cfg 'feature="jobserver"' --cfg 'feature="libc"' --cfg 'feature="once_cell"' --cfg 'feature="parallel"' -C metadata=e5f70c145b2da343 -C extra-filename=-e5f70c145b2da343 --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --extern jobserver=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/libjobserver-74ed8b49f0398b1a.rmeta --extern libc=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/liblibc-722df1180f0dd58b.rmeta --extern once_cell=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/libonce_cell-cf5d0826256de12f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling libz-sys v1.1.16 Compiling libgit2-sys v0.16.2 (/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/libz-sys-1.1.16/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="libc"' -C metadata=458b096096060778 -C extra-filename=-458b096096060778 --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libz-sys-458b096096060778 -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --extern cc=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/libcc-e5f70c145b2da343.rlib --extern pkg_config=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/libpkg_config-f1ef707bd5873f1a.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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 -C metadata=49f7906304b6f2ce -C extra-filename=-49f7906304b6f2ce --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libgit2-sys-49f7906304b6f2ce -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --extern cc=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/libcc-e5f70c145b2da343.rlib --extern pkg_config=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/libpkg_config-f1ef707bd5873f1a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libz-sys-458b096096060778/build-script-build` Running `/usr/bin/rustc --crate-name libz_sys --edition=2018 /usr/share/cargo/registry/libz-sys-1.1.16/src/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 --cfg 'feature="libc"' -C metadata=bab455f9d6c6eaeb -C extra-filename=-bab455f9d6c6eaeb --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --extern libc=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -l z` Running `/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libgit2-sys-49f7906304b6f2ce/build-script-build` warning: libgit2-sys@0.16.2: libgit2/src/util/futils.c:224:23: warning: argument 3 of type 'unsigned char[32]' with mismatched bound [-Warray-parameter=] warning: libgit2-sys@0.16.2: 224 | unsigned char checksum[GIT_HASH_SHA256_SIZE], warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: In file included from libgit2/src/util/futils.c:8: warning: libgit2-sys@0.16.2: libgit2/src/util/futils.h:28:23: note: previously declared as 'unsigned char[20]' warning: libgit2-sys@0.16.2: 28 | unsigned char checksum[GIT_HASH_SHA1_SIZE], warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: In file included from /usr/include/string.h:548, warning: libgit2-sys@0.16.2: from libgit2/src/util/git2_util.h:56, warning: libgit2-sys@0.16.2: from libgit2/src/util/futils.h:10: warning: libgit2-sys@0.16.2: In function 'memcpy', warning: libgit2-sys@0.16.2: inlined from 'git_futils_readbuffer_updated' at libgit2/src/util/futils.c:283:3: warning: libgit2-sys@0.16.2: /usr/include/bits/string_fortified.h:29:10: warning: 'memcpy' forming offset [20, 31] is out of the bounds [0, 20] [-Warray-bounds] warning: libgit2-sys@0.16.2: 29 | return __builtin___memcpy_chk (__dest, __src, __len, warning: libgit2-sys@0.16.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: 30 | __glibc_objsize0 (__dest)); warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/net.c: In function 'git_net_url_parse': warning: libgit2-sys@0.16.2: libgit2/src/util/net.c:548:31: warning: 'path' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.16.2: 548 | path_len = (c - path); warning: libgit2-sys@0.16.2: | ~~~^~~~~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/net.c:463:37: note: 'path' was declared here warning: libgit2-sys@0.16.2: 463 | const char *c, *authority, *path; warning: libgit2-sys@0.16.2: | ^~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/net.c: In function 'git_net_url_parse_scp': warning: libgit2-sys@0.16.2: libgit2/src/util/net.c:790:51: warning: 'port' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.16.2: 790 | GIT_ERROR_CHECK_ALLOC(url->port = git__strndup(port, port_len)); warning: libgit2-sys@0.16.2: | ^~~~~~~~~~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/net.c:660:39: note: 'port' was declared here warning: libgit2-sys@0.16.2: 660 | const char *c, *user, *host, *port, *path = NULL; warning: libgit2-sys@0.16.2: | ^~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/net.c:784:55: warning: 'user' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.16.2: 784 | GIT_ERROR_CHECK_ALLOC(url->username = git__strndup(user, user_len)); warning: libgit2-sys@0.16.2: | ^~~~~~~~~~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/net.c:660:25: note: 'user' was declared here warning: libgit2-sys@0.16.2: 660 | const char *c, *user, *host, *port, *path = NULL; warning: libgit2-sys@0.16.2: | ^~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/fs_path.c: In function 'git_fs_path_owner_is': warning: libgit2-sys@0.16.2: libgit2/src/util/fs_path.c:1990:45: warning: 'sudo_uid' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.16.2: 1988 | if ((owner_type & GIT_FS_PATH_OWNER_RUNNING_SUDO) != 0 && warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: 1989 | euid == 0 && warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: 1990 | sudo_uid_lookup(&sudo_uid) == 0 && warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ warning: libgit2-sys@0.16.2: 1991 | st.st_uid == sudo_uid) { warning: libgit2-sys@0.16.2: | ~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.16.2: libgit2/src/util/fs_path.c:1959:21: note: 'sudo_uid' was declared here warning: libgit2-sys@0.16.2: 1959 | uid_t euid, sudo_uid; warning: libgit2-sys@0.16.2: | ^~~~~~~~ Running `/usr/bin/rustc --crate-name libgit2_sys --edition=2018 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 -C metadata=53c3d0a85a345f70 -C extra-filename=-53c3d0a85a345f70 --out-dir /builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps --extern libc=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --extern libz_sys=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/deps/liblibz_sys-bab455f9d6c6eaeb.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2/target/rpm/build/libgit2-sys-16baebb789f08dc3/out/build -l static=git2 --cfg libgit2_vendored` Finished `rpm` profile [optimized + debuginfo] target(s) in 20.18s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Cp8TXa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64 + cd libgit2-sys-0.16.2+1.7.2 + 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=libgit2-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.16.2 + REG_DIR=/builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.16.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.16.2 + 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-libgit2-sys-0.16.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.16.2 warning: no (git) VCS found for `/builddir/build/BUILD/libgit2-sys-0.16.2+1.7.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.16.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.16.2/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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-libgit2-sys-devel-0.16.2-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/libgit2/COPYING warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/libgit2/deps/http-parser/COPYING warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/libgit2/deps/pcre/LICENCE Provides: bundled(http-parser) = 2.0 bundled(libgit2) = 1.7.2 bundled(pcre) = 8.44 crate(libgit2-sys) = 0.16.2 rust-libgit2-sys-devel = 0.16.2-1.oc9 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.43 with crate(cc/default) < 2.0.0~) (crate(cc/parallel) >= 1.0.43 with crate(cc/parallel) < 2.0.0~) (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) (crate(libz-sys) >= 1.1.0 with crate(libz-sys) < 2.0.0~) (crate(libz-sys/libc) >= 1.1.0 with crate(libz-sys/libc) < 2.0.0~) (crate(pkg-config/default) >= 0.3.15 with crate(pkg-config/default) < 0.4.0~) cargo Processing files: rust-libgit2-sys+default-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/default) = 0.16.2 rust-libgit2-sys+default-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libgit2-sys) = 0.16.2 Processing files: rust-libgit2-sys+https-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/https) = 0.16.2 rust-libgit2-sys+https-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libgit2-sys) = 0.16.2 crate(libgit2-sys/openssl-sys) = 0.16.2 Processing files: rust-libgit2-sys+libssh2-sys-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/libssh2-sys) = 0.16.2 rust-libgit2-sys+libssh2-sys-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libssh2-sys/default) >= 0.3.0 with crate(libssh2-sys/default) < 0.4.0~) cargo crate(libgit2-sys) = 0.16.2 Processing files: rust-libgit2-sys+openssl-sys-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/openssl-sys) = 0.16.2 rust-libgit2-sys+openssl-sys-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(openssl-sys/default) >= 0.9.45 with crate(openssl-sys/default) < 0.10.0~) cargo crate(libgit2-sys) = 0.16.2 Processing files: rust-libgit2-sys+ssh-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/ssh) = 0.16.2 rust-libgit2-sys+ssh-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libgit2-sys) = 0.16.2 crate(libgit2-sys/libssh2-sys) = 0.16.2 Processing files: rust-libgit2-sys+ssh_key_from_memory-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/ssh_key_from_memory) = 0.16.2 rust-libgit2-sys+ssh_key_from_memory-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libgit2-sys) = 0.16.2 Processing files: rust-libgit2-sys+vendored-devel-0.16.2-1.oc9.noarch Provides: crate(libgit2-sys/vendored) = 0.16.2 rust-libgit2-sys+vendored-devel = 0.16.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libgit2-sys) = 0.16.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-libgit2-sys-0.16.2-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/rust-libgit2-sys-0.16.2-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+openssl-sys-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+https-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+ssh-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+libssh2-sys-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+vendored-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+default-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys+ssh_key_from_memory-devel-0.16.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys-devel-0.16.2-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/CHANGELOG.md File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/libgit2/COPYING File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/libgit2/deps/http-parser/COPYING File listed twice: /usr/share/cargo/registry/libgit2-sys-0.16.2/libgit2/deps/pcre/LICENCE Child return code was: 0