.o fsckconn.o fsckdire.o fsckdtre.o fsckea.o fsckimap.o fsckino.o fsckmeta.o fsckpfs.o dirindex.o fsckwsp.o fsckxtre.o xchkdsk.o fsckruns.o fsck_message.o ../libfs/libfs.a -luuid make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fsck' Making all in fscklog make[2]: Entering directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c fscklog.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c display.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -I../fsck -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -c extract.c In file included from /usr/include/string.h:495, from fscklog.c:69: In function 'strncpy', inlined from 'parse_parms' at fscklog.c:205:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fscklog.c: In function 'parse_parms': fscklog.c:198:14: note: length computed here 198 | arg_len = strlen(optarg); | ^~~~~~~~~~~~~~ gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o jfs_fscklog fscklog.o display.o extract.o ../libfs/libfs.a /usr/bin/ld: extract.o: in function `.LANCHOR0': /builddir/build/BUILD/jfsutils-1.1.15/fscklog/extract.c:67: multiple definition of `xchklog_buffer'; display.o:/builddir/build/BUILD/jfsutils-1.1.15/fscklog/display.c:57: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:259: jfs_fscklog] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15/fscklog' make[1]: Leaving directory '/builddir/build/BUILD/jfsutils-1.1.15' make[1]: *** [Makefile:260: all-recursive] Error 1 make: *** [Makefile:196: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.WugfX8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WugfX8 (%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/jfsutils.spec