riscv64/usr/lib64 /bin/cp fitsio.h fitsio2.h longnam.h drvrsmem.h /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/include/cfitsio /bin/cp cfitsio.pc /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/lib64/pkgconfig /bin/cp fpack /usr/bin /bin/cp funpack /usr/bin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/bin/funpack explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/lib64/libcfitsio.so.7.3.47 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/bin/fpack extracting debug info from /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/lib64/libcfitsio.so.7.3.47 extracting debug info from /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/bin/funpack extracting debug info from /builddir/build/BUILDROOT/cfitsio-3.470-1.fc31.riscv64/usr/bin/fpack original debug info size: 5940kB, size after compression: 5636kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3WiBaN + umask 022 + cd /builddir/build/BUILD + cd cfitsio-3.47 + make testprog + LD_LIBRARY_PATH=. + ./testprog + cmp -s testprog.lis testprog.out BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.3WiBaN (%check) gcc -c -o ./testprog.o -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 -Dg77Fortran -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 testprog.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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1 -DHAVE_BZLIB_H=1 -DHAVE_BZIP2=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DHAVE_FTRUNCATE=1 -DHAVE_LONGLONG=1 -DHAVE_SHMEM_SERVICES=1 -D_REENTRANT=1 -D_XOPEN_SOURCE=700 -DHAVE_LIBPTHREAD=1 -DHAVE_FMEMOPEN=1 -DHAVE_NET_SERVICES=1 -o testprog testprog.o -L. -lcfitsio -lm -lz -lpthread -lbz2 RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.3WiBaN (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/cfitsio.spec