rity -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 -c reader-lib.c -fPIC -DPIC -o .libs/reader-lib.o make[3]: Leaving directory '/builddir/build/BUILD/guile-reader-0.6.3/src' make[3]: Entering directory '/builddir/build/BUILD/guile-reader-0.6.3/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I/usr/include/guile/2.0 -Winline -Wdeclaration-after-statement -Wcast-align -Wpointer-arith -Wall -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 -c -o reader.lo reader.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I/usr/include/guile/2.0 -Winline -Wdeclaration-after-statement -Wcast-align -Wpointer-arith -Wall -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 -c reader.c -fPIC -DPIC -o .libs/reader.o make[3]: Leaving directory '/builddir/build/BUILD/guile-reader-0.6.3/src' reader.c: In function 'scm_c_make_reader': reader.c:1573:12: warning: cast increases required alignment of target type [-Wcast-align] 1573 | result = (struct scm_reader *)buffer; | ^ reader.c:1579:13: warning: cast increases required alignment of target type [-Wcast-align] 1579 | tr_copy = (scm_token_reader_spec_t *)(buffer + sizeof (*result)); | ^ make[3]: Entering directory '/builddir/build/BUILD/guile-reader-0.6.3/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I/usr/include/guile/2.0 -Winline -Wdeclaration-after-statement -Wcast-align -Wpointer-arith -Wall -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 -c -o token-readers.lo token-readers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I/usr/include/guile/2.0 -Winline -Wdeclaration-after-statement -Wcast-align -Wpointer-arith -Wall -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 -c token-readers.c -fPIC -DPIC -o .libs/token-readers.o make[3]: Leaving directory '/builddir/build/BUILD/guile-reader-0.6.3/src' make[2]: *** [Makefile:377: all] Error 2 make[1]: *** [Makefile:427: all-recursive] Error 1 make: *** [Makefile:357: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.C6q8sM (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.C6q8sM (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/guile-reader.spec