D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-gettext-rs-0.7.1-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NiGdVC Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3uFLKP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + rm -rf gettext-rs-0.7.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gettext-rs-0.7.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd gettext-rs-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VmpFRC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + cd gettext-rs-0.7.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6NxxIb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gettext-rs-0.7.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling memchr v2.7.4 Compiling regex-syntax v0.8.5 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/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="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=9228fa86758e8c03 -C extra-filename=-3b1147e61686bb87 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling gettext-sys v0.21.4 Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.5/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"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=7fada060eb077420 -C extra-filename=-1570020434bc9df2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.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 build_script_build --edition=2015 /usr/share/cargo/registry/gettext-sys-0.21.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("gettext-system"))' -C metadata=d5a7bc69bff9fa75 -C extra-filename=-7cfdd21347dccf2f --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/build/gettext-sys-7cfdd21347dccf2f -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.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 lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.0/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("spin", "spin_no_std"))' -C metadata=2e788d234a69074e -C extra-filename=-74cabfed94616a3a --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/build/gettext-sys-7cfdd21347dccf2f/build-script-build` Running `/usr/bin/rustc --crate-name gettext_sys --edition=2015 /usr/share/cargo/registry/gettext-sys-0.21.4/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("gettext-system"))' -C metadata=eef7a716940a62fb -C extra-filename=-9067ae5e6c859b59 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.3/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="perf-literal"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "logging", "perf-literal", "std"))' -C metadata=156a830d116d5bd9 -C extra-filename=-9249320532705819 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex-automata v0.4.9 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.9/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="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=1d06f71640ada769 -C extra-filename=-e605e61d4ae5dfad --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern aho_corasick=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libaho_corasick-9249320532705819.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --extern regex_syntax=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libregex_syntax-1570020434bc9df2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex v1.11.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.11.1/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="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=fa50f593d6a7b081 -C extra-filename=-c75f1f31ce46b663 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern aho_corasick=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libaho_corasick-9249320532705819.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --extern regex_automata=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libregex_automata-e605e61d4ae5dfad.rmeta --extern regex_syntax=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libregex_syntax-1570020434bc9df2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling locale_config v0.3.0 Running `/usr/bin/rustc --crate-name locale_config --edition=2015 /usr/share/cargo/registry/locale_config-0.3.0/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e11d3599211a9c6c -C extra-filename=-e42479804c9a5de2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblazy_static-74cabfed94616a3a.rmeta --extern regex=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libregex-c75f1f31ce46b663.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling gettext-rs v0.7.1 (/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1) Running `/usr/bin/rustc --crate-name gettextrs --edition=2015 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("gettext-system"))' -C metadata=b677d48fe9e1b738 -C extra-filename=-10c934bd72ac9f84 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern gettext_sys=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libgettext_sys-9067ae5e6c859b59.rmeta --extern locale_config=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblocale_config-e42479804c9a5de2.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 21.44s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S1fmGx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gettext-rs-0.7.1 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=gettext-rs ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT/usr/share/cargo/registry/gettext-rs-0.7.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT/usr/share/cargo/registry/gettext-rs-0.7.1 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT/usr/share/cargo/registry/gettext-rs-0.7.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT/usr/share/cargo/registry/gettext-rs-0.7.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT/usr/share/cargo/registry/gettext-rs-0.7.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bc1WM8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gettext-rs-0.7.1 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh memchr v2.7.4 Fresh aho-corasick v1.1.3 Fresh regex-syntax v0.8.5 Fresh regex-automata v0.4.9 Fresh regex v1.11.1 Fresh lazy_static v1.5.0 Fresh locale_config v0.3.0 Fresh gettext-sys v0.21.4 Compiling gettext-rs v0.7.1 (/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1) Running `/usr/bin/rustc --crate-name gettextrs --edition=2015 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("gettext-system"))' -C metadata=d141e6b50a7a919b -C extra-filename=-eec5ebaf7d1b84b4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern gettext_sys=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libgettext_sys-9067ae5e6c859b59.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblazy_static-74cabfed94616a3a.rlib --extern locale_config=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblocale_config-e42479804c9a5de2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name integration --edition=2015 tests/integration.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("gettext-system"))' -C metadata=dad7a25a6bc43610 -C extra-filename=-69a0cd700d62e5f2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern gettextrs=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libgettextrs-10c934bd72ac9f84.rlib --extern gettext_sys=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libgettext_sys-9067ae5e6c859b59.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblazy_static-74cabfed94616a3a.rlib --extern locale_config=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblocale_config-e42479804c9a5de2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 1.78s Running `/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/gettextrs-eec5ebaf7d1b84b4` running 30 tests test tests::bind_textdomain_codeset_panics_on_zero_in_codeset - should panic ... ok test tests::bind_textdomain_codeset_panics_on_zero_in_domainname - should panic ... ok test tests::bindtextdomain_panics_on_zero_in_domainname - should panic ... ok test tests::dcgettext_panics_on_zero_in_domainname - should panic ... ok test tests::dcgettext_panics_on_zero_in_msgid - should panic ... ok test tests::context_test ... ok test tests::dcngettext_panics_on_zero_in_domainname - should panic ... ok test tests::dcngettext_panics_on_zero_in_msgid - should panic ... ok test tests::dcngettext_panics_on_zero_in_msgid_plural - should panic ... ok test tests::dgettext_panics_on_zero_in_domainname - should panic ... ok test tests::bindtextdomain_panics_on_zero_in_dirname - should panic ... ok test tests::dgettext_panics_on_zero_in_msgid - should panic ... ok test tests::dngettext_panics_on_zero_in_domainname - should panic ... ok test tests::dngettext_panics_on_zero_in_msgid_plural - should panic ... ok test tests::dngettext_panics_on_zero_in_msgid - should panic ... ok test tests::gettext_panics - should panic ... ok test tests::ngettext_panics_on_zero_in_msgid_plural - should panic ... ok test tests::ngettext_panics_on_zero_in_msgid - should panic ... ok test tests::npgettext_panics_on_zero_in_msgctxt - should panic ... ok test tests::npgettext_panics_on_zero_in_msgid - should panic ... ok test tests::npgettext_panics_on_zero_in_msgid_plural - should panic ... ok test tests::pgettext_panics_on_zero_in_msgctxt - should panic ... ok test tests::pgettext_panics_on_zero_in_msgid - should panic ... ok test tests::plural_context_test ... ok test tests::plural_test ... ok test tests::setlocale_panics_on_zero_in_locale - should panic ... ok test tests::smoke_test ... ok test tests::textdomain_panics_on_zero_in_domainname - should panic ... ok test text_domain::tests::attributes ... ok test text_domain::tests::errors ... ok test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/integration-69a0cd700d62e5f2` running 11 tests test current_textdomain_works ... ok test dcngettext_fn ... ok test dcgettext_fn ... ok test dgettext_fn ... ok test domain_directory_works ... ok test dngettext_fn ... ok test gettext_fn ... ok test ngettext_fn ... ok test npgettext_fn ... ok test pgettext_fn ... ok test test_textdomain_codeset ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests gettextrs Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name gettextrs --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps --extern gettextrs=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libgettextrs-10c934bd72ac9f84.rlib --extern gettext_sys=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/libgettext_sys-9067ae5e6c859b59.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblazy_static-74cabfed94616a3a.rlib --extern locale_config=/home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/gettext-rs-0.7.1/target/rpm/deps/liblocale_config-e42479804c9a5de2.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("gettext-system"))' --error-format human` running 14 tests test src/text_domain.rs - text_domain::TextDomain::prepend (line 242) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::push (line 257) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::codeset (line 225) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::new (line 169) - compile ... ok test src/lib.rs - (line 48) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::skip_system_data_paths (line 272) - compile ... ok test src/lib.rs - (line 58) - compile ... ok test src/text_domain.rs - text_domain::TextDomain (line 99) - compile ... ok test src/text_domain.rs - text_domain::TextDomain (line 111) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::locale_category (line 205) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::init (line 295) - compile ... ok test src/text_domain.rs - text_domain::TextDomain::locale (line 190) - compile ... ok test src/lib.rs - (line 5) - compile ... ok test src/text_domain.rs - text_domain::TextDomain (line 124) - compile ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-gettext-rs-devel-0.7.1-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/gettext-rs-0.7.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/gettext-rs-0.7.1/LICENSE.txt warning: File listed twice: /usr/share/cargo/registry/gettext-rs-0.7.1/README.md Provides: crate(gettext-rs) = 0.7.1 rust-gettext-rs-devel = 0.7.1-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(gettext-sys/default) >= 0.21.0 crate(locale_config/default) >= 0.3.0 Processing files: rust-gettext-rs+default-devel-0.7.1-2.mga10.noarch Provides: crate(gettext-rs/default) = 0.7.1 rust-gettext-rs+default-devel = 0.7.1-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(gettext-rs) = 0.7.1 Processing files: rust-gettext-rs+gettext-system-devel-0.7.1-2.mga10.noarch Provides: crate(gettext-rs/gettext-system) = 0.7.1 rust-gettext-rs+gettext-system-devel = 0.7.1-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(gettext-rs) = 0.7.1 crate(gettext-sys/gettext-system) >= 0.21.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-gettext-rs+default-devel-0.7.1-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-gettext-rs+gettext-system-devel-0.7.1-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-gettext-rs-devel-0.7.1-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Q0VtdF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-gettext-rs-0.7.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/gettext-rs-0.7.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/gettext-rs-0.7.1/LICENSE.txt File listed twice: /usr/share/cargo/registry/gettext-rs-0.7.1/README.md D: [iurt_root_command] Success!