Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/atasm.spec'], chrootPath='/var/lib/mock/f31-build-75328-31239/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/atasm.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 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/atasm-1.08-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atasm.spec'], chrootPath='/var/lib/mock/f31-build-75328-31239/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atasm.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 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ZJ3nB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atasm + /usr/bin/bzip2 -dc /builddir/build/SOURCES/atasm-svn100.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd atasm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.boHyYD + umask 022 + cd /builddir/build/BUILD + cd atasm + pushd src + make -j4 '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 -DZLIB_CAPABLE -DUNIX' BUILDSTDERR: symbol.c: In function 'isUnk': BUILDSTDERR: symbol.c:79:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] BUILDSTDERR: 79 | snprintf(buf,256,"=%.4x_%s=%s",invoked->orig->times,invoked->orig->name,unk); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from symbol.c:41: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: setparse.c: In function 'get_signed_expression': BUILDSTDERR: setparse.c:289:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 240 [-Wformat-truncation=] BUILDSTDERR: 289 | snprintf(buf,256,"Unknown symbol '%s'",work); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from setparse.c:28: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 273 bytes into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: setparse.c:199:44: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 241 [-Wformat-truncation=] BUILDSTDERR: 199 | snprintf(buf,256,"Interpreting '$%s' as hex value '$%x'",work,sym->addr); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: setparse.c:199:28: note: directive argument in the range [0, 65535] BUILDSTDERR: 199 | snprintf(buf,256,"Interpreting '$%s' as hex value '$%x'",work,sym->addr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from setparse.c:28: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 293 bytes into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: symbol.c: In function 'addUnk': BUILDSTDERR: symbol.c:152:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] BUILDSTDERR: 152 | snprintf(buf,256,"=%.4x_%s=%s",invoked->orig->times,invoked->orig->name,unk); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from symbol.c:41: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: symbol.c: In function 'findsym': BUILDSTDERR: symbol.c:292:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] BUILDSTDERR: 292 | snprintf(buf,256,"=%.4x_%s=%s",stack->orig->times,stack->orig->name,name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from symbol.c:41: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: symbol.c: In function 'macro_subst': BUILDSTDERR: symbol.c:646:61: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 226 [-Wformat-truncation=] BUILDSTDERR: 646 | snprintf(buf,256,"Reference to undefined label '%s' in macro",num); BUILDSTDERR: | ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from symbol.c:41: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 41 and 296 bytes into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from asm.c:127: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'put_float' at asm.c:700:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 2 bytes from a string of length 63 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + sed -e 's|%DOCDIR%|/usr/share/doc/atasm|g' atasm.1.in + popd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ~/build/BUILD/atasm/src ~/build/BUILD/atasm 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 -DZLIB_CAPABLE -DUNIX -c asm.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 -DZLIB_CAPABLE -DUNIX -c symbol.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 -DZLIB_CAPABLE -DUNIX -c parser.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 -DZLIB_CAPABLE -DUNIX -c setparse.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 -DZLIB_CAPABLE -DUNIX -c state.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 -DZLIB_CAPABLE -DUNIX -c dimage.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 -DZLIB_CAPABLE -DUNIX -c inc_path.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 -DZLIB_CAPABLE -DUNIX -c crc32.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 -DZLIB_CAPABLE -DUNIX -c atasm_err.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 -DZLIB_CAPABLE -DUNIX -c state2.c gcc -o atasm asm.o symbol.o parser.o setparse.o state.o dimage.o inc_path.o crc32.o atasm_err.o state2.o -lz ~/build/BUILD/atasm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iQpcIA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64 + cd atasm + mkdir -p /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/man/man1 + pushd src + install -p -m 755 atasm /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/bin + install -p -m 644 atasm.1 /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/man/man1 + popd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.08-3.fc31 --unique-debug-suffix -1.08-3.fc31.riscv64 --unique-debug-src-base atasm-1.08-3.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atasm BUILDSTDERR: 361 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs ~/build/BUILD/atasm/src ~/build/BUILD/atasm ~/build/BUILD/atasm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/bin/atasm extracting debug info from /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/bin/atasm original debug info size: 316kB, size after compression: 296kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Z979eA Processing files: atasm-1.08-3.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.na7EHA + umask 022 + cd /builddir/build/BUILD + cd atasm + DOCDIR=/builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/doc/atasm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/doc/atasm + cp -pr LICENSE /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/doc/atasm + cp -pr VERSION.TXT /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/doc/atasm + cp -pr atasm.blurb /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/doc/atasm + cp -pr atasm.txt /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64/usr/share/doc/atasm + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: atasm = 1.08-3.fc31 atasm(riscv-64) = 1.08-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: atasm-debugsource-1.08-3.fc31.riscv64 Provides: atasm-debugsource = 1.08-3.fc31 atasm-debugsource(riscv-64) = 1.08-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: atasm-debuginfo-1.08-3.fc31.riscv64 Provides: atasm-debuginfo = 1.08-3.fc31 atasm-debuginfo(riscv-64) = 1.08-3.fc31 debuginfo(build-id) = 00643d0c03bcdf57949f4fb4430cacdafe92b6c1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: atasm-debugsource(riscv-64) = 1.08-3.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64 Wrote: /builddir/build/RPMS/atasm-1.08-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/atasm-debugsource-1.08-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/atasm-debuginfo-1.08-3.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WIkGMC + umask 022 + cd /builddir/build/BUILD + cd atasm + /usr/bin/rm -rf /builddir/build/BUILDROOT/atasm-1.08-3.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0