+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/nessus-libraries.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yjK1gd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nessus-libraries + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/nessus-libraries-2.2.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nessus-libraries + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nessus-libraries-config.patch):' Patch #0 (nessus-libraries-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file nessus-config.pre.in + echo 'Patch #1 (nessus-libraries-2.2.4.Makefile.patch):' Patch #1 (nessus-libraries-2.2.4.Makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libnessus/Makefile + echo 'Patch #2 (nessus-config-multi.patch):' Patch #2 (nessus-config-multi.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file nessus-config.pre.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nddpUj + umask 022 + cd /builddir/build/BUILD + cd nessus-libraries + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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 ./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 ./libpcap-nessus/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./libpcap-nessus/config.sub ++ basename ./libpcap-nessus/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./libpcap-nessus/config.sub '/usr/lib/rpm/redhat/config.sub' -> './libpcap-nessus/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./libpcap-nessus/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./libpcap-nessus/config.guess ++ basename ./libpcap-nessus/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./libpcap-nessus/config.guess '/usr/lib/rpm/redhat/config.guess' -> './libpcap-nessus/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --enable-chiper --disable-nessuspcap --enable-shared --disable-static --with-pic creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for file... /usr/bin/file checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking if the compiler understands -pipe... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c checking for -lresolv... yes checking for -lsocket... no checking for -lnsl... no checking whether byte ordering is bigendian... no checking for dlopen in -ldl... yes Enabling OpenSSL support in /usr checking for RAND_status in -lssl... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for linux/msg.h... yes checking for sys/msg.h... yes checking for sys/ipc.h... yes checking for unistd.h... yes checking for getopt.h... yes checking for string.h... yes checking for strings.h... yes checking for sys/sockio.h... no checking for sys/socketio.h... no checking for sys/uio.h... yes checking for sys/param.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/in_systm.h... (cached) yes checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/ip.h... (cached) yes checking for netinet/udp.h... yes checking for netinet/protocols.h... no checking for netinet/ip_udp.h... no checking for netinet/ip_tcp.h... no checking for netinet/tcpip.h... no checking for sys/socket.h... yes checking for sys/resource.h... yes checking for net/if.h... yes checking for sys/ioctl.h... yes checking for rpc/rpc.h... no checking for dlfcn.h... (cached) yes checking for sys/un.h... yes checking for memory.h... yes checking for ctype.h... yes checking for errno.h... yes checking for sys/types.h... yes checking for stdlib.h... yes checking for stdio.h... yes checking for pthread.h... yes checking for sys/filio.h... no checking for pwd.h... yes checking for assert.h... yes checking for netdb.h... yes checking for arpa/inet.h... yes checking for setjmp.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for fcntl.h... yes checking for signal.h... yes checking for sys/termio.h... no checking for sys/stat.h... yes checking for stat.h... no checking for sys/mman.h... yes checking for termio.h... yes checking for termios.h... yes checking for sgtty.h... yes checking for ptem.h... no checking for sys/ptem.h... no checking for ldterm.h... no checking for sys/ldterm.h... no checking for stropts.h... no checking for values.h... yes checking for sys/param.h... (cached) yes checking for sys/sysctl.h... yes checking for limits.h... yes checking for working alloca.h... yes checking for alloca... yes checking for sigaction... yes checking for sysctl... no checking for setproctitle... no checking for setitimer... yes checking for lstat... yes checking for memmove... yes checking for gettimeofday... yes checking for gethrtime... no checking for getrusage... yes checking for rand... yes checking for strchr... yes checking for memcpy... yes checking for select... yes checking for poll... yes checking for unlockpt... yes checking for vsnprintf... yes checking for snprintf... yes checking for vasnprintf... no checking for vasprintf... yes checking for asprintf... yes checking for asnprintf... no checking for bzero... yes checking for bcopy... yes checking for setsid... yes checking for addr2ascii... no checking for inet_neta... yes checking for lrand48... yes checking for setitimer... (cached) yes checking for sendmsg... yes checking for recvmsg... yes checking for getopt_long... yes checking for openpty in -lutil... yes checking for openpty... yes checking for /dev/ptmx as a character device... yes checking for grantpt... yes checking for ptsname... yes checking for inet_aton... yes checking for inet_aton in -lresolv... yes checking for inet_aton in -lnsl... no checking for yylex in -ll... no checking for yylex in -lfl... no checking for lex_init in -ll... no checking for lex_init in -lfl... no checking for -lpcap... yes checking if sockaddr{} has sa_len member... no checking if struct ifmap exists... checking for time_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct timeval... yes checking if optind is defined in a library already... yes checking if msg_accrights exists in msghdr... no checking if msg_control exists in msghdr... yes checking whether gettimeofday can't accept two arguments... no checking for long file names... yes updating cache ./config.cache creating ./config.status creating nessus.tmpl creating nessus-config.pre creating include/libvers.h creating uninstall-nessus creating include/config.h If you installed an older version of Nessus in the past you should run ./uninstall-nessus as root first. This script will remove the old libraries and binaries left by the older version but will keep your configuration untouched + make -j4 Creating nessus-config ... cd libnessus && make make[1]: Entering directory '/builddir/build/BUILD/nessus-libraries/libnessus' /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c plugutils.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c system.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c network.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c resolve.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c plugutils.c -fPIC -DPIC -o plugutils.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c network.c -fPIC -DPIC -o network.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c resolve.c -fPIC -DPIC -o resolve.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c system.c -fPIC -DPIC -o system.lo network.c: In function 'open_SSL_connection': network.c:536:20: warning: implicit declaration of function 'SSLv2_client_method'; did you mean 'SSLv3_client_method'? [-Wimplicit-function-declaration] fp->ssl_mt = SSLv2_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv3_client_method network.c:536:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fp->ssl_mt = SSLv2_client_method(); ^ network.c:539:7: warning: 'SSLv3_client_method' is deprecated [-Wdeprecated-declarations] fp->ssl_mt = SSLv3_client_method(); ^~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /builddir/build/BUILD/nessus-libraries/include/includes.h:153, from network.c:23: /usr/include/openssl/ssl.h:1616:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */ ^ network.c:539:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] fp->ssl_mt = SSLv3_client_method(); ^ network.c:542:7: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] fp->ssl_mt = TLSv1_client_method(); ^~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /builddir/build/BUILD/nessus-libraries/include/includes.h:153, from network.c:23: /usr/include/openssl/ssl.h:1631:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ network.c:542:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] fp->ssl_mt = TLSv1_client_method(); ^ network.c:545:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] fp->ssl_mt = SSLv23_client_method(); ^ network.c:553:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] fp->ssl_mt = SSLv23_client_method(); ^ plugutils.c: In function 'plug_set_id': plugutils.c:222:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(desc, "ID", ARG_INT, sizeof(int), (void*)id); ^ plugutils.c: In function '_plug_get_id': plugutils.c:229:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)arg_get_value(desc, "ID"); ^ plugutils.c: In function 'plug_set_timeout': plugutils.c:563:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(desc, "TIMEOUT", ARG_INT, sizeof(int), (void *)timeout); ^ plugutils.c: In function '_plug_get_timeout': plugutils.c:571:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)arg_get_value(desc, "TIMEOUT"); ^ plugutils.c: In function 'plug_set_launch': plugutils.c:592:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if(arg_set_value(desc, "ENABLED", sizeof(int), (void *)launch)) ^ plugutils.c:594:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(desc, "ENABLED", ARG_INT, sizeof(int), (void *)launch); ^ plugutils.c: In function 'plug_get_launch': plugutils.c:603:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return((int)arg_get_value(desc, "ENABLED")); ^ plugutils.c: In function 'plug_set_category': plugutils.c:783:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(desc, "CATEGORY", ARG_INT, sizeof(int), (void *)category); ^ plugutils.c: In function '_plug_get_category': plugutils.c:790:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)arg_get_value(desc, "CATEGORY"); /* We don't cache this one */ ^ plugutils.c: In function 'proto_post_wrapped': /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c arglists.c plugutils.c:1132:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] soc = (int)arg_get_value(desc, "SOCKET"); ^ plugutils.c: In function 'plug_get_fresh_key': plugutils.c:1403:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int soc = (int)arg_get_value(globals, "global_socket"); ^ plugutils.c:1439:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)ret; ^ plugutils.c: In function 'plug_set_replace_key': plugutils.c:1455:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int soc = (int)arg_get_value(globals, "global_socket"); ^ plugutils.c:1476:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] kb_item_add_int(kb, name, (int)value); ^ plugutils.c:1478:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(str, "%d %s=%d;\n", ARG_INT, name, (int)value); ^ plugutils.c: In function 'scanner_add_port': plugutils.c:1534:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(globals)confirm = (int)arg_get_value(globals, "confirm"); ^ network.c: In function 'auth_send': network.c:2008:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int soc = (int)arg_get_value(globals, "global_socket"); ^ network.c:2009:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int confirm = (int)arg_get_value(globals, "confirm"); ^ plugutils.c:1565:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] soc = (int)arg_get_value(args, "SOCKET"); ^ network.c: In function 'auth_gets': network.c:2071:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int soc = (int)arg_get_value(globals, "global_socket"); ^ plugutils.c: In function 'plug_get_key': plugutils.c:1672:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ret = (void*)res->v.v_int; ^ plugutils.c:1698:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old = (int)arg_get_value(globals, "global_socket"); ^ plugutils.c:1702:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_set_value(globals, "global_socket", sizeof(int), (void*)soc); ^ plugutils.c:1703:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_set_value(args, "SOCKET", sizeof(int), (void*)soc); ^ plugutils.c:1725:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)old_value; ^ plugutils.c:1692:8: warning: variable 'tictac' set but not used [-Wunused-but-set-variable] int tictac = 0; ^~~~~~ plugutils.c:1749:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] upstream = (int)arg_get_value(globals, "global_socket"); ^ plugutils.c: In function 'plug_set_port_transport': plugutils.c:1856:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] plug_set_key(args, s, ARG_INT, (void*)tr); ^ plugutils.c: In function 'shared_socket_register': plugutils.c:2022:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] soc = (int)arg_get_value(args, "SOCKET"); ^ network.c: In function 'renice_myself': network.c:119:3: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(1); ^~~~~~~ plugutils.c: In function 'shared_socket_acquire': plugutils.c:2047:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] soc = (int)arg_get_value(args, "SOCKET"); ^ plugutils.c: In function 'shared_socket_release': plugutils.c:2079:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] soc = (int)arg_get_value(args, "SOCKET"); ^ plugutils.c: In function 'shared_socket_destroy': plugutils.c:2087:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] soc = (int)arg_get_value(args, "SOCKET"); ^ /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c ftp_funcs.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c arglists.c -fPIC -DPIC -o arglists.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c ftp_funcs.c -fPIC -DPIC -o ftp_funcs.lo arglists.c: In function 'arg_dump': arglists.c:401:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)args->value); ^ arglists.c:406:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)args->value); ^ /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c scanners_utils.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c pcap.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c hlst.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c harglists.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c scanners_utils.c -fPIC -DPIC -o scanners_utils.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c pcap.c -fPIC -DPIC -o pcap.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c hlst.c -fPIC -DPIC -o hlst.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c harglists.c -fPIC -DPIC -o harglists.lo pcap.c: In function 'getinterfaces': pcap.c:332:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((*(char **)&ifr) += sizeof(ifr->ifr_name) + len )) { ^ scanners_utils.c: In function 'comm_send_status': scanners_utils.c:41:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int soc = (int)arg_get_value(globals, "global_socket"); ^ scanners_utils.c:54:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ scanners_utils.c:57:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if(caps->ntp_11) ^~ pcap.c: In function 'routethrough': pcap.c:446:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), routez); /* Kill the first line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ harglists.c: In function 'do_printf': harglists.c:468:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf (stderr, "<0x%04X/%d> = ", (unsigned int)s,(int)(s)); ^ harglists.c:468:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf (stderr, "<0x%04X/%d> = ", (unsigned int)s,(int)(s)); ^ harglists.c: In function 'harg_inct': harglists.c:911:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *R = create_harg (type, (void*)inc, sizeof (int)); ^ harglists.c:913:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)(*R)->d.d.ptr [0]; ^ harglists.c:931:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] r->d.d.ptr [0] = (void*)((int)(r->d.d.ptr [0]) + inc) ; ^ harglists.c:931:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r->d.d.ptr [0] = (void*)((int)(r->d.d.ptr [0]) + inc) ; ^ harglists.c:932:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)r->d.d.ptr [0]; ^ harglists.c:936:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (inc_op_notnegtv_record (incop) && (int)r->d.d.ptr [0] < inc) { ^ harglists.c:940:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (inc_op_notpostv_record (incop) && (int)r->d.d.ptr [0] > inc) { ^ harglists.c:944:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (inc_op_destroy0_record (incop) && (int)r->d.d.ptr [0] <= inc) { ^ harglists.c:948:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] r->d.d.ptr [0] = (void*)((int)(r->d.d.ptr [0]) - inc) ; ^ harglists.c:948:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r->d.d.ptr [0] = (void*)((int)(r->d.d.ptr [0]) - inc) ; ^ harglists.c:950:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)r->d.d.ptr [0]; ^ /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c getopt.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c getopt1.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c getopt.c -fPIC -DPIC -o getopt.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c www_funcs.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c diff.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c getopt1.c -fPIC -DPIC -o getopt1.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c www_funcs.c -fPIC -DPIC -o www_funcs.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c diff.c -fPIC -DPIC -o diff.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c ids_send.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c rand.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c ids_send.c -fPIC -DPIC -o ids_send.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c rand.c -fPIC -DPIC -o rand.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c popen.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -c bpf_share.c ids_send.c: In function 'which_ttl': ids_send.c:168:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(f, rd, sizeof(rd) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c popen.c -fPIC -DPIC -o popen.lo ids_send.c: In function 'inject': ids_send.c:336:13: warning: 'ttl' may be used uninitialized in this function [-Wmaybe-uninitialized] ip->ip_ttl = which_ttl(method, old_ip->ip_ttl); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -c bpf_share.c -fPIC -DPIC -o bpf_share.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -c services.c rand.c: In function 'nessus_init_random': rand.c:46:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void) fread(&x, sizeof(x), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -DCONF_DIR=\"/etc\" -c services1.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -c services.c -fPIC -DPIC -o services.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -DCONF_DIR=\"/etc\" -c services1.c -fPIC -DPIC -o services1.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c proctitle.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -c store.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c proctitle.c -fPIC -DPIC -o proctitle.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -DNESSUS_STATE_DIR=\"/var/lib\" -c store.c -fPIC -DPIC -o store.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c snprintf.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c kb.c gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c snprintf.c -fPIC -DPIC -o snprintf.lo gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c kb.c -fPIC -DPIC -o kb.lo /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c share_fd.c store.c: In function 'store_load_plugin': store.c:317:67: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ( p.timeout != 0 ) arg_add_value(ret, "TIMEOUT", ARG_INT, -1, (void*)p.timeout); ^ store.c: In function 'store_plugin': store.c:531:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, pp, sizeof(pp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -I../ -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -g -c share_fd.c -fPIC -DPIC -o share_fd.lo kb.c: In function 'plug_get_oldstyle_kb': kb.c:338:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(ret, k->name, ARG_INT, -1, (void*)k->v.v_int); ^ /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -o libnessus.la plugutils.lo system.lo network.lo resolve.lo arglists.lo ftp_funcs.lo scanners_utils.lo pcap.lo hlst.lo harglists.lo getopt.lo getopt1.lo www_funcs.lo diff.lo ids_send.lo rand.lo popen.lo bpf_share.lo services.lo services1.lo proctitle.lo store.lo snprintf.lo kb.lo share_fd.lo -rpath /usr/lib64 \ -version-info 4:11:2 mkdir .libs rm -fr .libs/libnessus.la .libs/libnessus.* .libs/libnessus.* (cd . && ln -s plugutils.lo plugutils.o) (cd . && ln -s system.lo system.o) (cd . && ln -s network.lo network.o) (cd . && ln -s resolve.lo resolve.o) (cd . && ln -s arglists.lo arglists.o) (cd . && ln -s ftp_funcs.lo ftp_funcs.o) (cd . && ln -s scanners_utils.lo scanners_utils.o) (cd . && ln -s pcap.lo pcap.o) (cd . && ln -s hlst.lo hlst.o) (cd . && ln -s harglists.lo harglists.o) (cd . && ln -s getopt.lo getopt.o) (cd . && ln -s getopt1.lo getopt1.o) (cd . && ln -s www_funcs.lo www_funcs.o) (cd . && ln -s diff.lo diff.o) (cd . && ln -s ids_send.lo ids_send.o) (cd . && ln -s rand.lo rand.o) (cd . && ln -s popen.lo popen.o) (cd . && ln -s bpf_share.lo bpf_share.o) (cd . && ln -s services.lo services.o) (cd . && ln -s services1.lo services1.o) (cd . && ln -s proctitle.lo proctitle.o) (cd . && ln -s store.lo store.o) (cd . && ln -s snprintf.lo snprintf.o) (cd . && ln -s kb.lo kb.o) (cd . && ln -s share_fd.lo share_fd.o) gcc -shared plugutils.lo system.lo network.lo resolve.lo arglists.lo ftp_funcs.lo scanners_utils.lo pcap.lo hlst.lo harglists.lo getopt.lo getopt1.lo www_funcs.lo diff.lo ids_send.lo rand.lo popen.lo bpf_share.lo services.lo services1.lo proctitle.lo store.lo snprintf.lo kb.lo share_fd.lo -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libnessus.so.2 -o .libs/libnessus.so.2.2.11 (cd .libs && rm -f libnessus.so.2 && ln -s libnessus.so.2.2.11 libnessus.so.2) (cd .libs && rm -f libnessus.so && ln -s libnessus.so.2.2.11 libnessus.so) creating libnessus.la (cd .libs && rm -f libnessus.la && ln -s ../libnessus.la libnessus.la) make[1]: Leaving directory '/builddir/build/BUILD/nessus-libraries/libnessus' cd libhosts_gatherer && make make[1]: Entering directory '/builddir/build/BUILD/nessus-libraries/libhosts_gatherer' /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_utils.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_add_hosts.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_subnet.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_filter.c gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_filter.c -fPIC -DPIC -o hg_filter.lo gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_subnet.c -fPIC -DPIC -o hg_subnet.lo gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_utils.c -fPIC -DPIC -o hg_utils.lo gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_add_hosts.c -fPIC -DPIC -o hg_add_hosts.lo hg_add_hosts.c: In function 'hg_add_comma_delimited_hosts': hg_add_hosts.c:367:24: warning: comparison between pointer and zero character constant [-Wpointer-compare] while((*p == ' ')&&(p!='\0')) ^~ hg_add_hosts.c:367:23: note: did you mean to dereference the pointer? while((*p == ' ')&&(p!='\0')) ^ /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hosts_gatherer.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_debug.c /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_dns_axfr.c gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hosts_gatherer.c -fPIC -DPIC -o hosts_gatherer.lo gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_debug.c -fPIC -DPIC -o hg_debug.lo gcc -pipe -DHAVE_CONFIG_H -DNESSUS_ON_SSL -I. -DHAVE_SSL -I/usr/include/openssl -I/builddir/build/BUILD/nessus-libraries/include -I/builddir/build/BUILD/nessus-libraries/libpcap-nessus -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 -c hg_dns_axfr.c -fPIC -DPIC -o hg_dns_axfr.lo hg_dns_axfr.c: In function 'hg_dns_axfr_add_host': hg_dns_axfr.c:86:9: warning: implicit declaration of function '_getshort'; did you mean '__putshort'? [-Wimplicit-function-declaration] type = _getshort(cp); ^~~~~~~~~ __putshort /bin/sh /builddir/build/BUILD/nessus-libraries/libtool gcc -pipe -o libhosts_gatherer.la hg_utils.lo hg_add_hosts.lo hg_subnet.lo hg_filter.lo hosts_gatherer.lo hg_debug.lo hg_dns_axfr.lo -rpath /usr/lib64 \ -version-info 4:11:2 mkdir .libs rm -fr .libs/libhosts_gatherer.la .libs/libhosts_gatherer.* .libs/libhosts_gatherer.* (cd . && ln -s hg_utils.lo hg_utils.o) (cd . && ln -s hg_add_hosts.lo hg_add_hosts.o) (cd . && ln -s hg_subnet.lo hg_subnet.o) (cd . && ln -s hg_filter.lo hg_filter.o) (cd . && ln -s hosts_gatherer.lo hosts_gatherer.o) (cd . && ln -s hg_debug.lo hg_debug.o) (cd . && ln -s hg_dns_axfr.lo hg_dns_axfr.o) gcc -shared hg_utils.lo hg_add_hosts.lo hg_subnet.lo hg_filter.lo hosts_gatherer.lo hg_debug.lo hg_dns_axfr.lo -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libhosts_gatherer.so.2 -o .libs/libhosts_gatherer.so.2.2.11 (cd .libs && rm -f libhosts_gatherer.so.2 && ln -s libhosts_gatherer.so.2.2.11 libhosts_gatherer.so.2) (cd .libs && rm -f libhosts_gatherer.so && ln -s libhosts_gatherer.so.2.2.11 libhosts_gatherer.so) creating libhosts_gatherer.la (cd .libs && rm -f libhosts_gatherer.la && ln -s ../libhosts_gatherer.la libhosts_gatherer.la) make[1]: Leaving directory '/builddir/build/BUILD/nessus-libraries/libhosts_gatherer' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VdEkFD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 + cd nessus-libraries + rm -rf /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus cd libnessus && make install make[1]: Entering directory '/builddir/build/BUILD/nessus-libraries/libnessus' test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode install /usr/bin/install -c libnessus.la /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64/libnessus.la /usr/bin/install -c .libs/libnessus.so.2.2.11 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64/libnessus.so.2.2.11 (cd /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 && rm -f libnessus.so.2 && ln -s libnessus.so.2.2.11 libnessus.so.2) (cd /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 && rm -f libnessus.so && ln -s libnessus.so.2.2.11 libnessus.so) /usr/bin/install -c .libs/libnessus.lai /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64/libnessus.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --finish /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 PATH="$PATH:/sbin" ldconfig -n /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[1]: Leaving directory '/builddir/build/BUILD/nessus-libraries/libnessus' cd libhosts_gatherer && make install make[1]: Entering directory '/builddir/build/BUILD/nessus-libraries/libhosts_gatherer' test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --mode install /usr/bin/install -c libhosts_gatherer.la /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 /usr/bin/install -c .libs/libhosts_gatherer.so.2.2.11 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64/libhosts_gatherer.so.2.2.11 (cd /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 && rm -f libhosts_gatherer.so.2 && ln -s libhosts_gatherer.so.2.2.11 libhosts_gatherer.so.2) (cd /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 && rm -f libhosts_gatherer.so && ln -s libhosts_gatherer.so.2.2.11 libhosts_gatherer.so) /usr/bin/install -c .libs/libhosts_gatherer.lai /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64/libhosts_gatherer.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/sh /builddir/build/BUILD/nessus-libraries/libtool --finish /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 PATH="$PATH:/sbin" ldconfig -n /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/lib64 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[1]: Leaving directory '/builddir/build/BUILD/nessus-libraries/libhosts_gatherer' /usr/bin/install -c -m 0444 include/includes.h /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus /usr/bin/install -c -m 0444 include/libnessus.h /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus /usr/bin/install -c -m 0444 include/harglists.h /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus /usr/bin/install -c -m 0444 include/libvers.h /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus /usr/bin/install -c -m 0444 include/getopt.h /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/include/nessus test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/bin || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/bin test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/sbin || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/sbin /usr/bin/install -c -m 0755 nessus-config /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/bin/nessus-config /usr/bin/install -c -m 0755 uninstall-nessus /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/sbin/uninstall-nessus test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/man || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/man test -d /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/man/man1 || /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 0644 nessus-config.1 /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/man/man1 -------------------------------------------------------------- nessus-libraries has been sucessfully installed. Make sure that /usr/bin is in your PATH before you continue Be sure to add /usr/lib64 in /etc/ld.so.conf and type 'ldconfig' -------------------------------------------------------------- + mkdir -m 0755 -p /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/var/lib/nessus + touch -r VERSION /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/var/lib/nessus/services.tcp /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/var/lib/nessus/services.udp /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/var/lib/nessus/services.txt + touch -r VERSION /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/bin/nessus-config + rm -f /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64//usr/lib64/libhosts_gatherer.la /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64//usr/lib64/libnessus.la + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nessus-libraries-2.2.11-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iBrl05 + umask 022 + cd /builddir/build/BUILD + cd nessus-libraries + DOCDIR=/builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/doc/nessus-libraries + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/doc/nessus-libraries + cp -pr libnessus/COPYING /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64/usr/share/doc/nessus-libraries + exit 0 Provides: libhosts_gatherer.so.2()(64bit) libnessus.so.2()(64bit) nessus-libraries = 2.2.11-15.fc28 nessus-libraries(riscv-64) = 2.2.11-15.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) rtld(GNU_HASH) Processing files: nessus-libraries-devel-2.2.11-15.fc28.riscv64 Provides: nessus-libraries-devel = 2.2.11-15.fc28 nessus-libraries-devel(riscv-64) = 2.2.11-15.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libhosts_gatherer.so.2()(64bit) libnessus.so.2()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/nessus-libraries-2.2.11-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/nessus-libraries-2.2.11-15.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/nessus-libraries-devel-2.2.11-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KD6axW + umask 022 + cd /builddir/build/BUILD + cd nessus-libraries + rm -rf /builddir/build/BUILDROOT/nessus-libraries-2.2.11-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff