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-sys0.14.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97680-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-sys0.14.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-sys0.14-0.14.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-sys0.14.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97680-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-sys0.14.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.MrO0vS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgit2-sys-0.14.2+1.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgit2-sys-0.14.2+1.5.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libgit2-sys-0.14.2+1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /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.WdEtO1 + umask 022 + cd /builddir/build/BUILD + cd libgit2-sys-0.14.2+1.5.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libgit2-sys0.14-0.14.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-sys0.14.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97680-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-sys0.14.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.9lsG1Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgit2-sys-0.14.2+1.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgit2-sys-0.14.2+1.5.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd libgit2-sys-0.14.2+1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /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.t7L3vL + umask 022 + cd /builddir/build/BUILD + cd libgit2-sys-0.14.2+1.5.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-libgit2-sys0.14-0.14.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-sys0.14.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97680-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-sys0.14.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.C7FeEx + umask 022 + cd /builddir/build/BUILD + cd libgit2-sys-0.14.2+1.5.1 + /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.A8XR9X + 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.14.2+1.5.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 -j32 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling once_cell v1.19.0 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.14.2+1.5.1/target/rpm/build/libc-5e78fbeb3c6ee7a6 -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pkg-config v0.3.30 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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2+1.5.1/target/rpm/build/libc-5e78fbeb3c6ee7a6/build-script-build` Running `/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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 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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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 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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --extern libc=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --extern jobserver=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/libjobserver-74ed8b49f0398b1a.rmeta --extern libc=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/liblibc-722df1180f0dd58b.rmeta --extern once_cell=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2 (/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1) 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.14.2+1.5.1/target/rpm/build/libz-sys-458b096096060778 -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --extern cc=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/libcc-e5f70c145b2da343.rlib --extern pkg_config=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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=7936b05a6a544659 -C extra-filename=-7936b05a6a544659 --out-dir /builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/build/libgit2-sys-7936b05a6a544659 -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --extern cc=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/libcc-e5f70c145b2da343.rlib --extern pkg_config=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/libpkg_config-f1ef707bd5873f1a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unused variable: `vendored` --> build.rs:10:9 | 10 | let vendored = env::var("CARGO_FEATURE_VENDORED").is_ok(); | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vendored` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `zlib_ng_compat` --> build.rs:11:9 | 11 | let zlib_ng_compat = env::var("CARGO_FEATURE_ZLIB_NG_COMPAT").is_ok(); | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zlib_ng_compat` Running `/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --extern libc=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -l z` warning: `libgit2-sys` (build script) generated 2 warnings Running `/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/build/libgit2-sys-7936b05a6a544659/build-script-build` warning: libgit2-sys@0.14.2: In file included from libgit2/src/util/util.h:385, warning: libgit2-sys@0.14.2: from libgit2/src/util/git2_util.h:166, warning: libgit2-sys@0.14.2: from libgit2/src/util/net.h:10, warning: libgit2-sys@0.14.2: from libgit2/src/util/net.c:8: warning: libgit2-sys@0.14.2: libgit2/src/util/alloc.h: In function 'git_net_url_parse_scp': warning: libgit2-sys@0.14.2: libgit2/src/util/alloc.h:18:47: warning: 'port' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.14.2: 18 | #define git__strndup(str, n) git__allocator.gstrndup(str, n, __FILE__, __LINE__) warning: libgit2-sys@0.14.2: | ^~~~~~~~~~~~~~ warning: libgit2-sys@0.14.2: libgit2/src/util/net.c:263:39: note: 'port' was declared here warning: libgit2-sys@0.14.2: 263 | const char *c, *user, *host, *port, *path = NULL; warning: libgit2-sys@0.14.2: | ^~~~ warning: libgit2-sys@0.14.2: libgit2/src/util/alloc.h:18:47: warning: 'user' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.14.2: 18 | #define git__strndup(str, n) git__allocator.gstrndup(str, n, __FILE__, __LINE__) warning: libgit2-sys@0.14.2: | ^~~~~~~~~~~~~~ warning: libgit2-sys@0.14.2: libgit2/src/util/net.c:263:25: note: 'user' was declared here warning: libgit2-sys@0.14.2: 263 | const char *c, *user, *host, *port, *path = NULL; warning: libgit2-sys@0.14.2: | ^~~~ warning: libgit2-sys@0.14.2: libgit2/src/util/fs_path.c: In function 'git_fs_path_owner_is': warning: libgit2-sys@0.14.2: libgit2/src/util/fs_path.c:1990:45: warning: 'sudo_uid' may be used uninitialized [-Wmaybe-uninitialized] warning: libgit2-sys@0.14.2: 1988 | if ((owner_type & GIT_FS_PATH_OWNER_RUNNING_SUDO) != 0 && warning: libgit2-sys@0.14.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.14.2: 1989 | euid == 0 && warning: libgit2-sys@0.14.2: | ~~~~~~~~~~~~ warning: libgit2-sys@0.14.2: 1990 | sudo_uid_lookup(&sudo_uid) == 0 && warning: libgit2-sys@0.14.2: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ warning: libgit2-sys@0.14.2: 1991 | st.st_uid == sudo_uid) { warning: libgit2-sys@0.14.2: | ~~~~~~~~~~~~~~~~~~~~~ warning: libgit2-sys@0.14.2: libgit2/src/util/fs_path.c:1959:21: note: 'sudo_uid' was declared here warning: libgit2-sys@0.14.2: 1959 | uid_t euid, sudo_uid; warning: libgit2-sys@0.14.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=38a48474f6d07135 -C extra-filename=-38a48474f6d07135 --out-dir /builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps -L dependency=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps --extern libc=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --extern libz_sys=/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1/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.14.2+1.5.1/target/rpm/build/libgit2-sys-fc0dd7bc34b99f07/out/build -l static=git2 --cfg libgit2_vendored` Finished `rpm` profile [optimized + debuginfo] target(s) in 16.38s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C4o3A6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64 + cd libgit2-sys-0.14.2+1.5.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=libgit2-sys ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.14.2 + REG_DIR=/builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.14.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.14.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-sys0.14-0.14.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.14.2 warning: no (git) VCS found for `/builddir/build/BUILD/libgit2-sys-0.14.2+1.5.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.14.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64/usr/share/cargo/registry/libgit2-sys-0.14.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-sys0.14-devel-0.14.2-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/libgit2/COPYING warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/libgit2/deps/http-parser/COPYING warning: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/libgit2/deps/pcre/LICENCE Provides: bundled(http-parser) = 2.0 bundled(libgit2) = 1.5.1 bundled(pcre) = 8.44 crate(libgit2-sys) = 0.14.2 rust-libgit2-sys0.14-devel = 0.14.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.7 with crate(pkg-config/default) < 0.4.0~) cargo Processing files: rust-libgit2-sys0.14+default-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/default) = 0.14.2 rust-libgit2-sys0.14+default-devel = 0.14.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.14.2 Processing files: rust-libgit2-sys0.14+https-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/https) = 0.14.2 rust-libgit2-sys0.14+https-devel = 0.14.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.14.2 crate(libgit2-sys/openssl-sys) = 0.14.2 Processing files: rust-libgit2-sys0.14+libssh2-sys-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/libssh2-sys) = 0.14.2 rust-libgit2-sys0.14+libssh2-sys-devel = 0.14.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.2.19 with crate(libssh2-sys/default) < 0.3.0~) cargo crate(libgit2-sys) = 0.14.2 Processing files: rust-libgit2-sys0.14+openssl-sys-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/openssl-sys) = 0.14.2 rust-libgit2-sys0.14+openssl-sys-devel = 0.14.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.0 with crate(openssl-sys/default) < 0.10.0~) cargo crate(libgit2-sys) = 0.14.2 Processing files: rust-libgit2-sys0.14+ssh-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/ssh) = 0.14.2 rust-libgit2-sys0.14+ssh-devel = 0.14.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.14.2 crate(libgit2-sys/libssh2-sys) = 0.14.2 Processing files: rust-libgit2-sys0.14+ssh_key_from_memory-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/ssh_key_from_memory) = 0.14.2 rust-libgit2-sys0.14+ssh_key_from_memory-devel = 0.14.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.14.2 Processing files: rust-libgit2-sys0.14+vendored-devel-0.14.2-1.oc9.noarch Provides: crate(libgit2-sys/vendored) = 0.14.2 rust-libgit2-sys0.14+vendored-devel = 0.14.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.14.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-libgit2-sys0.14-0.14.2-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/rust-libgit2-sys0.14-0.14.2-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+https-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+default-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+vendored-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+openssl-sys-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+ssh-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+ssh_key_from_memory-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14+libssh2-sys-devel-0.14.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-libgit2-sys0.14-devel-0.14.2-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/libgit2/COPYING File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/libgit2/deps/http-parser/COPYING File listed twice: /usr/share/cargo/registry/libgit2-sys-0.14.2/libgit2/deps/pcre/LICENCE Child return code was: 0