Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/atasm.spec'], chrootPath='/var/lib/mock/f40-build-771822-126039/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1704067200 Wrote: /builddir/build/SRPMS/atasm-1.23-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atasm.spec'], chrootPath='/var/lib/mock/f40-build-771822-126039/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1704067200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.22NWbk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atasm-1.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/atasm-1.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd atasm-1.23 + rm -rf /builddir/build/BUILD/atasm-1.23-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/atasm-1.23-SPECPARTS + /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.elCjYd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS ~/build/BUILD/atasm-1.23/src ~/build/BUILD/atasm-1.23 + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd atasm-1.23 + pushd src + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX' 'L=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lz' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c parser.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c setparse.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c state.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c inc_path.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c crc32.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c atasm_err.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c dimage.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c state2.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c symbol.c symbol.c: In function ‘isUnk’: symbol.c:82:54: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 82 | snprintf(buf, 256, "=%.4x_%s=%s", invoked->orig->times, invoked->orig->name, unk); | ^~ In file included from /usr/include/stdio.h:980, from symbol.c:41: In function ‘snprintf’, inlined from ‘isUnk’ at symbol.c:82:4: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ symbol.c: In function ‘addUnk’: symbol.c:156:54: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 156 | snprintf(buf, 256, "=%.4x_%s=%s", invoked->orig->times, invoked->orig->name, unk); | ^~ In function ‘snprintf’, inlined from ‘addUnk’ at symbol.c:156:4: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ symbol.c: In function ‘findsym’: symbol.c:303:54: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=] 303 | snprintf(buf, 256, "=%.4x_%s=%s", stack->orig->times, stack->orig->name, name); | ^~ In function ‘snprintf’, inlined from ‘findsym’ at symbol.c:303:4: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from symbol.c:43: In function ‘strncpy’, inlined from ‘dump_c_header’ at symbol.c:662:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ symbol.c: In function ‘macro_subst’: symbol.c:1077:99: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 226 [-Wformat-truncation=] 1077 | snprintf(buf, 256, "Reference to undefined label '%s' in macro", num); | ^~ ~~~ In function ‘snprintf’, inlined from ‘macro_subst’ at symbol.c:1077:7: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 41 and 296 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DZLIB_CAPABLE -DUNIX -c asm.c asm.c: In function ‘aprintf’: asm.c:555:25: warning: ‘__builtin_strncpy’ output may be truncated copying 2 bytes from a string of length 508 [-Wstringop-truncation] 555 | strncpy(buf, line + 3, 2); | ^ asm.c: In function ‘do_xbyte’: asm.c:1664:49: warning: array subscript -1 is below array bounds of ‘char[256]’ [-Warray-bounds=] 1664 | if ((d>255)||(((d<0)||(buf[0]!='"'))&&(buf[d]!='"'))|| | ~~~^~~ asm.c:1616:8: note: while referencing ‘buf’ 1616 | char buf[256]; | ^~~ 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lz + sed -e 's|\%\%DOCDIR\%\%|/usr/share/doc/atasm|g' atasm.1.in + popd ~/build/BUILD/atasm-1.23 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fkjDQW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd atasm-1.23 + mkdir -p /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/man/man1 + pushd src ~/build/BUILD/atasm-1.23/src ~/build/BUILD/atasm-1.23 + install -p -m 755 atasm /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/bin + install -p -m 644 atasm.1 /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/man/man1 + popd ~/build/BUILD/atasm-1.23 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.23-1.fc40 --unique-debug-suffix -1.23-1.fc40.riscv64 --unique-debug-src-base atasm-1.23-1.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atasm-1.23 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/atasm-1.23-1.fc40.riscv64 467 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uJ6ZCQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS ~/build/BUILD/atasm-1.23/tests ~/build/BUILD/atasm-1.23 + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd atasm-1.23 + pushd tests + make test Test 1: raw output mode -------- cd ../tests && ../src/atasm -v -r testraw.m65 && echo " -- 1 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 6 bytes (~0k) 00:F0 AA 55 .byte $AA, $55 00:FF FF FF .byte $FF, $FF FE:FF 55 AA .byte $55, $AA -- 1 OK Writing raw binary image: f000-ffff Compiled to binary file 'testraw.bin' Memory Map ---------- $f000-$f001 CODE $ff00-$ff01 CODE Test 2: bad -o option -------- cd ../tests && ../src/atasm -v -r -o testraw.m65 || echo " -- 2 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Must specify output file for -o (example: -omyprog.bin) -- 2 OK Test 3: correct -o option -------- cd ../tests && ../src/atasm -v -r -otestraw.bin testraw.m65 && echo " -- 3 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 6 bytes (~0k) 00:F0 AA 55 .byte $AA, $55 00:FF FF FF .byte $FF, $FF FE:FF 55 AA .byte $55, $AA -- 3 OK Writing raw binary image: f000-ffff Compiled to binary file 'testraw.bin' Memory Map ---------- $f000-$f001 CODE $ff00-$ff01 CODE Test 4: missing -u option -------- cd ../tests && ../src/atasm -v -r -otestu.bin testu.m65 || echo " -- 4 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Error: testu.m65:4: 6502 `illegal' opcode used without `.OPT ILL' or -u -- 4 OK Test 5: correct -u option -------- cd ../tests && ../src/atasm -v -r -u -otestu.bin testu.m65 && echo " -- 5 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 -- 5 OK Writing raw binary image: f000-f004 Compiled to binary file 'testu.bin' Memory Map ---------- $f000-$f004 CODE Test 6: missing -u option, but .OPT ILL in code -------- cd ../tests && ../src/atasm -v -r -otestill.bin testill.m65 && echo " -- 6 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Warning: testill.m65:3: .OPT ILL encountered (code would not compile on MAC/65) Success. (1 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 -- 6 OK Writing raw binary image: f000-f004 Compiled to binary file 'testill.bin' Memory Map ---------- $f000-$f004 CODE Test 7: correct -u option, *and* .OPT ILL in code -------- cd ../tests && ../src/atasm -v -r -otestill.bin testill.m65 && echo " -- 7 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Warning: testill.m65:3: .OPT ILL encountered (code would not compile on MAC/65) Success. (1 warnings) Pass 2: Assembly successful Compiled 5 bytes (~0k) 00:F0 98 TYA 01:F0 0B 19 ANC #25 03:F0 6B 19 ARR #25 -- 7 OK Writing raw binary image: f000-f004 Compiled to binary file 'testill.bin' Memory Map ---------- $f000-$f004 CODE Test 8: missing -dfoo=1 on the command line -------- cd ../tests && ../src/atasm -v -r -otestdfoo.bin testdfoo.m65 || echo " -- 8 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Equates: Symbol table: Pass 1: Success. (0 warnings) Pass 2: Error: testdfoo.m65:3: Unknown symbol 'FOO' -- 8 OK Test 9: correct -dfoo=1 on the command line -------- cd ../tests && ../src/atasm -v -r -dFOO=1 -otestdfoo.bin testdfoo.m65 && echo " -- 9 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 1 bytes (~0k) 00:F0 01 .byte foo -- 9 OK Writing raw binary image: f000-f000 Compiled to binary file 'testdfoo.bin' Memory Map ---------- $f000-$f000 CODE Test 10: correct -dfoo=1+1 on the command line -------- cd ../tests && ../src/atasm -v -r -dFOO=1+1 -otestdfoo.bin testdfoo.m65 && echo " -- 10 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Success. (0 warnings) Pass 2: Assembly successful Compiled 1 bytes (~0k) 00:F0 02 .byte foo -- 10 OK Writing raw binary image: f000-f000 Compiled to binary file 'testdfoo.bin' Memory Map ---------- $f000-$f000 CODE Test 11: bad .pseudoop in source code. -------- cd ../tests && ../src/atasm -v -r -otestunkn.bin testunkn.m65 || echo " -- 11 OK" ATasm 1.23 (A mostly Mac65 compatible 6502 cross-assembler) Pass 1: Error: testunkn.m65:2: Illegal label name, must start with '@','?', or a letter. -- 11 OK + popd ~/build/BUILD/atasm-1.23 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: atasm-1.23-1.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3ZK5Sn + umask 022 + cd /builddir/build/BUILD + cd atasm-1.23 + DOCDIR=/builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/doc/atasm + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/doc/atasm + cp -pr /builddir/build/BUILD/atasm-1.23/VERSION.TXT /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/doc/atasm + cp -pr /builddir/build/BUILD/atasm-1.23/README.md /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/doc/atasm + cp -pr /builddir/build/BUILD/atasm-1.23/docs/atasm.blurb /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/doc/atasm + cp -pr /builddir/build/BUILD/atasm-1.23/docs/atasm.txt /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/doc/atasm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nrKtD4 + umask 022 + cd /builddir/build/BUILD + cd atasm-1.23 + LICENSEDIR=/builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/licenses/atasm + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/licenses/atasm + cp -pr /builddir/build/BUILD/atasm-1.23/LICENSE /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64/usr/share/licenses/atasm + RPM_EC=0 ++ jobs -p + exit 0 Provides: atasm = 1.23-1.fc40 atasm(riscv-64) = 1.23-1.fc40 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) libc.so.6(GLIBC_2.34)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: atasm-debugsource-1.23-1.fc40.riscv64 Provides: atasm-debugsource = 1.23-1.fc40 atasm-debugsource(riscv-64) = 1.23-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: atasm-debuginfo-1.23-1.fc40.riscv64 Provides: atasm-debuginfo = 1.23-1.fc40 atasm-debuginfo(riscv-64) = 1.23-1.fc40 debuginfo(build-id) = 3840022058ceea21703557f1d62a9e67b143cb7f 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.23-1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64 Wrote: /builddir/build/RPMS/atasm-1.23-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/atasm-debuginfo-1.23-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/atasm-debugsource-1.23-1.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vNkWQ7 + umask 022 + cd /builddir/build/BUILD + cd atasm-1.23 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atasm-1.23-1.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cT2ioI + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/atasm-1.23-SPECPARTS + rm -rf atasm-1.23 atasm-1.23.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0