Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fsniper.spec'], chrootPath='/var/lib/mock/f31-build-52621-27687/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fsniper.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/fsniper-1.3.1-24.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fsniper.spec'], chrootPath='/var/lib/mock/f31-build-52621-27687/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fsniper.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sxmIva + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fsniper-1.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/fsniper-1.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fsniper-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (fsniper-umask.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .umask --fuzz=0 + echo 'Patch #2 (0001-Fix-an-error-message.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .errmessage --fuzz=0 + echo 'Patch #3 (fsniper-wait3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wait3 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (fsniper-umask.patch): patching file src/main.c Patch #2 (0001-Fix-an-error-message.patch): patching file src/handle_event.c Hunk #1 succeeded at 312 (offset -1 lines). Patch #3 (fsniper-wait3.patch): patching file src/main.c Hunk #1 succeeded at 193 (offset 3 lines). Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.afKKi9 + umask 022 + cd /builddir/build/BUILD + cd fsniper-1.3.1 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info + make -j4 checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for a BSD-compatible install... /usr/bin/install -c checking for magic_open in -lmagic... yes checking for pcre_version in -lpcre... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1/src' 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 -D_GNU_SOURCE -ansi -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 main.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 -D_GNU_SOURCE -ansi -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 add_watches.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 -D_GNU_SOURCE -ansi -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 keyval_parse.c BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fmain.c: In function 'main': BUILDSTDERR: main.c:368:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: 368 | sprintf(scanformat, "Name: %%%ds", strlen(binaryname) + 1); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int size_t {aka long unsigned int} BUILDSTDERR: | %ld BUILDSTDERR: main.c:369:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 369 | fscanf(statusfile, scanformat, statusbin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:479:4: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 479 | pipe(pipe_list_cur->next->pfd); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: handle_event.c: In function 'write_out': BUILDSTDERR: handle_event.c:484:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 484 | write(writefd, text, strlen(text)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from handle_event.c:21: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'handle_event' at handle_event.c:131:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: handle_event.c: In function 'handle_event': BUILDSTDERR: handle_event.c:129:19: note: length computed here BUILDSTDERR: 129 | pathlen = strlen(filename) - strlen(name); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from handle_event.c:21: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'build_exec_line' at handle_event.c:464:9, BUILDSTDERR: inlined from 'handle_event' at handle_event.c:289:23: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: handle_event.c: In function 'handle_event': BUILDSTDERR: handle_event.c:464:57: note: length computed here BUILDSTDERR: 464 | strncpy(handlerline+percentoffset, replacename, strlen(replacename) + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from handle_event.c:21: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'build_exec_line' at handle_event.c:465:9, BUILDSTDERR: inlined from 'handle_event' at handle_event.c:289:23: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: handle_event.c: In function 'handle_event': BUILDSTDERR: handle_event.c:465:9: note: length computed here BUILDSTDERR: 465 | strncat(handlerline, postpercent, strlen(postpercent)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'validate_config': BUILDSTDERR: util.c:110:101: warning: backslash and newline separated by space BUILDSTDERR: 110 | fprintf(stderr,"fsniper: invalid element inside %s's \"%s\" match block: %s\n", \ BUILDSTDERR: | BUILDSTDERR: util.c:89:14: warning: 'watch' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 89 | for (dir = watch->children; dir; dir = dir->next) BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~ exceptions -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 -D_GNU_SOURCE -ansi -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 keyval_node.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 -D_GNU_SOURCE -ansi -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 keyval_tokenize.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 -D_GNU_SOURCE -ansi -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 handle_event.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 -D_GNU_SOURCE -ansi -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 argparser.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 -D_GNU_SOURCE -ansi -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 util.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 -D_GNU_SOURCE -ansi -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 log.c 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/red+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 hat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -ansi -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 watchnode.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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fsniper main.o add_watches.o keyval_parse.o keyval_node.o keyval_tokenize.o handle_event.o argparser.o util.o log.o watchnode.o -lpcre -lmagic make[2]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1' make[2]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1' make[1]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2a2fca + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 + cd fsniper-1.3.1 + mkdir -p /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/etc + mkdir -p /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/var/lib/fsniper + make install DESTDIR=/builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 + install -pm 0755 /builddir/build/SOURCES/fsniper.service /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/lib/systemd/system/fsniper.service + install -pm 0644 /builddir/build/SOURCES/fsniper.conf /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/etc/fsniper.conf + install -pm 0644 /builddir/build/SOURCES/fsniper.sysconfig /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/etc/sysconfig/fsniper + install -pm 0644 doc/doc.txt '/builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64%{docdir}' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.1-24.fc31 --unique-debug-suffix -1.3.1-24.fc31.riscv64 --unique-debug-src-base fsniper-1.3.1-24.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fsniper-1.3.1 BUILDSTDERR: 159 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/lib/systemd/system/fsniper.service is executable but has empty or no shebang, removing executable bit Making install in src make[1]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/bin" /usr/bin/install -c 'fsniper' '/builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/bin/fsniper' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1/src' make[1]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1/src' make[1]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1' make[2]: Entering directory '/builddir/build/BUILD/fsniper-1.3.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1' make[1]: Leaving directory '/builddir/build/BUILD/fsniper-1.3.1' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/bin/fsniper extracting debug info from /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/bin/fsniper original debug info size: 164kB, size after compression: 156kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: fsniper-1.3.1-24.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OH0cF8 + umask 022 + cd /builddir/build/BUILD + cd fsniper-1.3.1 + DOCDIR=/builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + cp -pr AUTHORS /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + cp -pr COPYING /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + cp -pr README /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + cp -pr doc/doc.txt /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + cp -pr doc/keyvalcfg.txt /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + cp -pr example.conf /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64/usr/share/doc/fsniper + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(fsniper) = 1.3.1-24.fc31 fsniper = 1.3.1-24.fc31 fsniper(riscv-64) = 1.3.1-24.fc31 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh /usr/sbin/groupadd /usr/sbin/useradd Requires(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmagic.so.1()(64bit) libpcre.so.1()(64bit) rtld(GNU_HASH) Processing files: fsniper-debugsource-1.3.1-24.fc31.riscv64 Provides: fsniper-debugsource = 1.3.1-24.fc31 fsniper-debugsource(riscv-64) = 1.3.1-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fsniper-debuginfo-1.3.1-24.fc31.riscv64 Provides: debuginfo(build-id) = 6caa5bab47dafa00d731a6b41188e0188e7fea70 fsniper-debuginfo = 1.3.1-24.fc31 fsniper-debuginfo(riscv-64) = 1.3.1-24.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fsniper-debugsource(riscv-64) = 1.3.1-24.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 Wrote: /builddir/build/RPMS/fsniper-1.3.1-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/fsniper-debugsource-1.3.1-24.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/fsniper-debuginfo-1.3.1-24.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7BMDG9 + umask 022 + cd /builddir/build/BUILD + cd fsniper-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fsniper-1.3.1-24.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0