+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ipxripd.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: Macro expanded in comment on line 82: %{_initrddir}/* Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XrBNKc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ipxripd-0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/ipxripd-0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipxripd-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ipxripd-0.8-glibc2.1.patch):' Patch #0 (ipxripd-0.8-glibc2.1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ipxd.c patching file ipxripd.c patching file ipxsapd.c patching file ipxutil.h + echo 'Patch #1 (ipxripd-0.7-gcc3.patch):' Patch #1 (ipxripd-0.7-gcc3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ipxd.c patching file ipxd.h + echo 'Patch #2 (ipxripd-0.7-kernel2.6.patch):' Patch #2 (ipxripd-0.7-kernel2.6.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ipxkern.c + echo 'Patch #3 (ipxripd-0.8-printf.patch):' Patch #3 (ipxripd-0.8-printf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ipxsap.c + echo 'Patch #4 (ipxripd-0.8-stdint.patch):' Patch #4 (ipxripd-0.8-stdint.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ipxutil.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VfKQOr + umask 022 + cd /builddir/build/BUILD + cd ipxripd-0.8 + make -j4 '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 ' cc -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 -c -o ipxd.o ipxd.c cc -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 -c -o ipxripd.o ipxripd.c cc -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 -c -o ipxsapd.o ipxsapd.c cc -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 -c -o ipxsap.o ipxsap.c In file included from ipxsap.c:27:0: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t {aka char[48]}' [-Wattributes] ser_name_t ser_name __attribute__ ((packed)); ^~~~~~~~~~ ipxsap.h:50:2: warning: 'packed' attribute ignored for field of type 'IPXNode {aka unsigned char[6]}' [-Wattributes] IPXNode node __attribute__ ((packed)); ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxd.h:31:0, from ipxsap.c:28: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxripd.c:44:0: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxd.h:30:0, from ipxripd.c:45: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t {aka char[48]}' [-Wattributes] ser_name_t ser_name __attribute__ ((packed)); ^~~~~~~~~~ ipxsap.h:50:2: warning: 'packed' attribute ignored for field of type 'IPXNode {aka unsigned char[6]}' [-Wattributes] IPXNode node __attribute__ ((packed)); ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ ipxripd.c: In function 'ipx_socket': ipxripd.c:83:22: warning: the comparison will always evaluate as 'false' for the address of 'first_interface' will never be NULL [-Waddress] if (first_interface == NULL) ^~ In file included from ipxsapd.c:37:0: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t {aka char[48]}' [-Wattributes] ser_name_t ser_name __attribute__ ((packed)); ^~~~~~~~~~ ipxsap.h:50:2: warning: 'packed' attribute ignored for field of type 'IPXNode {aka unsigned char[6]}' [-Wattributes] IPXNode node __attribute__ ((packed)); ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxd.h:30:0, from ipxd.c:35: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t {aka char[48]}' [-Wattributes] ser_name_t ser_name __attribute__ ((packed)); ^~~~~~~~~~ ipxsap.h:50:2: warning: 'packed' attribute ignored for field of type 'IPXNode {aka unsigned char[6]}' [-Wattributes] IPXNode node __attribute__ ((packed)); ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxd.h:31:0, from ipxd.c:35: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxd.h:31:0, from ipxsapd.c:38: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ ipxd.c: In function 'run': ipxd.c:532:13: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] &addr_len); ^ In file included from /usr/include/sys/socket.h:269:0, from ipxd.c:32: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ ipxd.c:546:13: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] &addr_len); ^ In file included from /usr/include/sys/socket.h:269:0, from ipxd.c:32: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ cc -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 -c -o ipxrip.o ipxrip.c In file included from ipxrip.c:25:0: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ In file included from ipxd.h:30:0, from ipxrip.c:26: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t {aka char[48]}' [-Wattributes] ser_name_t ser_name __attribute__ ((packed)); ^~~~~~~~~~ ipxsap.h:50:2: warning: 'packed' attribute ignored for field of type 'IPXNode {aka unsigned char[6]}' [-Wattributes] IPXNode node __attribute__ ((packed)); ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] __attribute__ ((packed)); ^~~~~~~~~~~~~ cc -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 -c -o ipxkern.o ipxkern.c cc -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 -c -o ipxutil.o ipxutil.c ipxutil.c: In function 'ipx_fprint_network': ipxutil.c:43:20: warning: format '%lX' expects argument of type 'long unsigned int', but argument 3 has type 'IPXNet {aka unsigned int}' [-Wformat=] fprintf(file,"%08lX",net); ~~~~^ %08X ipxutil.c: In function 'ipx_sscanf_net': ipxutil.c:121:22: warning: format '%lX' expects argument of type 'long unsigned int *', but argument 3 has type 'IPXNet * {aka unsigned int *}' [-Wformat=] if (sscanf(buf, "%8lX", target) == 1) ~~~^ %8X ipxkern.c: In function 'ipx_kern_scan_rtable': ipxkern.c:66:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), ipx_route); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipxkern.c: In function 'ipx_kern_scan_ifaces': ipxkern.c:126:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), ipx_ifc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o ipxd ipxd.o ipxripd.o ipxsapd.o ipxsap.o ipxrip.o ipxkern.o ipxutil.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rU5DBb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 + cd ipxripd-0.8 + rm -rf /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 + install -d /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/sbin + install -m755 ipxd /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/sbin + install -d /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/man/man8 + install -d /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/man/man5 + install -p ipxd.8 /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/man/man8 + install -p ipx_ticks.5 /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/man/man5 + install -d /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/lib/systemd/system + install -p -m644 /builddir/build/SOURCES/ipxripd.service /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/lib/systemd/system/ipxd.service + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ipxripd-0.8-23.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ely91M + umask 022 + cd /builddir/build/BUILD + cd ipxripd-0.8 + DOCDIR=/builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/doc/ipxripd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/doc/ipxripd + cp -pr COPYING /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/doc/ipxripd + cp -pr README /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/doc/ipxripd + cp -pr ipx_ticks /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/doc/ipxripd + cp -pr ipxripd-0.8.lsm /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64/usr/share/doc/ipxripd + exit 0 Provides: ipxripd = 0.8-23.fc28 ipxripd(riscv-64) = 0.8-23.fc28 Requires(interp): /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(post): /bin/sh 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 Wrote: /builddir/build/SRPMS/ipxripd-0.8-23.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ipxripd-0.8-23.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bHE4RO + umask 022 + cd /builddir/build/BUILD + cd ipxripd-0.8 + rm -rf /builddir/build/BUILDROOT/ipxripd-0.8-23.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff