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/mxml.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-83685-57221/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/mxml.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/mxml-3.3.1-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 /builddir/build/SPECS/mxml.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-83685-57221/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 /builddir/build/SPECS/mxml.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.NhOF0r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mxml-3.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v3.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mxml-3.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4PozIm + 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 mxml-3.3.1 + '[' '-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 --- ./configure.backup 2022-07-25 20:56:27.000000000 +0800 +++ ./configure 2024-07-25 18:26:44.947882830 +0800 @@ -1639,7 +1639,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu 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 the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for cp... /usr/bin/cp checking for ldconfig... /usr/sbin/ldconfig checking for ln... /usr/bin/ln checking for mkdir... /usr/bin/mkdir checking for rm... /usr/bin/rm checking for inline... inline checking for strdup... yes checking for strlcat... yes checking for strlcpy... yes checking for snprintf... yes checking for vasprintf... yes checking for vsnprintf... yes checking for unsigned long long int... yes checking for long long int... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for pthread.h... yes checking for pthread_create using -lpthreads... no checking for pthread_create using -lpthread... yes checking for shared library support... yes checking whether compiler supports -Wno-char-subscripts... yes checking whether compiler supports -Wno-format-truncation... yes checking whether compiler supports -Wno-format-y2k... yes checking whether compiler supports -Wno-switch... yes checking whether compiler supports -Wno-unused-result... yes configure: creating ./config.status config.status: creating Makefile config.status: creating mxml.pc config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j32 Compiling mxml-attr.c Compiling mxml-entity.c Compiling mxml-file.c Compiling mxml-get.c Compiling mxml-index.c Compiling mxml-node.c Compiling mxml-search.c Compiling mxml-set.c Compiling mxml-private.c Compiling mxml-string.c Compiling testmxml.c Creating libmxml.so.1.6... Creating libmxml.a... a - mxml-attr.o a - mxml-entity.o a - mxml-file.o a - mxml-get.o a - mxml-index.o a - mxml-node.o a - mxml-search.o a - mxml-set.o a - mxml-private.o a - mxml-string.o Linking testmxml... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.udjYwz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 + cd mxml-3.3.1 + rm -rf /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 + make BUILDROOT=/builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 install Installing libmxml.so to /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/lib64... Installing libmxml.a to /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/lib64... Installing documentation in /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml... Installing header files in /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/include... Installing pkgconfig files in /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/lib64/pkgconfig... Installing man pages in /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/man... + rm /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/lib64/libmxml.a + rm -rf /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml/ + rm -f '/builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/man/cat*/*' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.3.1-1.oc9 --unique-debug-suffix -3.3.1-1.oc9.x86_64 --unique-debug-src-base mxml-3.3.1-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/mxml-3.3.1 extracting debug info from /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/lib64/libmxml.so.1.6 345 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: mxml-3.3.1-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.19gte8 + umask 022 + cd /builddir/build/BUILD + cd mxml-3.3.1 + DOCDIR=/builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml + cp -pr README.md /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BwxqLF + umask 022 + cd /builddir/build/BUILD + cd mxml-3.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/licenses/mxml + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/licenses/mxml + cp -pr LICENSE /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/licenses/mxml + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmxml.so.1()(64bit) mxml = 3.3.1-1.oc9 mxml(x86-64) = 3.3.1-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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) rtld(GNU_HASH) Processing files: mxml-devel-3.3.1-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P5YYfx + umask 022 + cd /builddir/build/BUILD + cd mxml-3.3.1 + DOCDIR=/builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml-devel + cp -pr CHANGES.md /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml-devel + cp -pr doc/mxml.html /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml-devel + cp -pr doc/mxml-128.png doc/mxml-cover.png doc/mxml.png /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64/usr/share/doc/mxml-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: mxml-devel = 3.3.1-1.oc9 mxml-devel(x86-64) = 3.3.1-1.oc9 pkgconfig(mxml) = 3.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libmxml.so.1()(64bit) Processing files: mxml-debugsource-3.3.1-1.oc9.x86_64 Provides: mxml-debugsource = 3.3.1-1.oc9 mxml-debugsource(x86-64) = 3.3.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mxml-debuginfo-3.3.1-1.oc9.x86_64 Provides: debuginfo(build-id) = 67260a5d575f7643cec88d8ef92fcae48c89db37 libmxml.so.1.6-3.3.1-1.oc9.x86_64.debug()(64bit) mxml-debuginfo = 3.3.1-1.oc9 mxml-debuginfo(x86-64) = 3.3.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mxml-debugsource(x86-64) = 3.3.1-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mxml-3.3.1-1.oc9.x86_64 Wrote: /builddir/build/RPMS/mxml-3.3.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mxml-debuginfo-3.3.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mxml-debugsource-3.3.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mxml-devel-3.3.1-1.oc9.x86_64.rpm Child return code was: 0