Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sing.spec'], chrootPath='/var/lib/mock/f30-build-34849-19469/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sing.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sing-1.1-16.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sing.spec'], chrootPath='/var/lib/mock/f30-build-34849-19469/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sing.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vonTgF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf SING-1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/SING-1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd SING-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sing-1.1-fedora.patch):' Patch #0 (sing-1.1-fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fedora --fuzz=0 patching file configure.in patching file Makefile.in + echo 'Patch #1 (sing-1.1-suid_log.patch):' Patch #1 (sing-1.1-suid_log.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sing_suid --fuzz=0 patching file parser.c + autoconf + cp -f /usr/share/automake-1.16/config.guess /usr/share/automake-1.16/config.sub . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0UXkcD + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./libpcap-0.4/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./libpcap-0.4/config.sub BUILDSTDERR: ++ basename ./libpcap-0.4/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./libpcap-0.4/config.sub '/usr/lib/rpm/redhat/config.sub' -> './libpcap-0.4/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./libpcap-0.4/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./libpcap-0.4/config.guess BUILDSTDERR: ++ basename ./libpcap-0.4/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./libpcap-0.4/config.guess '/usr/lib/rpm/redhat/config.guess' -> './libpcap-0.4/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./Libnet-1.0.1b/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./Libnet-1.0.1b/config.sub BUILDSTDERR: ++ basename ./Libnet-1.0.1b/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./Libnet-1.0.1b/config.sub '/usr/lib/rpm/redhat/config.sub' -> './Libnet-1.0.1b/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./Libnet-1.0.1b/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./Libnet-1.0.1b/config.guess BUILDSTDERR: ++ basename ./Libnet-1.0.1b/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./Libnet-1.0.1b/config.guess '/usr/lib/rpm/redhat/config.guess' -> './Libnet-1.0.1b/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr/sbin BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 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 makedepend... no checking for main in -lsocket... no checking for main in -lresolv... yes checking for main in -lnsl... no checking for pcap_datalink in -lpcap... yes checking for libnet_open_raw_sock in -lnet... no 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 sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for string.h... (cached) yes checking for strings.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in_system.h usability... no checking netinet/in_system.h presence... no checking for netinet/in_system.h... no checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for struct ip... yes checking if struct ip has ip_sum field... yes checking if struct sockaddr has sa_len field... no checking for memcpy... yes checking for memset... yes checking for getopt_long_only... yes configure: creating ./config.status config.status: creating Makefile BUILDSTDERR: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing default-1 commands BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c vers_date.c gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sing.c gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c device.c gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ip_options.c BUILDSTDERR: vers_date.c:5:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = BUILDSTDERR: ^~~~~ gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parser.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from device.c:23: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ip_options.c:17: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from parser.c:14: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: device.c: In function 'get_iface_out': BUILDSTDERR: device.c:163:61: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( getsockname( sock_rt, (struct sockaddr *)&iface_out, &len ) == -1 ) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from device.c:26: BUILDSTDERR: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int getsockname (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ip_options.c: In function 'print_rr': BUILDSTDERR: ip_options.c:95:20: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: u_char *cursor = ip_opt_rcv, *opt_len = NULL; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ip_options.c:103:64: warning: operation on 'cursor' may be undefined [-Wsequence-point] BUILDSTDERR: write_log(1,"Sent RR -> received %d (len %d)", *cursor, *(++cursor)); BUILDSTDERR: ~^~~~~~~~~ BUILDSTDERR: ip_options.c: In function 'print_lssrr': BUILDSTDERR: ip_options.c:149:20: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: u_char *cursor = ip_opt_rcv, symbol; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ip_options.c:179:61: warning: operation on 'cursor' may be undefined [-Wsequence-point] BUILDSTDERR: write_log(1,"IPOPT received %d (len %d)!!", *cursor, *(++cursor)); BUILDSTDERR: ~^~~~~~~~~ BUILDSTDERR: ip_options.c: In function 'ip_opt_control': BUILDSTDERR: ip_options.c:214:16: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( ( punt = strpbrk(host, SR_SYMS) ) ) BUILDSTDERR: ^ BUILDSTDERR: ip_options.c:235:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: ip_opt = packet.ipopt = (char *)malloc(IP_OPT_DFL); BUILDSTDERR: ^ BUILDSTDERR: ip_options.c: In function 'make_ipopt': BUILDSTDERR: ip_options.c:261:15: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: opt_cursor = packet.ipopt = (char *)malloc(IP_OPT_DFL); BUILDSTDERR: ^ BUILDSTDERR: ip_options.c:269:25: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: cursor = host_cursor = host; BUILDSTDERR: ^ BUILDSTDERR: ip_options.c:282:30: warning: pointer targets in passing argument 1 of 'exist_host' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( exist_host( host_cursor, &gway_ip[cont_gways]) ) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ip_options.c:70: BUILDSTDERR: ip_options.h:48:12: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern int exist_host( char *, u_long * ); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ip_options.c:298:24: warning: pointer targets in passing argument 1 of 'exist_host' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( exist_host( host_cursor, &gway_ip[cont_gways]) ) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ip_options.c:70: BUILDSTDERR: ip_options.h:48:12: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern int exist_host( char *, u_long * ); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: device.c:15:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = BUILDSTDERR: ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: ip_options.c:9:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c: In function 'build_pack': BUILDSTDERR: sing.c:678:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); BUILDSTDERR: ^~~ BUILDSTDERR: sing.c:678:32: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); BUILDSTDERR: ^ BUILDSTDERR: sing.c: In function 'build_pack_libnet': BUILDSTDERR: sing.c:806:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); BUILDSTDERR: ^~~ BUILDSTDERR: sing.c:806:32: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); BUILDSTDERR: ^ BUILDSTDERR: sing.c:871:43: warning: pointer targets in passing argument 4 of 'libnet_build_ethernet' differ in signedness [-Wpointer-sign] BUILDSTDERR: ETHERTYPE_IP, buf_ip+LIBNET_ETH_H, ntohs(ip_p->ip_len), BUILDSTDERR: In file included from /usr/include/libnet10/libnet.h:81, BUILDSTDERR: from sing.c:111: BUILDSTDERR: /usr/include/libnet10/./libnet/libnet-functions.h:203:1: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: libnet_build_ethernet( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sing.c:872:24: warning: pointer targets in passing argument 6 of 'libnet_build_ethernet' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_ip BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/libnet10/libnet.h:81, BUILDSTDERR: from sing.c:111: BUILDSTDERR: /usr/include/libnet10/./libnet/libnet-functions.h:203:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: libnet_build_ethernet( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sing.c:877:32: warning: pointer targets in passing argument 3 of 'libnet_write_link_layer' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_ip, ntohs(ip_p->ip_len)+LIBNET_ETH_H); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/libnet10/libnet.h:81, BUILDSTDERR: from sing.c:111: BUILDSTDERR: /usr/include/libnet10/./libnet/libnet-functions.h:532:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: libnet_write_link_layer( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sing.c:892:32: warning: pointer targets in passing argument 3 of 'libnet_write_link_layer' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_ip, ntohs(ip_p->ip_len)+LIBNET_ETH_H); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/libnet10/libnet.h:81, BUILDSTDERR: from sing.c:111: BUILDSTDERR: /usr/include/libnet10/./libnet/libnet-functions.h:532:1: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: libnet_write_link_layer( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sing.c: In function 'read_icmp': BUILDSTDERR: sing.c:998:40: warning: pointer targets in passing argument 2 of 'read_pcap' differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_rcv = read_pcap( phandler, &n ); BUILDSTDERR: ^~ BUILDSTDERR: In file included from sing.c:113: BUILDSTDERR: sing.h:167:7: note: expected 'u_int *' {aka 'unsigned int *'} but argument is of type 'int *' BUILDSTDERR: char *read_pcap( pcap_t *, u_int * ); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: sing.c:998:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: buf_rcv = read_pcap( phandler, &n ); BUILDSTDERR: ^ BUILDSTDERR: sing.c:1004:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: &origen, &tam)) == -1 ) && (errno==EINTR)) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from sing.c:49: BUILDSTDERR: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: sing.c:1009:27: warning: pointer targets in passing argument 2 of 'print_pack' differ in signedness [-Wpointer-sign] BUILDSTDERR: print_pack( buf_snd, buf_rcv, n, icp->icmp_type, icp->icmp_code, BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from sing.c:113: BUILDSTDERR: sing.h:168:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: void print_pack( char *, char *, int, u_char, u_char, u_short); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: sing.c: In function 'read_pcap': BUILDSTDERR: sing.c:1083:42: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] BUILDSTDERR: send_arp(packet.orig, mac_src); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from sing.c:113: BUILDSTDERR: sing.h:185:6: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: void send_arp(u_long, u_char *); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: sing.c: In function 'print_dst_unreach': BUILDSTDERR: sing.c:1526:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: host_orig = inet_ntoa(ip->ip_dst); BUILDSTDERR: ^ BUILDSTDERR: sing.c:1528:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: host_orig = thishost->h_name; BUILDSTDERR: ^ BUILDSTDERR: sing.c:1531:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: host_orig = inet_ntoa(ip->ip_dst); BUILDSTDERR: ^ BUILDSTDERR: sing.c: In function 'print_redirect': BUILDSTDERR: sing.c:1614:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(aux_name,inet_ntoa(ip2->ip_src), sizeof(aux_name)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c:1628:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(dest_host,inet_ntoa(ip->ip_dst), sizeof(dest_host)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c:1630:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(dest_host,desthost->h_name, sizeof(dest_host)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c:1634:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(gway_host, inet_ntoa(icmp_rcv->icmp_gwaddr2), sizeof(gway_host)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c:1636:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(gway_host, gwayhost->h_name, sizeof(gway_host)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c:1640:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(dest_host,inet_ntoa(ip->ip_dst),sizeof(dest_host)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c:1641:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strncpy(gway_host, inet_ntoa(icmp_rcv->icmp_gwaddr2), sizeof(gway_host)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c: In function 'init_log': BUILDSTDERR: sing.c:1797:16: warning: pointer targets in passing argument 1 of 'gethostname' differ in signedness [-Wpointer-sign] BUILDSTDERR: gethostname(this_name,sizeof(this_name)); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from sing.c:46: BUILDSTDERR: /usr/include/bits/unistd.h:344:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (gethostname (char *__buf, size_t __buflen)) BUILDSTDERR: ^~~~~ BUILDSTDERR: sing.c: In function 'main': BUILDSTDERR: sing.c:170:6: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: setuid( getuid() ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.c: In function 'parse_args': BUILDSTDERR: parser.c:460:31: warning: pointer targets in passing argument 1 of 'vrfy_mac' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( vrfy_mac(optarg) ) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from parser.c:62: BUILDSTDERR: parser.h:87:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int vrfy_mac( u_char * ); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: parser.c:545:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: packet->pattern = win_data; BUILDSTDERR: ^ BUILDSTDERR: parser.c:559:34: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: case 3: packet->pattern = unix_data; BUILDSTDERR: ^ BUILDSTDERR: parser.c:568:34: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: packet->pattern = cisco_data; BUILDSTDERR: ^ BUILDSTDERR: parser.c:578:34: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: packet->pattern = shiva_data; BUILDSTDERR: ^ BUILDSTDERR: parser.c: In function 'add_router': BUILDSTDERR: parser.c:715:46: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: printf( "Sorry, no more than %d routers allowed.\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: At top level: BUILDSTDERR: sing.c:38:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = BUILDSTDERR: ^~~~~ BUILDSTDERR: parser.c: In function 'vrfy_mac': BUILDSTDERR: parser.c:860:30: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: while ( (substr = strchr( substr,(int)':') )) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from parser.c:36: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern char *strchr (const char *__s, int __c) BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c:860:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] BUILDSTDERR: while ( (substr = strchr( substr,(int)':') )) BUILDSTDERR: ^ BUILDSTDERR: parser.c:873:19: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( strtol(data, (char **)NULL, 16) > 255 || BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from parser.c:48: BUILDSTDERR: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c:874:19: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: strtol(data, (char **)NULL, 16) < 0 ) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from parser.c:48: BUILDSTDERR: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c:876:32: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: packet.mac_src[i]=strtol(data, (char **)NULL, 16); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from parser.c:48: BUILDSTDERR: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c:893:16: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ( strtol(data, (char **)NULL, 16) > 255 || BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from parser.c:48: BUILDSTDERR: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c:894:19: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: strtol(data, (char **)NULL, 16) < 0 ) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from parser.c:48: BUILDSTDERR: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c:897:31: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: packet.mac_src[i] = strtol(data, (char **)NULL, 16); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from parser.c:48: BUILDSTDERR: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: parser.c: In function 'parse_args': BUILDSTDERR: parser.c:388:14: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: seteuid(user_id); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: parser.c:392:14: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: seteuid(tmp_id); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: parser.c:6:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = BUILDSTDERR: ^~~~~ gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c help.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from help.c:14: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: help.c: In function 'help': BUILDSTDERR: help.c:37:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit(0); BUILDSTDERR: ^~~~ BUILDSTDERR: help.c:37:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: help.c:37:3: note: include '' or provide a declaration of 'exit' BUILDSTDERR: help.c:15:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: help.c:37:3: BUILDSTDERR: exit(0); BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: help.c:6:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const char rcsid[] = BUILDSTDERR: ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o sing sing.o device.o ip_options.o parser.o vers_date.o help.o -lresolv -lpcap `/usr/bin/libnet10-config --libs` BUILDSTDERR: /usr/bin/ld: sing.o: in function `go_out_error': BUILDSTDERR: /builddir/build/BUILD/SING-1.1/sing.c:1759: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JpxVKM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 + cd SING-1.1 + rm -rf /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 'INSTALL=install -p' install make[1]: Entering directory '/builddir/build/BUILD/SING-1.1' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/sbin BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/sbin install -p sing /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/sbin/sing make install-man8 make[2]: Entering directory '/builddir/build/BUILD/SING-1.1' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/man/man8 BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/man BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/man/man8 install -p -m 644 ./sing.8 /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/man/man8/sing.8 make[2]: Leaving directory '/builddir/build/BUILD/SING-1.1' make[1]: Leaving directory '/builddir/build/BUILD/SING-1.1' + iconv -f iso-8859-1 -t utf-8 -o LEEME.utf8 LEEME + touch -c -r LEEME LEEME.utf8 + mv -f LEEME.utf8 LEEME + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1-16.fc30 --unique-debug-suffix -1.1-16.fc30.riscv64 --unique-debug-src-base sing-1.1-16.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/SING-1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/sbin/sing extracting debug info from /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/sbin/sing /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 270 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sing-1.1-16.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m2Q2D3 + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + DOCDIR=/builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + cp -pr AUTHORS /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + cp -pr ChangeLog /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + cp -pr COPYING /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + cp -pr README /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + cp -pr THANKS /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + cp -pr LEEME /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64/usr/share/doc/sing + exit 0 Provides: sing = 1.1-16.fc30 sing(riscv-64) = 1.1-16.fc30 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libnet10.so.0()(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: sing-debugsource-1.1-16.fc30.riscv64 Provides: sing-debugsource = 1.1-16.fc30 sing-debugsource(riscv-64) = 1.1-16.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sing-debuginfo-1.1-16.fc30.riscv64 Provides: debuginfo(build-id) = 1d0fa3f0b72012c5d41bd5b8e169faf85172f084 sing-debuginfo = 1.1-16.fc30 sing-debuginfo(riscv-64) = 1.1-16.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sing-debugsource(riscv-64) = 1.1-16.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 Wrote: /builddir/build/RPMS/sing-1.1-16.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/sing-debugsource-1.1-16.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/sing-debuginfo-1.1-16.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2QpfFM + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sing-1.1-16.fc30.riscv64 + exit 0 Child return code was: 0