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/patchelf.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-76878-52613/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/patchelf.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/patchelf-0.18.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/patchelf.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-76878-52613/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 -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/patchelf.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.UEbUBR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf patchelf-0.18.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/patchelf-0.18.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd patchelf-0.18.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm src/elf.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bK7ffz + 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 -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 -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 -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 -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,--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 patchelf-0.18.0 + '[' '-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 ']' + ./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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking for x86_64-opencloudos-linux-gnu-objcopy... no checking for objcopy... objcopy checking for x86_64-opencloudos-linux-gnu-readelf... no checking for readelf... readelf checking whether make supports the include directive... yes (GNU style) checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking dependency style of gcc... none checking whether g++ supports C++17 features with -std=c++17... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in src make[1]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0/src' g++ -std=c++17 -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.18.0\" -DPACKAGE_STRING=\"patchelf\ 0.18.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.18.0\" -DHAVE_CXX17=1 -I. -Wall -Wextra -Wcast-qual -std=c++17 -D_FILE_OFFSET_BITS=64 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o patchelf.o patchelf.cc make[1]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0/src' make[1]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0/src' g++ -std=c++17 -Wall -Wextra -Wcast-qual -std=c++17 -D_FILE_OFFSET_BITS=64 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1 -o patchelf patchelf.o make[1]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0/src' Making all in tests make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bak641 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64 + cd patchelf-0.18.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0/src' make[2]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/bin' /usr/bin/install -p patchelf '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0/src' make[1]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0/tests' make[2]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0/tests' make[1]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0' make[2]: Entering directory '/builddir/build/BUILD/patchelf-0.18.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/zsh/site-functions' /usr/bin/install -p -m 644 completions/zsh/_patchelf '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/zsh/site-functions' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/doc/patchelf' /usr/bin/install -p -m 644 README.md '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/doc/patchelf' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 patchelf.1 '/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0' make[1]: Leaving directory '/builddir/build/BUILD/patchelf-0.18.0' + rm -rf /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/doc/patchelf + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.18.0-1.oc9 --unique-debug-suffix -0.18.0-1.oc9.x86_64 --unique-debug-src-base patchelf-0.18.0-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/patchelf-0.18.0 extracting debug info from /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/bin/patchelf 210 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /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: patchelf-0.18.0-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.r9DJE1 + umask 022 + cd /builddir/build/BUILD + cd patchelf-0.18.0 + DOCDIR=/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/doc/patchelf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/doc/patchelf + cp -pr README.md /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/doc/patchelf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qC0V4U + umask 022 + cd /builddir/build/BUILD + cd patchelf-0.18.0 + LICENSEDIR=/builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/licenses/patchelf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/licenses/patchelf + cp -pr COPYING /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64/usr/share/licenses/patchelf + RPM_EC=0 ++ jobs -p + exit 0 Provides: patchelf = 0.18.0-1.oc9 patchelf(x86-64) = 0.18.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: patchelf-debugsource-0.18.0-1.oc9.x86_64 Provides: patchelf-debugsource = 0.18.0-1.oc9 patchelf-debugsource(x86-64) = 0.18.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: patchelf-debuginfo-0.18.0-1.oc9.x86_64 Provides: debuginfo(build-id) = 43c57df15dd9596c9aecd1d9bf8f434e0b1e45c3 patchelf-debuginfo = 0.18.0-1.oc9 patchelf-debuginfo(x86-64) = 0.18.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: patchelf-debugsource(x86-64) = 0.18.0-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/patchelf-0.18.0-1.oc9.x86_64 Wrote: /builddir/build/RPMS/patchelf-debugsource-0.18.0-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/patchelf-0.18.0-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/patchelf-debuginfo-0.18.0-1.oc9.x86_64.rpm Child return code was: 0