Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/liblockfile.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722915908.486912/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/liblockfile-1.14-9.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/liblockfile.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722915908.486912/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/liblockfile-1.14-9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/liblockfile.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1722915908.486912/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qhOjyh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf liblockfile + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/liblockfile_1.14.orig.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liblockfile + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/-g root//' Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oTKluI + umask 022 + cd /builddir/build/BUILD + cd liblockfile + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-openEuler-linux-gnu --host=aarch64-openEuler-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 --prefix=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 --bindir=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin --mandir=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/man --libdir=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64 --includedir=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/include configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-openEuler-linux-gnu-gcc... no checking for 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 + make gcc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin/dotlockfile\" \ -c lockfile.c lockfile.c: In function 'lockfile_create_save_tmplock': lockfile.c:332:23: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | (void)link(tmplock, lockfile); | ^~~~~~~~~~~~~~~~~~~~~~~ lockfile.c: In function 'lockfile_create_save_tmplock.constprop': lockfile.c:277:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 17 and 23 [-Wformat-truncation=] 277 | snprintf(p, TMPLOCKFILENAMESZ, "%s%0*d%0*x%s", TMPLOCKSTR, | ^~ ...... 280 | sysname); | ~~~~~~~ In file included from /usr/include/stdio.h:964, from lockfile.c:24: In function 'snprintf', inlined from 'lockfile_create_save_tmplock.constprop' at lockfile.c:277:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 10 and 271 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ar rv liblockfile.a lockfile.o ar: creating liblockfile.a a - lockfile.o gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -fPIC -shared -Wl,-soname,liblockfile.so.1 \ -o liblockfile.so lockfile.o -lc gcc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c -o dotlockfile.o dotlockfile.c dotlockfile.c: In function 'ismaillock': dotlockfile.c:129:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 129 | strncpy(tmp, lockfile, len - 5); | ^ dotlockfile.c:126:15: note: length computed here 126 | len = strlen(lockfile); | ^~~~~~~~~~~~~~~~ gcc -O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c lockfile.c -o xlockfile.o lockfile.c: In function 'lockfile_create_save_tmplock': lockfile.c:332:23: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result] 332 | (void)link(tmplock, lockfile); | ^~~~~~~~~~~~~~~~~~~~~~~ lockfile.c:277:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 17 and 23 [-Wformat-truncation=] 277 | snprintf(p, TMPLOCKFILENAMESZ, "%s%0*d%0*x%s", TMPLOCKSTR, | ^~ ...... 280 | sysname); | ~~~~~~~ In file included from /usr/include/stdio.h:964, from lockfile.c:24: In function 'snprintf', inlined from 'lockfile_create_save_tmplock' at lockfile.c:277:2: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 10 and 271 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -o dotlockfile dotlockfile.o xlockfile.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ibzcf4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 ++ dirname /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 + cd liblockfile + export DESTDIR=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 + DESTDIR=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 + make install install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/include install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/man/man1 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/man/man3 install -m 644 lockfile.h maillock.h /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/include if [ "" != "" ]; then\ install -g -m 2755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin;\ else \ install -m 755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin; \ fi install -m 644 *.1 /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/man/man1 install -m 644 *.3 /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/man/man3 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64 install -m 644 liblockfile.a /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64 install -m 755 liblockfile.so \ /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64/liblockfile.so.1.0 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64/liblockfile.so.1 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64/liblockfile.so if test "/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64" = ""; then /usr/sbin/ldconfig; fi + ldconfig -N -n /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64//usr/lib64 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.14-9 --unique-debug-suffix -1.14-9.aarch64 --unique-debug-src-base liblockfile-1.14-9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/liblockfile explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin/dotlockfile explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64/liblockfile.so.1.0 extracting debug info from /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/bin/dotlockfile extracting debug info from /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/lib64/liblockfile.so.1.0 44 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: liblockfile-1.14-9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Cgq1gj + umask 022 + cd /builddir/build/BUILD + cd liblockfile + DOCDIR=/builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/doc/liblockfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/doc/liblockfile + cp -pr README /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/doc/liblockfile + cp -pr COPYRIGHT /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/doc/liblockfile + cp -pr Changelog /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64/usr/share/doc/liblockfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: liblockfile = 1.14-9 liblockfile(aarch-64) = 1.14-9 liblockfile.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: liblockfile-devel-1.14-9.aarch64 Provides: liblockfile-devel = 1.14-9 liblockfile-devel(aarch-64) = 1.14-9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: liblockfile-debuginfo-1.14-9.aarch64 Provides: liblockfile-debuginfo = 1.14-9 liblockfile-debuginfo(aarch-64) = 1.14-9 liblockfile.so.1.0-1.14-9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: liblockfile-debugsource(aarch-64) = 1.14-9 Processing files: liblockfile-debugsource-1.14-9.aarch64 Provides: liblockfile-debugsource = 1.14-9 liblockfile-debugsource(aarch-64) = 1.14-9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 Wrote: /builddir/build/RPMS/liblockfile-devel-1.14-9.aarch64.rpm Wrote: /builddir/build/RPMS/liblockfile-debugsource-1.14-9.aarch64.rpm Wrote: /builddir/build/RPMS/liblockfile-debuginfo-1.14-9.aarch64.rpm Wrote: /builddir/build/RPMS/liblockfile-1.14-9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bgdPdY + umask 022 + cd /builddir/build/BUILD + cd liblockfile + /usr/bin/rm -rf /builddir/build/BUILDROOT/liblockfile-1.14-9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Q4PW8e + umask 022 + cd /builddir/build/BUILD + rm -rf liblockfile liblockfile.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0