Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ipxripd.spec'], chrootPath='/var/lib/mock/f33-build-301172-56712/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ipxripd.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': 'en_US.UTF-8'} and shell False warning: Macro expanded in comment on line 77: %{_initrddir}/* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/ipxripd-0.8-29.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ipxripd.spec'], chrootPath='/var/lib/mock/f33-build-301172-56712/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ipxripd.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': 'en_US.UTF-8'} and shell False warning: Macro expanded in comment on line 77: %{_initrddir}/* Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kORyrz + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Rmj7Sz + umask 022 + cd /builddir/build/BUILD + cd ipxripd-0.8 + make -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ipxd.o ipxd.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ipxripd.o ipxripd.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ipxsapd.o ipxsapd.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ipxsap.o ipxsap.c In file included from ipxsap.c:27: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t' {aka 'char[48]'} [-Wattributes] 48 | 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] 50 | IPXNode node __attribute__ ((packed)); | ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] 59 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxsapd.c:37: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t' {aka 'char[48]'} [-Wattributes] 48 | 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] 50 | IPXNode node __attribute__ ((packed)); | ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] 59 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxd.h:31, from ipxsapd.c:38: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] 49 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxd.h:31, from ipxsap.c:28: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] 49 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxripd.c:44: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] 49 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxd.h:30, from ipxripd.c:45: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t' {aka 'char[48]'} [-Wattributes] 48 | 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] 50 | IPXNode node __attribute__ ((packed)); | ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] 59 | __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] 83 | if (first_interface == NULL) | ^~ In file included from ipxd.h:30, from ipxd.c:35: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t' {aka 'char[48]'} [-Wattributes] 48 | 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] 50 | IPXNode node __attribute__ ((packed)); | ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] 59 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxd.h:31, from ipxd.c:35: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] 49 | __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] 532 | &addr_len); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from ipxd.c:32: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ipxd.c:546:13: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 546 | &addr_len); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from ipxd.c:32: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ipxrip.o ipxrip.c In file included from ipxrip.c:25: ipxrip.h:49:29: warning: 'packed' attribute ignored for field of type 'struct rip_entry[50]' [-Wattributes] 49 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ In file included from ipxd.h:30, from ipxrip.c:26: ipxsap.h:48:2: warning: 'packed' attribute ignored for field of type 'ser_name_t' {aka 'char[48]'} [-Wattributes] 48 | 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] 50 | IPXNode node __attribute__ ((packed)); | ^~~~~~~ ipxsap.h:59:29: warning: 'packed' attribute ignored for field of type 'struct sap_entry[7]' [-Wattributes] 59 | __attribute__ ((packed)); | ^~~~~~~~~~~~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ipxkern.o ipxkern.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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=] 43 | fprintf(file,"%08lX",net); | ~~~~^ ~~~ | | | | | IPXNet {aka unsigned int} | long unsigned int | %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=] 121 | if (sscanf(buf, "%8lX", target) == 1) | ~~~^ ~~~~~~ | | | | | IPXNet * {aka unsigned int *} | long unsigned int * | %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] 66 | 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] 126 | fgets(buf, sizeof(buf), ipx_ifc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o ipxd ipxd.o ipxripd.o ipxsapd.o ipxsap.o ipxrip.o ipxkern.o ipxutil.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DlKhaC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 + cd ipxripd-0.8 + rm -rf /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 + install -d /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/sbin + install -m755 ipxd /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/sbin + install -d /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/man/man8 + install -d /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/man/man5 + install -p ipxd.8 /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/man/man8 + install -p ipx_ticks.5 /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/man/man5 + install -d /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/lib/systemd/system + install -p -m644 /builddir/build/SOURCES/ipxripd.service /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/lib/systemd/system/ipxd.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8-29.fc33 --unique-debug-suffix -0.8-29.fc33.riscv64 --unique-debug-src-base ipxripd-0.8-29.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ipxripd-0.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/sbin/ipxd extracting debug info from /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/sbin/ipxd original debug info size: 568kB, size after compression: 552kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 152 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ipxripd-0.8-29.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7zLpQz + umask 022 + cd /builddir/build/BUILD + cd ipxripd-0.8 + DOCDIR=/builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/doc/ipxripd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/doc/ipxripd + cp -pr COPYING /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/doc/ipxripd + cp -pr README /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/doc/ipxripd + cp -pr ipx_ticks /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/doc/ipxripd + cp -pr ipxripd-0.8.lsm /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64/usr/share/doc/ipxripd + RPM_EC=0 ++ jobs -p + exit 0 Provides: ipxripd = 0.8-29.fc33 ipxripd(riscv-64) = 0.8-29.fc33 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) Processing files: ipxripd-debugsource-0.8-29.fc33.riscv64 Provides: ipxripd-debugsource = 0.8-29.fc33 ipxripd-debugsource(riscv-64) = 0.8-29.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ipxripd-debuginfo-0.8-29.fc33.riscv64 Provides: debuginfo(build-id) = 3e467bc5ef2f774c2aebf6046864967fb4afbd25 ipxripd-debuginfo = 0.8-29.fc33 ipxripd-debuginfo(riscv-64) = 0.8-29.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ipxripd-debugsource(riscv-64) = 0.8-29.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 Wrote: /builddir/build/RPMS/ipxripd-0.8-29.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ipxripd-debugsource-0.8-29.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ipxripd-debuginfo-0.8-29.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.P9em3z + umask 022 + cd /builddir/build/BUILD + cd ipxripd-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ipxripd-0.8-29.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0