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/rpld.spec'], chrootPath='/var/lib/mock/f40-build-804280-144450/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/rpld.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=1706227200 Wrote: /builddir/build/SRPMS/rpld-1.8-0.42.beta1.fc40.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/rpld.spec'], chrootPath='/var/lib/mock/f40-build-804280-144450/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/rpld.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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dkI72W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpld-1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpld-1.8-beta-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpld-1.8 + rm -rf /builddir/build/BUILD/rpld-1.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rpld-1.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rpld_1.8beta1-6.diff.gz):' Patch #0 (rpld_1.8beta1-6.diff.gz): + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rpld_1.8beta1-6.diff.gz + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file debian/patches/002_target_dirs.patch patching file debian/patches/001_multiline_fix.patch patching file debian/patches/004_mac_address_range_fix.patch patching file debian/patches/003_avoid_makedepend.patch patching file debian/compat patching file debian/README.Debian patching file debian/watch patching file debian/dirs patching file debian/rules patching file debian/init.d patching file debian/init-default patching file debian/changelog patching file debian/control patching file debian/copyright + for I in debian/patches/* + patch -p1 -i debian/patches/001_multiline_fix.patch patching file rpld_conf.y + for I in debian/patches/* + patch -p1 -i debian/patches/002_target_dirs.patch patching file Makefile + for I in debian/patches/* + patch -p1 -i debian/patches/003_avoid_makedepend.patch patching file Makefile + for I in debian/patches/* + patch -p1 -i debian/patches/004_mac_address_range_fix.patch patching file client.c patching file rpld_conf.lex + echo 'Patch #1 (rpld-1.8-makefile.patch):' Patch #1 (rpld-1.8-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Patch #2 (rpld-c99.patch): + echo 'Patch #2 (rpld-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ana.c patching file client.c Hunk #1 succeeded at 392 (offset 3 lines). Hunk #2 succeeded at 410 (offset 3 lines). Hunk #3 succeeded at 427 (offset 3 lines). patching file config.c patching file linux-nit.c patching file protocol.c patching file prototypes.h patching file rpl.c patching file rpld.c patching file rpld_conf.y patching file util.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pjiDdk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 CFLAGS + CXXFLAGS='-O2 -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 -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 -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=-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-errors -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 rpld-1.8 + make 'OPT=-fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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' -j4 yacc -d -b rpld_conf rpld_conf.y gcc -MM protocol.c rpld.c util.c rpl.c client.c config.c llc-nit.c linux-nit.c > .depend Now type make again to build rpld + make 'OPT=-fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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' -j4 gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o protocol.o protocol.c gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o rpld.o rpld.c gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o util.o util.c gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o rpl.o rpl.c protocol.c: In function ‘file_data_frame’: protocol.c:172:7: warning: unused variable ‘addr’ [-Wunused-variable] 172 | u32 addr = 0x10000; | ^~~~ protocol.c:170:7: warning: unused variable ‘i’ [-Wunused-variable] 170 | int i; | ^ protocol.c: In function ‘send_file_frame’: protocol.c:218:21: warning: unused variable ‘out’ [-Wunused-variable] 218 | struct rpl_packet out; | ^~~ protocol.c: In function ‘rpl_packet_recvd_callback’: protocol.c:263:62: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 263 | syslog (LOG_ERR, "Incomplete FIND frame 0x%x vs 0x%x\n", | ~^ | | | unsigned int | %lx protocol.c:276:66: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 276 | "Incomplete SEND.FILE.REQUEST frame 0x%x vs 0x%x\n", | ~^ | | | unsigned int | %lx protocol.c: At top level: protocol.c:19:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 19 | static char rcsid[] = | ^~~~~ util.c: In function ‘ethtoa’: util.c:66:29: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 66 | len += sprintf (ethtoaret + len, "%02x", *(p++)); | ~~~~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from project.h:71, from util.c:53: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ util.c:69:31: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 69 | len += sprintf (ethtoaret + len, ":%02x", *(p++)); | ~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ rpld.c: In function ‘main’: rpld.c:245:50: warning: pointer targets in passing argument 4 of ‘lld->recv’ differ in signedness [-Wpointer-sign] 245 | len = lld->recv (lld, buf, sizeof (buf), smac, NULL, &tv); | ^~~~ | | | char * rpld.c:245:50: note: expected ‘unsigned char *’ but argument is of type ‘char *’ rpld.c:159:18: warning: unused variable ‘h’ [-Wunused-variable] 159 | struct llchdr *h = (struct llchdr *) buf; | ^ util.c: At top level: util.c:23:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 23 | static char rcsid[] = "$Id: util.c,v 1.9 2001/11/01 15:24:26 root Exp $"; | ^~~~~ rpld.c: At top level: rpld.c:19:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 19 | static char rcsid[] = "$Id: rpld.c,v 1.35 2001/11/01 15:30:29 root Exp $"; | ^~~~~ rpl.c: In function ‘rpl_token’: rpl.c:67:7: warning: unused variable ‘i’ [-Wunused-variable] 67 | int i; | ^ rpl.c: In function ‘rpl_frag’: rpl.c:158:28: warning: too many arguments for format [-Wformat-extra-args] 158 | syslog (LOG_ERR, "Unexpected end of packet", s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpl.c: In function ‘send_found_frame’: rpl.c:274:66: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 274 | syslog (LOG_ERR, "FOUND packet: doesn't match RE case %x!=%x", | ~^ | | | unsigned int | %lx rpl.c: In function ‘send_file_data_frame’: rpl.c:335:70: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 335 | syslog (LOG_ERR, "FILE.DATA packet: doesn't match RE case %x!=%x", | ~^ | | | unsigned int | %lx rpl.c: At top level: rpl.c:20:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 20 | static char rcsid[] = "$Id: rpl.c,v 1.13 2001/11/01 15:23:59 root Exp $"; | ^~~~~ gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o client.o client.c gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o config.o config.c gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o llc-nit.o llc-nit.c client.c: In function ‘cache_locally’: client.c:145:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 145 | read (fd, f->data, len); | ^~~~~~~~~~~~~~~~~~~~~~~ client.c: At top level: client.c:19:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 19 | static char rcsid[] = "$Id: client.c,v 1.34 2001/11/01 15:30:29 root Exp $"; | ^~~~~ config.c:19:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 19 | static char rcsid[] = "$Id: config.c,v 1.27 2001/11/01 15:30:29 root Exp $"; | ^~~~~ gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o linux-nit.o linux-nit.c lex -orpld_conf.yy.c rpld_conf.lex gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o rpld_conf.tab.o rpld_conf.tab.c gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 ana.c linux-nit.c -o ana cp rpld.conf.man rpld.conf.5 cp rpld.man rpld.8 gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -c -o rpld_conf.yy.o rpld_conf.yy.c linux-nit.c: In function ‘nit_open’: linux-nit.c:206:15: warning: pointer targets in passing argument 1 of ‘get_hwaddr’ differ in signedness [-Wpointer-sign] 206 | get_hwaddr (name, n->mac); | ^~~~ | | | char * linux-nit.c:109:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 109 | get_hwaddr (unsigned char *name, unsigned char *addr) | ~~~~~~~~~~~~~~~^~~~ linux-nit.c: In function ‘nit_send’: linux-nit.c:231:16: warning: unused variable ‘iov’ [-Wunused-variable] 231 | struct iovec iov; | ^~~ linux-nit.c: In function ‘nit_recv’: linux-nit.c:303:66: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 303 | recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from linux-nit.c:79: /usr/include/bits/socket2.h:62:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ana.c: In function ‘ana_token’: ana.c:98:7: warning: unused variable ‘i’ [-Wunused-variable] 98 | int i; | ^ ana.c: In function ‘main’: ana.c:232:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 232 | pptr = pbuf; | ^ ana.c:237:21: warning: pointer targets in passing argument 1 of ‘dump_hex’ differ in signedness [-Wpointer-sign] 237 | dump_hex (pptr, plen); | ^~~~ | | | char * ana.c:74:26: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 74 | dump_hex (unsigned char *pp, int pl) | ~~~~~~~~~~~~~~~^~ ana.c:241:31: warning: pointer targets in passing argument 1 of ‘pull_short’ differ in signedness [-Wpointer-sign] 241 | switch (pull_short (pptr)) | ^~~~ | | | char * ana.c:45:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 45 | pull_short (unsigned char *c) | ~~~~~~~~~~~~~~~^ ana.c:256:49: warning: pointer targets in passing argument 1 of ‘pull_short’ differ in signedness [-Wpointer-sign] 256 | printf (" 0x%04x ?:", pull_short (pptr)); | ^~~~ | | | char * ana.c:45:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 45 | pull_short (unsigned char *c) | ~~~~~~~~~~~~~~~^ ana.c:262:21: warning: pointer targets in passing argument 1 of ‘ana_frag’ differ in signedness [-Wpointer-sign] 262 | ana_frag (pptr, plen); | ^~~~ | | | char * ana.c:160:26: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 160 | ana_frag (unsigned char *pp, int pl) | ~~~~~~~~~~~~~~~^~ ana.c:191:7: warning: unused variable ‘i’ [-Wunused-variable] 191 | int i; | ^ ana.c: At top level: ana.c:4:14: warning: ‘rcsid’ defined but not used [-Wunused-variable] 4 | static char *rcsid = "$Id: ana.c,v 1.5 2000/09/26 03:48:23 root Exp $"; | ^~~~~ rpld_conf.y: In function ‘process_thing’: rpld_conf.y:212:9: warning: case value ‘257’ not in enumerated type ‘THING’ [-Wswitch] 212 | case BLOCK_START: | ^~~~ rpld_conf.y:256:9: warning: case value ‘258’ not in enumerated type ‘THING’ [-Wswitch] 256 | case BLOCK_END: | ^~~~ rpld_conf.y: At top level: rpld_conf.y:81:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 81 | static char rcsid[]="$Id: rpld_conf.y,v 1.8 2001/11/01 15:23:59 root Exp $"; | ^~~~~ rpld_conf.yy.c:1337:16: warning: ‘input’ defined but not used [-Wunused-function] 1337 | #else | ^ rpld_conf.yy.c:1294:17: warning: ‘yyunput’ defined but not used [-Wunused-function] 1294 | | ^ rpld_conf.lex:79:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 79 | static char rcsid[]="$Id: rpld_conf.lex,v 1.7 2001/11/01 15:23:59 root Exp $"; | ^~~~~ linux-nit.c: In function ‘nit_open’: linux-nit.c:206:15: warning: pointer targets in passing argument 1 of ‘get_hwaddr’ differ in signedness [-Wpointer-sign] 206 | get_hwaddr (name, n->mac); | ^~~~ | | | char * linux-nit.c:109:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 109 | get_hwaddr (unsigned char *name, unsigned char *addr) | ~~~~~~~~~~~~~~~^~~~ linux-nit.c: In function ‘nit_send’: linux-nit.c:231:16: warning: unused variable ‘iov’ [-Wunused-variable] 231 | struct iovec iov; | ^~~ linux-nit.c: In function ‘nit_recv’: linux-nit.c:303:66: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 303 | recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from linux-nit.c:79: /usr/include/bits/socket2.h:62:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -fPIE -pie -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -o rpld protocol.o rpld.o util.o rpl.o client.o config.o llc-nit.o linux-nit.o rpld_conf.yy.o rpld_conf.tab.o Now type make install to install rpld or make nics to assemble the adapter utilities or make realtime to capture and analyse RPL traffic + mv LICENCE LICENSE + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VBCTIR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 + CFLAGS='-O2 -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 CFLAGS + CXXFLAGS='-O2 -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 -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 -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=-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-errors -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 rpld-1.8 + mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/sbin /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/man/man5 + make install DESTDIR=/builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 BINMODE=755 MANMODE=644 install -c -m 755 rpld /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/sbin install -c -m 644 rpld.8 /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/man/man8/rpld.8 install -c -m 644 rpld.conf.5 /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/man/man5/rpld.conf.5 you can find a sample configuration file in this directory called rpld.conf.sample your config file should be placed in /etc/rpld.conf + find /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 -type f -name '*.la' -exec rm -f '{}' ';' + install -d /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/etc/sysconfig + install -m 0644 /builddir/build/SOURCES/rpld.sysconfig /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/etc/sysconfig/rpld + install -d /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/lib/systemd/system + install -m 0644 /builddir/build/SOURCES/rpld.service /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/lib/systemd/system/rpld.service + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.8-0.42.beta1.fc40 --unique-debug-suffix -1.8-0.42.beta1.fc40.riscv64 --unique-debug-src-base rpld-1.8-0.42.beta1.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpld-1.8 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rpld-1.8-0.42.beta1.fc40.riscv64 343 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 Processing files: rpld-1.8-0.42.beta1.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PhEJal + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + DOCDIR=/builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/doc/rpld + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/doc/rpld + cp -pr /builddir/build/BUILD/rpld-1.8/README /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/doc/rpld + cp -pr /builddir/build/BUILD/rpld-1.8/LICENSE /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/doc/rpld + cp -pr /builddir/build/BUILD/rpld-1.8/INSTALL /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/doc/rpld + cp -pr /builddir/build/BUILD/rpld-1.8/rpld.conf.sample /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64/usr/share/doc/rpld + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpld = 1.8-0.42.beta1.fc40 rpld(riscv-64) = 1.8-0.42.beta1.fc40 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 Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: rpld-debugsource-1.8-0.42.beta1.fc40.riscv64 Provides: rpld-debugsource = 1.8-0.42.beta1.fc40 rpld-debugsource(riscv-64) = 1.8-0.42.beta1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rpld-debuginfo-1.8-0.42.beta1.fc40.riscv64 Provides: debuginfo(build-id) = 50f0ab455cfafd3891a8a921852a20ad8ad2281e rpld-debuginfo = 1.8-0.42.beta1.fc40 rpld-debuginfo(riscv-64) = 1.8-0.42.beta1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rpld-debugsource(riscv-64) = 1.8-0.42.beta1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 Wrote: /builddir/build/RPMS/rpld-1.8-0.42.beta1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rpld-debuginfo-1.8-0.42.beta1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rpld-debugsource-1.8-0.42.beta1.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oUa6oP + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.42.beta1.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Fiupzh + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/rpld-1.8-SPECPARTS + rm -rf rpld-1.8 rpld-1.8.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