-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pads-configuration.o `test -f 'configuration.c' || echo './'`configuration.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -pthread -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 -o pads-util.o `test -f 'util.c' || echo './'`util.c cat ./pads-report.pl >> pads-report chmod +x pads-report BUILDSTDERR: util.c: In function 'init_pid_file': BUILDSTDERR: util.c:111:22: warning: null argument where non-null required (argument 1) [-Wnonnull] BUILDSTDERR: if ((this_user = getpwnam((char *)bdata(user))) == NULL) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: util.c:113:10: warning: null argument where non-null required (argument 1) [-Wnonnull] BUILDSTDERR: if ((chown((char *)bdata(pid_file), this_user->pw_uid, this_group->gr_gid)) != 0) BUILDSTDERR: ^~~~~ BUILDSTDERR: util.c: In function 'drop_privs': BUILDSTDERR: util.c:380:22: warning: null argument where non-null required (argument 1) [-Wnonnull] BUILDSTDERR: if ((this_user = getpwnam((char *)bdata(newuser))) == NULL) BUILDSTDERR: ^~~~~~~~ gcc -pthread -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 -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpcre -o pads pads-pads.o pads-storage.o pads-identification.o pads-packet.o pads-monnet.o pads-mac-resolution.o pads-configuration.o pads-util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap BUILDSTDERR: /usr/bin/ld: pads-identification.o: in function `parse_raw_signature': BUILDSTDERR: /builddir/build/BUILD/pads-1.2/src/identification.c:153: undefined reference to `pcre_compile' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/pads-1.2/src/identification.c:154: undefined reference to `pcre_study' BUILDSTDERR: /usr/bin/ld: pads-identification.o: in function `get_app_name': BUILDSTDERR: /builddir/build/BUILD/pads-1.2/src/identification.c:316: undefined reference to `pcre_copy_substring' BUILDSTDERR: /usr/bin/ld: pads-identification.o: in function `strcat': BUILDSTDERR: /usr/include/bits/string_fortified.h:128: undefined reference to `pcre_exec' BUILDSTDERR: /usr/bin/ld: pads-identification.o: in function `pcre_identify': BUILDSTDERR: /builddir/build/BUILD/pads-1.2/src/identification.c:278: undefined reference to `pcre_free' BUILDSTDERR: collect2: error: ld returned 1 exit status make[3]: Leaving directory '/builddir/build/BUILD/pads-1.2/src' make[2]: Leaving directory '/builddir/build/BUILD/pads-1.2/src' make[1]: Leaving directory '/builddir/build/BUILD/pads-1.2' BUILDSTDERR: make[3]: *** [Makefile:440: pads] Error 1 BUILDSTDERR: make[2]: *** [Makefile:544: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:370: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:311: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.TAvPJI (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.TAvPJI (%build) RPM build errors: 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/pads.spec