Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libbgpdump.spec'], chrootPath='/var/lib/mock/f40-build-745530-112076/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=604800uid=991gid=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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/libbgpdump-1.6.2-2.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 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/f40-build-745530-112076/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=604800uid=991gid=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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jpj3ld + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libbgpdump-1.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libbgpdump-1.6.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd libbgpdump-1.6.2 + rm -rf /builddir/build/BUILD/libbgpdump-1.6.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libbgpdump-1.6.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libbgpdump-1.6.2-soname-versioning.patch):' Patch #0 (libbgpdump-1.6.2-soname-versioning.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .soname-versioning --fuzz=0 patching file Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.M7Azrz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 2020-06-07 09:40:23.000000000 -0400 +++ ./configure 2023-11-21 06:23:11.166140106 -0500 @@ -1769,7 +1769,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 ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-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-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 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 strlcat... 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 -j4 V=1 VERBOSE=1 gcc -fPIC -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 ‘process_attr_aspath_string’: bgpdump_lib.c:1331:35: warning: cast increases required alignment of target type [-Wcast-align] 1331 | asn = ntohs (*(u_int16_t *) (segment->data + asn_pos)); | ^ bgpdump_lib.c:1334:35: warning: cast increases required alignment of target type [-Wcast-align] 1334 | asn = ntohl (*(u_int32_t *) (segment->data + asn_pos)); | ^ bgpdump_lib.c: In function ‘asn32_expand_16_to_32’: bgpdump_lib.c:1743:25: warning: cast increases required alignment of target type [-Wcast-align] 1743 | u_int32_t *dstarray = (u_int32_t *) dst; | ^ bgpdump_lib.c:1744:25: warning: cast increases required alignment of target type [-Wcast-align] 1744 | 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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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:429:33: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 429 | strncpy(prefix, inet_ntoa(e->prefix.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:2094:21: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 2094 | strncpy(nexthop, inet_ntoa(attr->mp_info->announce[AFI_IP][SAFI_UNICAST]->nexthop.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:2085:21: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 2085 | strncpy(nexthop, inet_ntoa(attr->mp_info->announce[AFI_IP6][SAFI_UNICAST]->nexthop.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:2102:17: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 2102 | strncpy(nexthop, inet_ntoa(attr->nexthop), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:1942:21: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 1942 | strncpy(peer, inet_ntoa(route->peer_ip.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:1943:21: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 1943 | strncpy(prefix, inet_ntoa(route->prefix.v4_addr), BGPDUMP_ADDRSTRLEN); | ^ bgpdump.c:1967:21: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] 1967 | 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.JI9By9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/bin /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/include /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64 /usr/bin/install -p bgpdump /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.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.2-2.fc40.riscv64/usr/include /usr/bin/install -p libbgpdump.so.0.0.0 libbgpdump.a /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64 ln -s libbgpdump.so.0.0.0 /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64/libbgpdump.so.0 ln -s libbgpdump.so.0.0.0 /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64/libbgpdump.so + rm -f /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64/libbgpdump.a + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.6.2-2.fc40 --unique-debug-suffix -1.6.2-2.fc40.riscv64 --unique-debug-src-base libbgpdump-1.6.2-2.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libbgpdump-1.6.2 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libbgpdump-1.6.2-2.fc40.riscv64 381 blocks find-debuginfo: done + /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 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8PRqoA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.2 + export LD_LIBRARY_PATH=:/builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64 + LD_LIBRARY_PATH=:/builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/lib64 + /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/bin/bgpdump -T fe80:: -> fe80:: [ok] 2001:db8::1 -> 2001:db8::1 [ok] ::ffff:192.168.2.1 -> ::ffff:192.168.2.1 [ok] ::192.168.1.2 -> ::192.168.1.2 [ok] 2001:7f8:30::2:1:0:8447 -> 2001:7f8:30::2:1:0:8447 [ok] 0 =?= 0 (1) 99999 =?= 99999 (5) 4294967295 =?= 4294967295 (10) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libbgpdump-1.6.2-2.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GdpZaB + umask 022 + cd /builddir/build/BUILD + cd libbgpdump-1.6.2 + DOCDIR=/builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/doc/libbgpdump + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/doc/libbgpdump + cp -pr /builddir/build/BUILD/libbgpdump-1.6.2/ChangeLog /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/doc/libbgpdump + cp -pr /builddir/build/BUILD/libbgpdump-1.6.2/README /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/doc/libbgpdump + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hDuR1I + umask 022 + cd /builddir/build/BUILD + cd libbgpdump-1.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/licenses/libbgpdump + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/licenses/libbgpdump + cp -pr /builddir/build/BUILD/libbgpdump-1.6.2/COPYING /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64/usr/share/licenses/libbgpdump + RPM_EC=0 ++ jobs -p + exit 0 Provides: libbgpdump = 1.6.2-2.fc40 libbgpdump(riscv-64) = 1.6.2-2.fc40 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) libc.so.6(GLIBC_2.38)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.3.3)(64bit) rtld(GNU_HASH) Processing files: libbgpdump-devel-1.6.2-2.fc40.riscv64 Provides: libbgpdump-devel = 1.6.2-2.fc40 libbgpdump-devel(riscv-64) = 1.6.2-2.fc40 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.2-2.fc40.riscv64 Provides: bgpdump = 1.6.2-2.fc40 bgpdump(riscv-64) = 1.6.2-2.fc40 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.2-2.fc40.riscv64 Provides: libbgpdump-debugsource = 1.6.2-2.fc40 libbgpdump-debugsource(riscv-64) = 1.6.2-2.fc40 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.2-2.fc40.riscv64 Provides: debuginfo(build-id) = 9748cd9cffdf2cf12ff94103c1307b843bec939b libbgpdump-debuginfo = 1.6.2-2.fc40 libbgpdump-debuginfo(riscv-64) = 1.6.2-2.fc40 libbgpdump.so.0.0.0-1.6.2-2.fc40.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.2-2.fc40 Processing files: bgpdump-debuginfo-1.6.2-2.fc40.riscv64 Provides: bgpdump-debuginfo = 1.6.2-2.fc40 bgpdump-debuginfo(riscv-64) = 1.6.2-2.fc40 debuginfo(build-id) = 0536495ebdcd87436392fd28d603a544df2e283d 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.2-2.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 Wrote: /builddir/build/RPMS/libbgpdump-1.6.2-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libbgpdump-debuginfo-1.6.2-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/bgpdump-debuginfo-1.6.2-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/bgpdump-1.6.2-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libbgpdump-devel-1.6.2-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libbgpdump-debugsource-1.6.2-2.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yff6BC + umask 022 + cd /builddir/build/BUILD + cd libbgpdump-1.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libbgpdump-1.6.2-2.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.z4a3mP + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/libbgpdump-1.6.2-SPECPARTS + rm -rf libbgpdump-1.6.2 libbgpdump-1.6.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0