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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KB4Kdz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf asl-current + /usr/bin/bzip2 -dc /builddir/build/SOURCES/asl-current-142-bld134.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd asl-current + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (asl-Makefile.def.patch):' Patch #0 (asl-Makefile.def.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .m-def --fuzz=0 patching file Makefile.def + echo 'Patch #1 (asl-sysdefs.h.patch):' Patch #1 (asl-sysdefs.h.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sysdefs --fuzz=0 patching file sysdefs.h + echo 'Patch #2 (asl-install.sh.patch):' Patch #2 (asl-install.sh.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install --fuzz=0 patching file install.sh Hunk #2 succeeded at 77 (offset 4 lines). Patch #3 (asl-Makefile-DESTDIR.patch): + echo 'Patch #3 (asl-Makefile-DESTDIR.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .destdir --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dedSUw + umask 022 + cd /builddir/build/BUILD + cd asl-current + make '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 -fno-strict-aliasing' 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 -fno-strict-aliasing -DCHARSET_ISO8859_1 -DSTDINCLUDES=\"/usr/share/asl/include\" -DLIBDIR=\"/usr/share/asl/lib\" -c mkdepend.c In file included from datatypes.h:13, from stringlists.h:13, from mkdepend.c:6: sysdefs.h:1434:2: error: #error "your platform so far is not included in AS's header files!" 1434 | #error "your platform so far is not included in AS's header files!" | ^~~~~ sysdefs.h:1435:2: error: #error "please edit sysdefs.h!" 1435 | #error "please edit sysdefs.h!" | ^~~~~ In file included from stringlists.h:13, from mkdepend.c:6: datatypes.h:15:9: error: unknown type name 'Card8' 15 | typedef Card8 Byte; /* Integertypen */ | ^~~~~ datatypes.h:16:9: error: unknown type name 'Integ8' 16 | typedef Integ8 ShortInt; | ^~~~~~ datatypes.h:23:9: error: unknown type name 'Card32' 23 | typedef Card32 LongWord; | ^~~~~~ datatypes.h:24:9: error: unknown type name 'Integ32' 24 | typedef Integ32 LongInt; | ^~~~~~~ make: *** [Makefile:189: mkdepend.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dedSUw (%build) Bad exit status from /var/tmp/rpm-tmp.dedSUw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/asl.spec