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/liblockfile.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-122928-8678/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=981gid=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/liblockfile.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/liblockfile-1.17-4.ocs23.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/liblockfile.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-122928-8678/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=981gid=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/liblockfile.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.ZNbLXD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf liblockfile-1.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/liblockfile_1.17.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liblockfile-1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -Ei '/install/ s/-g [^ ]+//' Makefile.in + sed -i -e '/^prefix/s,\$(DESTDIR),,' -e 's,\(\$(\(lib\|include\|man\|nfslock\|bin\)dir)\),$(DESTDIR)\1,' -e '/-DLOCKPROG/s,\$(DESTDIR),,' Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V82UQB + 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 liblockfile-1.17 + '[' '-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 2019-07-22 23:32:48.000000000 +0800 +++ ./configure 2024-01-29 23:31:23.554034282 +0800 @@ -1728,7 +1728,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 + '[' 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 --with-mailgroup configure: WARNING: unrecognized options: --disable-dependency-tracking 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build shared libs... yes checking build libnfslock... no checking for ldconfig... /usr/sbin/ldconfig checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for utime... yes checking for utimes... yes configure: creating ./config.status config.status: creating ./Makefile config.status: creating ./maillock.h config.status: creating autoconf.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLOCKPROG=\"/usr/bin/dotlockfile\" \ -c lockfile.c -o dlockfile.o gcc -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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLOCKPROG=\"/usr/bin/dotlockfile\" \ -c dotlockfile.c gcc -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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \ -c lockfile.c -o solockfile.o gcc -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 -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \ -DSTATIC -c lockfile.c ar rv liblockfile.a lockfile.o a - lockfile.o ar: creating liblockfile.a gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -fPIC -shared -Wl,-soname,liblockfile.so.1 \ -o liblockfile.so solockfile.o -lc gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o dotlockfile dotlockfile.o dlockfile.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dGnvEC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64 + cd liblockfile-1.17 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64 'INSTALL=/usr/bin/install -p' install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/include install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/bin install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/man/man1 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/man/man3 install -m 644 lockfile.h maillock.h /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/include if [ "mail" != "" ]; then\ install -m 2755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/bin;\ else \ install -m 755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/bin; \ fi install -m 644 *.1 /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/man/man1 install -m 644 *.3 /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/man/man3 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64 install -m 644 liblockfile.a /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64 install -m 755 liblockfile.so \ /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64/liblockfile.so.1.0 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64/liblockfile.so.1 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64/liblockfile.so if test "/builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64" = ""; then /usr/sbin/ldconfig; fi + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.17-4.ocs23 --unique-debug-suffix -1.17-4.ocs23.x86_64 --unique-debug-src-base liblockfile-1.17-4.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/liblockfile-1.17 extracting debug info from /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/bin/dotlockfile extracting debug info from /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/lib64/liblockfile.so.1.0 47 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: liblockfile-1.17-4.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.W0YDO2 + umask 022 + cd /builddir/build/BUILD + cd liblockfile-1.17 + DOCDIR=/builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + cp -pr README /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + cp -pr Changelog /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + cp -pr README /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + cp -pr COPYRIGHT /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + cp -pr Changelog /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/doc/liblockfile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0EIyqZ + umask 022 + cd /builddir/build/BUILD + cd liblockfile-1.17 + LICENSEDIR=/builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/licenses/liblockfile + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/licenses/liblockfile + cp -pr COPYRIGHT /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64/usr/share/licenses/liblockfile + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/doc/liblockfile/Changelog warning: File listed twice: /usr/share/doc/liblockfile/README Provides: liblockfile = 1.17-4.ocs23 liblockfile(x86-64) = 1.17-4.ocs23 liblockfile.so.1()(64bit) 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: liblockfile-devel-1.17-4.ocs23.x86_64 Provides: liblockfile-devel = 1.17-4.ocs23 liblockfile-devel(x86-64) = 1.17-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: liblockfile.so.1()(64bit) Processing files: liblockfile-debugsource-1.17-4.ocs23.x86_64 Provides: liblockfile-debugsource = 1.17-4.ocs23 liblockfile-debugsource(x86-64) = 1.17-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: liblockfile-debuginfo-1.17-4.ocs23.x86_64 Provides: debuginfo(build-id) = 0f00dd111b7bec93486645bd1d2aee688ee55e0b debuginfo(build-id) = da3652d1a070aee070f4ad1f7d17ccce5f7f107a liblockfile-debuginfo = 1.17-4.ocs23 liblockfile-debuginfo(x86-64) = 1.17-4.ocs23 liblockfile.so.1.0-1.17-4.ocs23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: liblockfile-debugsource(x86-64) = 1.17-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/liblockfile-1.17-4.ocs23.x86_64 Wrote: /builddir/build/RPMS/liblockfile-debugsource-1.17-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/liblockfile-devel-1.17-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/liblockfile-1.17-4.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/liblockfile-debuginfo-1.17-4.ocs23.x86_64.rpm RPM build warnings: File listed twice: /usr/share/doc/liblockfile/Changelog File listed twice: /usr/share/doc/liblockfile/README Child return code was: 0