Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/liblockfile.spec'], chrootPath='/var/lib/mock/f29-build-1362-517/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/liblockfile-1.14-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liblockfile.spec'], chrootPath='/var/lib/mock/f29-build-1362-517/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RDRsgt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf liblockfile + /usr/bin/gzip -dc /builddir/build/SOURCES/liblockfile_1.14.orig.tar.gz + /usr/bin/tar -xof - + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ak9m4O + umask 022 + cd /builddir/build/BUILD + cd liblockfile + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-1.fc29.riscv64 --bindir=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/bin --mandir=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/man --libdir=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64 --includedir=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/include BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/bin/dotlockfile\" \ -c lockfile.c BUILDSTDERR: lockfile.c: In function 'lockfile_create_save_tmplock': BUILDSTDERR: lockfile.c:332:9: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)link(tmplock, lockfile); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lockfile.c: In function 'lockfile_create_save_tmplock.constprop': BUILDSTDERR: lockfile.c:277:44: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 17 and 23 [-Wformat-truncation=] BUILDSTDERR: snprintf(p, TMPLOCKFILENAMESZ, "%s%0*d%0*x%s", TMPLOCKSTR, BUILDSTDERR: ^~ BUILDSTDERR: lockfile.c:280:4: BUILDSTDERR: sysname); BUILDSTDERR: ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from lockfile.c:24: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 271 bytes into a destination of size 32 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rv liblockfile.a lockfile.o BUILDSTDERR: ar: creating liblockfile.a a - lockfile.o gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC -shared -Wl,-soname,liblockfile.so.1 \ -o liblockfile.so lockfile.o -lc gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c -o dotlockfile.o dotlockfile.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -c lockfile.c -o xlockfile.o BUILDSTDERR: lockfile.c: In function 'lockfile_create_save_tmplock': BUILDSTDERR: lockfile.c:332:9: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)link(tmplock, lockfile); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lockfile.c:277:44: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 17 and 23 [-Wformat-truncation=] BUILDSTDERR: snprintf(p, TMPLOCKFILENAMESZ, "%s%0*d%0*x%s", TMPLOCKSTR, BUILDSTDERR: ^~ BUILDSTDERR: lockfile.c:280:4: BUILDSTDERR: sysname); BUILDSTDERR: ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from lockfile.c:24: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 271 bytes into a destination of size 32 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dotlockfile dotlockfile.o xlockfile.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oijA8l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 + cd liblockfile + export DESTDIR=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 + DESTDIR=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 + make install install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/include install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/bin install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/man/man1 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/man/man3 install -m 644 lockfile.h maillock.h /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/include if [ "" != "" ]; then\ install -g -m 2755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/bin;\ else \ install -m 755 dotlockfile /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/bin; \ fi install -m 644 *.1 /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/man/man1 install -m 644 *.3 /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/man/man3 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64 install -m 644 liblockfile.a /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64 install -d -m 755 -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64 install -m 755 liblockfile.so \ /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64/liblockfile.so.1.0 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64/liblockfile.so.1 ln -s liblockfile.so.1.0 /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/lib64/liblockfile.so if test "/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64" = ""; then /usr/sbin/ldconfig; fi + ldconfig -N -n /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64//usr/lib64 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: liblockfile-1.14-1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4bdFys + umask 022 + cd /builddir/build/BUILD + cd liblockfile + DOCDIR=/builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/doc/liblockfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/doc/liblockfile + cp -pr README /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/doc/liblockfile + cp -pr COPYRIGHT /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/doc/liblockfile + cp -pr Changelog /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64/usr/share/doc/liblockfile + exit 0 Provides: liblockfile = 1.14-1.fc29 liblockfile(riscv-64) = 1.14-1.fc29 liblockfile.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: liblockfile-devel-1.14-1.fc29.riscv64 Provides: liblockfile-devel = 1.14-1.fc29 liblockfile-devel(riscv-64) = 1.14-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: liblockfile.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 Wrote: /builddir/build/RPMS/liblockfile-1.14-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/liblockfile-devel-1.14-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9jaFPb + umask 022 + cd /builddir/build/BUILD + cd liblockfile + /usr/bin/rm -rf /builddir/build/BUILDROOT/liblockfile-1.14-1.fc29.riscv64 + exit 0 Child return code was: 0