Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libbgpdump.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-438311-19336/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libbgpdump.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/libbgpdump-1.6.0-11.fc38.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libbgpdump.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-438311-19336/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libbgpdump.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wq886x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libbgpdump-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libbgpdump-1.6.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd libbgpdump-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libbgpdump-1.6.0-buildsys.patch):' Patch #0 (libbgpdump-1.6.0-buildsys.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .buildsys --fuzz=0 patching file ChangeLog patching file Makefile.in Patch #1 (libbgpdump-1.6.0-soname-versioning.patch): + echo 'Patch #1 (libbgpdump-1.6.0-soname-versioning.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .soname-versioning --fuzz=0 patching file ChangeLog patching file Makefile.in Patch #2 (libbgpdump-1.6.0-ldshared.patch): + echo 'Patch #2 (libbgpdump-1.6.0-ldshared.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ldshared --fuzz=0 patching file configure.in patching file configure patching file Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q9iIZw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libbgpdump-1.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-04-13 12:01:27.890521987 -0400 +++ ./configure 2023-04-13 12:01:28.690527057 -0400 @@ -1757,7 +1757,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 for riscv64-koji-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 sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_char_t... no checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for gzopen in -lz... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for inet_ntoa... yes checking for inet_ntop... yes configure: creating ./config.status config.status: creating bgpdump.spec config.status: creating Makefile config.status: creating bgpdump-config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c -o bgpdump_mstream.o bgpdump_mstream.c In file included from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from bgpdump_mstream.h:32, from bgpdump_mstream.c:29: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': /usr/include/bits/socket.h:355:12: warning: cast increases required alignment of target type [-Wcast-align] 355 | __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg | ^ gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c -o util.o util.c In file included from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from bgpdump_attr.h:32, from util.h:26, from util.c:22: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': /usr/include/bits/socket.h:355:12: warning: cast increases required alignment of target type [-Wcast-align] 355 | __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg | ^ gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c -o inet_ntop.o inet_ntop.c In file included from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from inet_ntop.c:78: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': /usr/include/bits/socket.h:355:12: warning: cast increases required alignment of target type [-Wcast-align] 355 | __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg | ^ inet_ntop.c: In function 'fmt_ipv6': inet_ntop.c:143:58: warning: cast increases required alignment of target type [-Wcast-align] 143 | BGPDUMP_IP_ADDRESS mapped = { .v4_addr.s_addr = ((uint32_t *)addr.v6_addr.s6_addr)[3] }; | ^ inet_ntop.c:197:16: warning: cast increases required alignment of target type [-Wcast-align] 197 | x16 = ((uint16_t *)addr.v6_addr.s6_addr)[i]; | ^ gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c -o cfile_tools.o cfile_tools.c gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -c -o bgpdump_lib.o bgpdump_lib.c In file included from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from bgpdump_attr.h:32, from bgpdump_lib.h:35, from bgpdump_lib.c:28: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': /usr/include/bits/socket.h:355:12: warning: cast increases required alignment of target type [-Wcast-align] 355 | __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg | ^ bgpdump_lib.c: In function 'bgpdump_free_mp_info': bgpdump_lib.c:263:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 263 | if(info->announce[afi][safi]) | ^~ bgpdump_lib.c:265:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 265 | info->announce[afi][safi] = NULL; | ^~~~ bgpdump_lib.c: In function 'process_attr_aspath_string': bgpdump_lib.c:1330:35: warning: cast increases required alignment of target type [-Wcast-align] 1330 | asn = ntohs (*(u_int16_t *) (segment->data + asn_pos)); | ^ bgpdump_lib.c:1333:35: warning: cast increases required alignment of target type [-Wcast-align] 1333 | asn = ntohl (*(u_int32_t *) (segment->data + asn_pos)); | ^ bgpdump_lib.c: In function 'asn32_expand_16_to_32': bgpdump_lib.c:1742:25: warning: cast increases required alignment of target type [-Wcast-align] 1742 | u_int32_t *dstarray = (u_int32_t *) dst; | ^ bgpdump_lib.c:1743:25: warning: cast increases required alignment of target type [-Wcast-align] 1743 | u_int16_t *srcarray = (u_int16_t *) src; | ^ ar r libbgpdump.a bgpdump_lib.o bgpdump_mstream.o cfile_tools.o util.o inet_ntop.o ranlib libbgpdump.a ar: creating libbgpdump.a gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libbgpdump.so.0 -o libbgpdump.so.0.0.0 bgpdump_lib.o bgpdump_mstream.o cfile_tools.o util.o inet_ntop.o -lbz2 -lz ln -s libbgpdump.so.0.0.0 libbgpdump.so.0 ln -s libbgpdump.so.0.0.0 libbgpdump.so gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wall -Wsystem-headers -Wno-format-y2k -Wno-sign-compare -Wcast-align -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wswitch -Wshadow -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o bgpdump bgpdump.c libbgpdump.so.0.0.0 -lbz2 -lz In file included from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from bgpdump_attr.h:32, from bgpdump_lib.h:35, from bgpdump.c:29: /usr/include/bits/socket.h: In function '__cmsg_nxthdr': /usr/include/bits/socket.h:355:12: warning: cast increases required alignment of target type [-Wcast-align] 355 | __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg | ^ bgpdump.c: In function 'process': bgpdump.c:408:33: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 408 | strncpy(prefix, inet_ntoa(e->prefix.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:2049:21: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 2049 | strncpy(nexthop, inet_ntoa(attr->mp_info->announce[AFI_IP][SAFI_UNICAST]->nexthop.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:2040:21: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 2040 | strncpy(nexthop, inet_ntoa(attr->mp_info->announce[AFI_IP6][SAFI_UNICAST]->nexthop.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:2057:17: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 2057 | strncpy(nexthop, inet_ntoa(attr->nexthop), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:1905:21: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 1905 | strncpy(peer, inet_ntoa(route->peer_ip.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:1906:21: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 1906 | strncpy(prefix, inet_ntoa(route->prefix.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:1930:21: warning: 'strncpy' specified bound 46 equals destination size [-Wstringop-truncation] 1930 | strncpy(nexthop, inet_ntoa(entry->attr->nexthop), BGPDUMP_ADDRSTRLEN); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4y0F0Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libbgpdump-1.6.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/bin /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/include /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/lib64 /usr/bin/install -p bgpdump /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/bin /usr/bin/install -p -m 0644 bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h bgpdump_mstream.h /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/include /usr/bin/install -p libbgpdump.so.0.0.0 libbgpdump.a /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/lib64 ln -s libbgpdump.so.0.0.0 /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/lib64/libbgpdump.so.0 ln -s libbgpdump.so.0.0.0 /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/lib64/libbgpdump.so + rm -f /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/lib64/libbgpdump.a + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.6.0-11.fc38 --unique-debug-suffix -1.6.0-11.fc38.riscv64 --unique-debug-src-base libbgpdump-1.6.0-11.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libbgpdump-1.6.0 extracting debug info from /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/lib64/libbgpdump.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/bin/bgpdump original debug info size: 720kB, size after compression: 712kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 378 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libbgpdump-1.6.0-11.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bchxul + umask 022 + cd /builddir/build/BUILD + cd libbgpdump-1.6.0 + DOCDIR=/builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/doc/libbgpdump + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/doc/libbgpdump + cp -pr ChangeLog /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/doc/libbgpdump + cp -pr README /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/doc/libbgpdump + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YEhcJe + umask 022 + cd /builddir/build/BUILD + cd libbgpdump-1.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/licenses/libbgpdump + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/licenses/libbgpdump + cp -pr COPYING /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64/usr/share/licenses/libbgpdump + RPM_EC=0 ++ jobs -p + exit 0 Provides: libbgpdump = 1.6.0-11.fc38 libbgpdump(riscv-64) = 1.6.0-11.fc38 libbgpdump.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.3.3)(64bit) rtld(GNU_HASH) Processing files: libbgpdump-devel-1.6.0-11.fc38.riscv64 Provides: libbgpdump-devel = 1.6.0-11.fc38 libbgpdump-devel(riscv-64) = 1.6.0-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbgpdump.so.0()(64bit) Processing files: bgpdump-1.6.0-11.fc38.riscv64 Provides: bgpdump = 1.6.0-11.fc38 bgpdump(riscv-64) = 1.6.0-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbgpdump.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: libbgpdump-debugsource-1.6.0-11.fc38.riscv64 Provides: libbgpdump-debugsource = 1.6.0-11.fc38 libbgpdump-debugsource(riscv-64) = 1.6.0-11.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libbgpdump-debuginfo-1.6.0-11.fc38.riscv64 Provides: debuginfo(build-id) = 8fdbd3d274eeeb901dbf4f9c000abe9a3405df94 libbgpdump-debuginfo = 1.6.0-11.fc38 libbgpdump-debuginfo(riscv-64) = 1.6.0-11.fc38 libbgpdump.so.0.0.0-1.6.0-11.fc38.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libbgpdump-debugsource(riscv-64) = 1.6.0-11.fc38 Processing files: bgpdump-debuginfo-1.6.0-11.fc38.riscv64 Provides: bgpdump-debuginfo = 1.6.0-11.fc38 bgpdump-debuginfo(riscv-64) = 1.6.0-11.fc38 debuginfo(build-id) = c3056bd28d5fd055761e3208297c5134a7a0b8c7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libbgpdump-debugsource(riscv-64) = 1.6.0-11.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 Wrote: /builddir/build/RPMS/libbgpdump-devel-1.6.0-11.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/bgpdump-1.6.0-11.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libbgpdump-1.6.0-11.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libbgpdump-debuginfo-1.6.0-11.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/bgpdump-debuginfo-1.6.0-11.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libbgpdump-debugsource-1.6.0-11.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RJgkaI + umask 022 + cd /builddir/build/BUILD + cd libbgpdump-1.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libbgpdump-1.6.0-11.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.c7uEh1 + umask 022 + cd /builddir/build/BUILD + rm -rf libbgpdump-1.6.0 libbgpdump-1.6.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0