char max = GAP; BUILDSTDERR: ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -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 -fgnu89-inline -c -o ../bfast/AlignNTSpace.o ../bfast/AlignNTSpace.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -fgnu89-inline -c -o ../bfast/AlignMatrix.o ../bfast/AlignMatrix.c BUILDSTDERR: ../bfast/AlignMatrix.c: In function 'AlignMatrixReallocate': BUILDSTDERR: ../bfast/AlignMatrix.c:12:23: warning: variable 'prevNCol' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int32_t i, prevNRow, prevNCol; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ../bfast/AlignNTSpace.c: In function 'AlignNTSpaceRecoverAlignmentFromMatrix': BUILDSTDERR: ../bfast/AlignNTSpace.c:225:7: warning: variable 'curReadBase' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char curReadBase; BUILDSTDERR: ^~~~~~~~~~~ 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 -fgnu89-inline -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o bevalsim ../bfast/BError.o ../bfast/RGIndexExons.o ../bfast/RGIndex.o ../bfast/BLib.o ../bfast/RGBinary.o ../bfast/RGRanges.o ../bfast/RGMatches.o ../bfast/RGMatch.o ../bfast/AlignedRead.o ../bfast/AlignedEnd.o ../bfast/AlignedEntry.o bevalsim.o -lm -lbz2 -lz BUILDSTDERR: /usr/bin/ld: ../bfast/RGIndex.o: in function `RGIndexMergeHelperInMemoryContig_32': BUILDSTDERR: /builddir/build/BUILD/bfast-0.7.0a/butil/../bfast/RGIndex.c:1258: undefined reference to `pthread_create' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/bfast-0.7.0a/butil/../bfast/RGIndex.c:1269: undefined reference to `pthread_join' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/bfast-0.7.0a/butil/../bfast/RGIndex.c:1272: undefined reference to `pthread_join' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/bfast-0.7.0a/butil/../bfast/RGIndex.c:1249: undefined reference to `pthread_create' BUILDSTDERR: /usr/bin/ld: ../bfast/RGIndex.o: in function `RGIndexMergeHelper': BUILDSTDERR: /builddir/build/BUILD/bfast-0.7.0a/butil/../bfast/RGIndex.c:1144: undefined reference to `pthread_join' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:469: bevalsim] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/bfast-0.7.0a/butil' make[1]: Leaving directory '/builddir/build/BUILD/bfast-0.7.0a' BUILDSTDERR: make[1]: *** [Makefile:269: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:191: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iliSny (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iliSny (%build) 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 636, 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/bfast.spec