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 noarch --nodeps /builddir/build/SPECS/rpmdevtools.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69063-3993/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rpmdevtools.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rpmdevtools-9.6-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpmdevtools.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69063-3993/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpmdevtools.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ytw7HG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmdevtools-9.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpmdevtools-9.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmdevtools-9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Force-legacy-datestamp-while-RHBZ-1715412-is-still-a.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + grep -rlF '/usr/bin/python ' . + xargs sed -i 's|/usr/bin/python |/usr/bin/python3 |' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RaD2uZ + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpmdevtools-9.6 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for a sed that does not truncate output... /usr/bin/sed checking for help2man... /usr/bin/help2man checking for pod2man... /usr/bin/pod2man checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating emacs/Makefile config.status: creating qa-robot/Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/sed -e 's|__SYSCONFDIR__|/etc|g' rpmdev-rmdevelrpms.py > rpmdev-rmdevelrpms chmod +x rpmdev-rmdevelrpms /usr/bin/sed -e 's|__SYSCONFDIR__|/etc|g' rpmdev-newinit.in > rpmdev-newinit case "rpmdev-newinit rpmdev-newspec rpmdev-rmdevelrpms" in *rpmdev-newinit*) chmod +x rpmdev-newinit ;; esac Making all in emacs /usr/bin/sed -e 's|__SYSCONFDIR__|/etc|g' rpmdev-newspec.in > rpmdev-newspec case "rpmdev-newinit rpmdev-newspec rpmdev-rmdevelrpms" in *rpmdev-newspec*) chmod +x rpmdev-newspec ;; esac /usr/bin/sed -e 's|__SYSCONFDIR__|/etc|g' rpmdevtools.bash-completion.in > rpmdevtools.bash-completion case "rpmdev-newinit rpmdev-newspec rpmdev-rmdevelrpms" in *rpmdevtools.bash-completion*) chmod +x rpmdevtools.bash-completion ;; esac make[1]: Nothing to be done for 'all'. Making all in qa-robot make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/sed -e 's|__PKGDATADIR__|/usr/share/rpmdevtools|g' rpmargs.in > rpmargs chmod +x rpmargs make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/sed -e 's|__PKGDATADIR__|/usr/share/rpmdevtools|g' rpmsodiff.in > rpmsodiff chmod +x rpmsodiff make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/sed -e 's|__PKGDATADIR__|/usr/share/rpmdevtools|g' rpmpeek.in > rpmpeek chmod +x rpmpeek make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/sed -e 's|__PKGDATADIR__|/usr/share/rpmdevtools|g' tmpdir.sh.in > tmpdir.sh chmod +x tmpdir.sh make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/sed -e 's|__PKGDATADIR__|/usr/share/rpmdevtools|g' trap.sh.in > trap.sh chmod +x trap.sh make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' PATH=".:$PATH" COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v -v rpmdev-extract -o rpmdev-extract.1 PATH=".:$PATH" COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v -v rpmdev-packager -o rpmdev-packager.1 PATH=".:$PATH" COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v -v rpmdev-diff -o rpmdev-diff.1 PATH=".:$PATH" COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v -v rpmdev-newspec -o rpmdev-newspec.1 PATH=".:$PATH" COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v -v rpmdev-newinit -o rpmdev-newinit.1 make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/pod2man --release "rpmdevtools 9.6" --center "" rpmelfsym rpmelfsym.1 make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2man line 17. BEGIN failed--compilation aborted at /usr/bin/pod2man line 17. make[1]: *** [Makefile:581: rpmelfsym.1] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/pod2man --release "rpmdevtools 9.6" --center "" rpmfile rpmfile.1 make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2man line 17. BEGIN failed--compilation aborted at /usr/bin/pod2man line 17. make[1]: *** [Makefile:581: rpmfile.1] Error 2 make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/pod2man --release "rpmdevtools 9.6" --center "" rpmpeek rpmpeek.1 make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2man line 17. BEGIN failed--compilation aborted at /usr/bin/pod2man line 17. make[1]: *** [Makefile:581: rpmpeek.1] Error 2 make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/pod2man --release "rpmdevtools 9.6" --center "" rpmargs rpmargs.1 make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2man line 17. BEGIN failed--compilation aborted at /usr/bin/pod2man line 17. make[1]: *** [Makefile:581: rpmargs.1] Error 2 make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/pod2man --release "rpmdevtools 9.6" --center "" rpmsoname rpmsoname.1 make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2man line 17. BEGIN failed--compilation aborted at /usr/bin/pod2man line 17. make[1]: *** [Makefile:581: rpmsoname.1] Error 2 make[1]: Entering directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' /usr/bin/pod2man --release "rpmdevtools 9.6" --center "" rpmsodiff rpmsodiff.1 make[1]: Leaving directory '/builddir/build/BUILD/rpmdevtools-9.6/qa-robot' Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm line 4. Compilation failed in require at /usr/lib64/perl5/vendor_perl/File/Spec.pm line 21. Compilation failed in require at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Pod/Usage.pm line 19. Compilation failed in require at /usr/bin/pod2man line 17. BEGIN failed--compilation aborted at /usr/bin/pod2man line 17. make[1]: *** [Makefile:581: rpmsodiff.1] Error 2 make: *** [Makefile:592: all-recursive] Error 1 make: *** Waiting for unfinished jobs.... COLUMNS=1000 /usr/bin/help2man -s 8 -N ./rpmdev-rmdevelrpms -o rpmdev-rmdevelrpms.8 PATH=".:$PATH" COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v -v rpmdev-bumpspec -o rpmdev-bumpspec.1 COLUMNS=1000 /usr/bin/help2man -s 1 -N -h -h -v --version ./rpmdev-spectool -o rpmdev-spectool.1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.RaD2uZ (%build) Bad exit status from /var/tmp/rpm-tmp.RaD2uZ (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpmdevtools.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpmdevtools.spec