Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sing.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611951223.540255/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8xhj1fm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8xhj1fm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bf36cc1d32e4408bae9b6bcbdbe7a265', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611951223.540255/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8xhj1fm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611705600 Wrote: /builddir/build/SRPMS/sing-1.1-22.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sing.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611951223.540255/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8xhj1fm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8xhj1fm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '11e0cee734fe498d8a47ab4f385d3ec5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611951223.540255/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v8xhj1fm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y6zyaG + 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 Patch #1 (sing-1.1-suid_log.patch): + echo '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 Patch #2 (sing-1.1-sys_errlist.patch): + echo 'Patch #2 (sing-1.1-sys_errlist.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sys_errlist --fuzz=0 patching file device.c patching file device.h patching file parser.c patching file parser.h patching file sing.c patching file sing.h + autoconf configure.in:8: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... aclocal.m4:15: AM_CONFIG_HEADER is expanded from... configure.in:8: the top level configure.in:8: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:15: AM_CONFIG_HEADER is expanded from... configure.in:8: the top level configure.in:10: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:10: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:10: the top level configure.in:16: warning: The macro `AC_STDC_HEADERS' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.in:16: the top level configure.in:16: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.in:16: the top level configure.in:43: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:43: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:43: the top level configure.in:51: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:51: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:51: the top level configure.in:51: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:51: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:51: the top level configure.in:51: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:51: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:51: the top level configure.in:83: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:83: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:83: the top level configure.in:180: warning: AC_OUTPUT should be used without arguments. configure.in:180: You should run autoupdate. + cp -f /usr/share/automake-1.16/config.guess /usr/share/automake-1.16/config.sub . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oVmKvf + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + 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 2021-01-29 20:14:04.923466860 +0000 +++ ./configure 2021-01-29 20:14:04.950466076 +0000 @@ -1638,7 +1638,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 + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libpcap-0.4/configure + diff -u ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + mv ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libpcap-0.4/configure + diff -u ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + mv ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libpcap-0.4/configure + diff -u ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + mv ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + /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' ./libpcap-0.4/configure + diff -u ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + mv ./libpcap-0.4/configure.backup ./libpcap-0.4/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'\''"#' ./libpcap-0.4/configure + diff -u ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + mv ./libpcap-0.4/configure.backup ./libpcap-0.4/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./Libnet-1.0.1b/configure + diff -u ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + mv ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./Libnet-1.0.1b/configure + diff -u ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + mv ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./Libnet-1.0.1b/configure + diff -u ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + mv ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + /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' ./Libnet-1.0.1b/configure + diff -u ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + mv ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/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'\''"#' ./Libnet-1.0.1b/configure + diff -u ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + mv ./Libnet-1.0.1b/configure.backup ./Libnet-1.0.1b/configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./libpcap-0.4/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./libpcap-0.4/config.sub ++ 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) ++ basename ./libpcap-0.4/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./libpcap-0.4/config.guess ++ 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) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ 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) ++ basename ./Libnet-1.0.1b/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./Libnet-1.0.1b/config.sub ++ 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) ++ basename ./Libnet-1.0.1b/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./Libnet-1.0.1b/config.guess ++ 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' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-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 x86_64-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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/sockio.h... no checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for bstring.h... no checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for sys/param.h... yes checking for netinet/in_systm.h... yes checking for netinet/in_system.h... no checking for net/if.h... yes checking for unistd.h... (cached) 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 config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing default-1 commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j2 V=1 VERBOSE=1 gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vers_date.c vers_date.c:5:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 5 | static const char rcsid[] = | ^~~~~ gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c device.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from device.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ device.c: In function 'get_iface_out': device.c:163:61: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 163 | if ( getsockname( sock_rt, (struct sockaddr *)&iface_out, &len ) == -1 ) | ^~~~ | | | int * In file included from device.c:26: /usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ At top level: device.c:15:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 15 | static const char rcsid[] = | ^~~~~ gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ip_options.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ip_options.c:17: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ip_options.c: In function 'print_rr': ip_options.c:95:20: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 95 | u_char *cursor = ip_opt_rcv, *opt_len = NULL; | ^~~~~~~~~~ ip_options.c:103:64: warning: operation on 'cursor' may be undefined [-Wsequence-point] 103 | write_log(1,"Sent RR -> received %d (len %d)", *cursor, *(++cursor)); | ~^~~~~~~~~ ip_options.c: In function 'print_lssrr': ip_options.c:149:20: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 149 | u_char *cursor = ip_opt_rcv, symbol; | ^~~~~~~~~~ ip_options.c:179:61: warning: operation on 'cursor' may be undefined [-Wsequence-point] 179 | write_log(1,"IPOPT received %d (len %d)!!", *cursor, *(++cursor)); | ~^~~~~~~~~ ip_options.c: In function 'ip_opt_control': ip_options.c:214:16: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 214 | if ( ( punt = strpbrk(host, SR_SYMS) ) ) | ^ ip_options.c:235:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 235 | ip_opt = packet.ipopt = (char *)malloc(IP_OPT_DFL); | ^ ip_options.c: In function 'make_ipopt': ip_options.c:261:15: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 261 | opt_cursor = packet.ipopt = (char *)malloc(IP_OPT_DFL); | ^ ip_options.c:269:25: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 269 | cursor = host_cursor = host; | ^ ip_options.c:282:30: warning: pointer targets in passing argument 1 of 'exist_host' differ in signedness [-Wpointer-sign] 282 | if ( exist_host( host_cursor, &gway_ip[cont_gways]) ) | ^~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from ip_options.c:70: ip_options.h:48:24: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 48 | extern int exist_host( char *, u_long * ); | ^~~~~~ ip_options.c:298:24: warning: pointer targets in passing argument 1 of 'exist_host' differ in signedness [-Wpointer-sign] 298 | if ( exist_host( host_cursor, &gway_ip[cont_gways]) ) | ^~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from ip_options.c:70: ip_options.h:48:24: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 48 | extern int exist_host( char *, u_long * ); | ^~~~~~ At top level: ip_options.c:9:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 9 | static const char rcsid[] = | ^~~~~ In file included from /usr/include/string.h:519, from ip_options.c:39: In function 'strncpy', inlined from 'vrfy_sr' at ip_options.c:380:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'vrfy_sr' at ip_options.c:381:3: /usr/include/bits/string_fortified.h:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ip_options.c: In function 'vrfy_sr': ip_options.c:381:3: note: length computed here 381 | strncat(path2proc,iface,strlen(iface)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c sing.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ sing.c: In function 'build_pack': sing.c:678:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 678 | u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); | ^~~ sing.c:678:32: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 678 | u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); | ^ sing.c: In function 'build_pack_libnet': sing.c:806:19: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 806 | u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); | ^~~ sing.c:806:32: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 806 | u_char *paquete=buf, *punt = (buf_ip+LIBNET_ETH_H); | ^ sing.c:871:43: warning: pointer targets in passing argument 4 of 'libnet_build_ethernet' differ in signedness [-Wpointer-sign] 871 | ETHERTYPE_IP, buf_ip+LIBNET_ETH_H, ntohs(ip_p->ip_len), In file included from /usr/include/libnet10/libnet.h:81, from sing.c:111: /usr/include/libnet10/./libnet/libnet-functions.h:207:5: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' 207 | const u_char *, /* Payload (or NULL) */ | ^~~~~~~~~~~~~~ sing.c:872:24: warning: pointer targets in passing argument 6 of 'libnet_build_ethernet' differ in signedness [-Wpointer-sign] 872 | buf_ip | ^~~~~~ | | | char * In file included from /usr/include/libnet10/libnet.h:81, from sing.c:111: /usr/include/libnet10/./libnet/libnet-functions.h:209:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 209 | u_char * /* Packet header buffer */ | ^~~~~~~~ sing.c:877:32: warning: pointer targets in passing argument 3 of 'libnet_write_link_layer' differ in signedness [-Wpointer-sign] 877 | buf_ip, ntohs(ip_p->ip_len)+LIBNET_ETH_H); | ^~~~~~ | | | char * In file included from /usr/include/libnet10/libnet.h:81, from sing.c:111: /usr/include/libnet10/./libnet/libnet-functions.h:535:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 535 | u_char *, /* Pointer the u_char buf (the packet)to be written */ | ^~~~~~~~ sing.c:892:32: warning: pointer targets in passing argument 3 of 'libnet_write_link_layer' differ in signedness [-Wpointer-sign] 892 | buf_ip, ntohs(ip_p->ip_len)+LIBNET_ETH_H); | ^~~~~~ | | | char * In file included from /usr/include/libnet10/libnet.h:81, from sing.c:111: /usr/include/libnet10/./libnet/libnet-functions.h:535:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 535 | u_char *, /* Pointer the u_char buf (the packet)to be written */ | ^~~~~~~~ sing.c: In function 'read_icmp': sing.c:998:40: warning: pointer targets in passing argument 2 of 'read_pcap' differ in signedness [-Wpointer-sign] 998 | buf_rcv = read_pcap( phandler, &n ); | ^~ | | | int * In file included from sing.c:113: sing.h:163:28: note: expected 'u_int *' {aka 'unsigned int *'} but argument is of type 'int *' 163 | char *read_pcap( pcap_t *, u_int * ); | ^~~~~~~ sing.c:998:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 998 | buf_rcv = read_pcap( phandler, &n ); | ^ sing.c:1004:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 1004 | &origen, &tam)) == -1 ) && (errno==EINTR)) | ^~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from sing.c:49: /usr/include/bits/socket2.h:67:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 67 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sing.c:1009:27: warning: pointer targets in passing argument 2 of 'print_pack' differ in signedness [-Wpointer-sign] 1009 | print_pack( buf_snd, buf_rcv, n, icp->icmp_type, icp->icmp_code, | ^~~~~~~ | | | u_char * {aka unsigned char *} In file included from sing.c:113: sing.h:164:26: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 164 | void print_pack( char *, char *, int, u_char, u_char, u_short); | ^~~~~~ sing.c: In function 'read_pcap': sing.c:1083:42: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 1083 | send_arp(packet.orig, mac_src); | ^~~~~~~ | | | char * In file included from sing.c:113: sing.h:181:23: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 181 | void send_arp(u_long, u_char *); | ^~~~~~~~ sing.c: In function 'print_dst_unreach': sing.c:1526:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1526 | host_orig = inet_ntoa(ip->ip_dst); | ^ sing.c:1528:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1528 | host_orig = thishost->h_name; | ^ sing.c:1531:17: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1531 | host_orig = inet_ntoa(ip->ip_dst); | ^ sing.c: In function 'print_redirect': sing.c:1614:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1614 | strncpy(aux_name,inet_ntoa(ip2->ip_src), sizeof(aux_name)); | ^~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c:1628:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1628 | strncpy(dest_host,inegcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c parser.c t_ntoa(ip->ip_dst), sizeof(dest_host)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c:1630:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1630 | strncpy(dest_host,desthost->h_name, sizeof(dest_host)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c:1634:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1634 | strncpy(gway_host, inet_ntoa(icmp_rcv->icmp_gwaddr2), sizeof(gway_host)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c:1636:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1636 | strncpy(gway_host, gwayhost->h_name, sizeof(gway_host)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c:1640:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1640 | strncpy(dest_host,inet_ntoa(ip->ip_dst),sizeof(dest_host)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c:1641:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1641 | strncpy(gway_host, inet_ntoa(icmp_rcv->icmp_gwaddr2), sizeof(gway_host)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sing.c: In function 'init_log': sing.c:1797:16: warning: pointer targets in passing argument 1 of 'gethostname' differ in signedness [-Wpointer-sign] 1797 | gethostname(this_name,sizeof(this_name)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sing.c:46: /usr/include/bits/unistd.h:365:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 365 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ sing.c: In function 'main': sing.c:170:6: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | setuid( getuid() ); | ^~~~~~~~~~~~~~~~~~ At top level: sing.c:38:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 38 | static const char rcsid[] = | ^~~~~ In file included from /usr/include/string.h:519, from sing.c:80: In function 'strncpy', inlined from 'print_address_reply' at sing.c:1319:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1614:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1640:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1641:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1630:10: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1628:10: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1636:10: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_redirect' at sing.c:1634:10: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from parser.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ parser.c: In function 'parse_args': parser.c:460:31: warning: pointer targets in passing argument 1 of 'vrfy_mac' differ in signedness [-Wpointer-sign] 460 | if ( vrfy_mac(optarg) ) | ^~~~~~ | | | char * In file included from parser.c:62: parser.h:83:15: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 83 | int vrfy_mac( u_char * ); | ^~~~~~~~ parser.c:545:33: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 545 | packet->pattern = win_data; | ^ parser.c:559:34: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 559 | case 3: packet->pattern = unix_data; | ^ parser.c:568:34: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 568 | packet->pattern = cisco_data; | ^ parser.c:578:34: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 578 | packet->pattern = shiva_data; | ^ parser.c: In function 'add_router': parser.c:715:46: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 715 | printf( "Sorry, no more than %d routers allowed.\n", | ~^ | | | int | %ld parser.c: In function 'vrfy_mac': parser.c:860:30: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 860 | while ( (substr = strchr( substr,(int)':') )) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:36: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ parser.c:860:20: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 860 | while ( (substr = strchr( substr,(int)':') )) | ^ parser.c:873:19: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 873 | if ( strtol(data, (char **)NULL, 16) > 255 || | ^~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:48: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ parser.c:874:19: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 874 | strtol(data, (char **)NULL, 16) < 0 ) | ^~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:48: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ parser.c:876:32: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 876 | packet.mac_src[i]=strtol(data, (char **)NULL, 16); | ^~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:48: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ parser.c:893:16: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 893 | if ( strtol(data, (char **)NULL, 16) > 255 || | ^~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:48: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ parser.c:894:19: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 894 | strtol(data, (char **)NULL, 16) < 0 ) | ^~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:48: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ parser.c:897:31: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 897 | packet.mac_src[i] = strtol(data, (char **)NULL, 16); | ^~~~ | | | u_char * {aka unsigned char *} In file included from parser.c:48: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ parser.c: In function 'parse_args': parser.c:388:14: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 388 | seteuid(user_id); | ^~~~~~~~~~~~~~~~ parser.c:392:14: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 392 | seteuid(tmp_id); | ^~~~~~~~~~~~~~~ At top level: parser.c:6:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 6 | static const char rcsid[] = | ^~~~~ In file included from /usr/include/string.h:519, from parser.c:36: In function 'strncpy', inlined from 'parse_args' at parser.c:396:13: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H `/usr/bin/libnet10-config --cflags --defines` -I. -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c help.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ help.c: In function 'help': help.c:37:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 37 | exit(0); | ^~~~ help.c:15:1: note: include '' or provide a declaration of 'exit' 14 | #include +++ |+#include 15 | help.c:37:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 37 | exit(0); | ^~~~ help.c:37:3: note: include '' or provide a declaration of 'exit' At top level: help.c:6:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 6 | static const char rcsid[] = | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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` In function 'strncat', inlined from 'vrfy_sr' at ip_options.c:381:3, inlined from 'main' at sing.c:180:11: /usr/include/bits/string_fortified.h:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^ sing.c: In function 'main': ip_options.c:381:3: note: length computed here 381 | strncat(path2proc,iface,strlen(iface)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EUyKOB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 + cd SING-1.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/SING-1.1' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/sbin mkdir /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr mkdir /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/sbin /usr/bin/install -p sing /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/sbin/sing /usr/bin/make install-man8 make[2]: Entering directory '/builddir/build/BUILD/SING-1.1' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share mkdir /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/man/man8 /usr/bin/install -p -m 644 ./sing.8 /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/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 -j2 --strict-build-id -m -i --build-id-seed 1.1-22.fc34 --unique-debug-suffix -1.1-22.fc34.x86_64 --unique-debug-src-base sing-1.1-22.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/SING-1.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/sbin/sing extracting debug info from /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/sbin/sing original debug info size: 148kB, size after compression: 140kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 270 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sing-1.1-22.fc34.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gbaHrw + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + DOCDIR=/builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + cp -pr AUTHORS /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + cp -pr ChangeLog /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + cp -pr README /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + cp -pr THANKS /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + cp -pr LEEME /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/doc/sing + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Lrtjcn + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + LICENSEDIR=/builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/licenses/sing + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/licenses/sing + cp -pr COPYING /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64/usr/share/licenses/sing + RPM_EC=0 ++ jobs -p + exit 0 Provides: sing = 1.1-22.fc34 sing(x86-64) = 1.1-22.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libnet10.so.0()(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: sing-debugsource-1.1-22.fc34.x86_64 Provides: sing-debugsource = 1.1-22.fc34 sing-debugsource(x86-64) = 1.1-22.fc34 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-22.fc34.x86_64 Provides: debuginfo(build-id) = 781da35a23e9343b47fc1d11a8e984e23cf1fe16 sing-debuginfo = 1.1-22.fc34 sing-debuginfo(x86-64) = 1.1-22.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sing-debugsource(x86-64) = 1.1-22.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 Wrote: /builddir/build/RPMS/sing-debuginfo-1.1-22.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/sing-debugsource-1.1-22.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/sing-1.1-22.fc34.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LvEpHS + umask 022 + cd /builddir/build/BUILD + cd SING-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sing-1.1-22.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0