* Package: net-analyzer/nessus-client-1.0.2-r2 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking NessusClient-1.0.2.tar.gz to /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work >>> Unpacking nessus-client.png.bz2 to /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2 ... * Applying nessus-client-1.0.2-make.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2 ... * econf: updating NessusClient-1.0.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating NessusClient-1.0.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 creating cache ./config.cache checking host system type... x86_64-pc-linux-gnu checking for gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed) works... yes checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 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 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/param.h... yes checking for netinet/tcpip.h... no checking for netinet/in_systm.h... yes checking for netinet/ip_udp.h... no checking for netinet/protocols.h... no checking for sys/ioctl.h... yes checking for netinet/ip_icmp.h... yes checking for rpc/rpc.h... no checking for netinet/udp.h... yes checking for dlfcn.h... 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 sys/filio.h... no checking for pwd.h... yes checking for assert.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for netinet/ip_tcp.h... no checking for fcntl.h... yes checking for signal.h... yes checking for limits.h... yes checking for sys/stat.h... yes checking for stat.h... no checking for net/if.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for dl.h... no checking for pty.h... yes checking for termio.h... yes checking for termios.h... yes checking for sgtty.h... yes checking for libutil.h... no checking for setjmp.h... yes checking for values.h... yes checking for locale.h... yes checking for sys/socket.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for working alloca.h... yes checking for alloca... yes checking for wait3 that fills in rusage... yes checking for waitpid... yes checking for wait4... yes checking for mmap... yes checking for atexit... 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 vsnprintf... yes checking for bzero... yes checking for bcopy... yes checking for setsid... yes checking for rint... no checking for mkstemp... yes checking for addr2ascii... no checking for inet_neta... no checking for setproctitle... no checking for _exit... yes checking size of unsigned int... 4 checking size of unsigned long... 8 checking whether byte ordering is bigendian... no 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 dlopen in -ldl... yes Enabling OpenSSL support in /usr checking for struct timeval... yes checking whether gettimeofday can't accept two arguments... no checking for a working regexp implementation... no checking GNU gettext available... yes checking for X... libraries /usr/lib64, headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for long file names... yes checking for -lsocket... no checking for -lnsl... yes checking for -lresolv... yes checking for inet_aton in -lc... yes checking for inet_aton in -lresolv... yes checking for compress in -lz... yes checking for dlopen in -ldl... (cached) yes checking for getopt_long... yes checking for snprintf... yes checking if sockaddr{} has sa_len member... no checking whether struct sigaction has sa_restorer... yes checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 >= 2.0.0... yes checking GTKCONFIG_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 checking GTKCONFIG_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype checking for ar... /usr/bin/ar updating cache ./config.cache creating ./config.status creating nessus.tmpl creating include/corevers.h creating nessusclient-mkcert creating doc/NessusClient.1 creating include/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2 ... make -j1 make -C libnessus make[1]: Entering directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/libnessus' x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c system.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c network.c network.c: In function ‘auth_send’: network.c:1236: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:1237:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int confirm = (int)arg_get_value(globals, "confirm"); ^ network.c: In function ‘auth_gets’: network.c:1299:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int soc = (int)arg_get_value(globals, "global_socket"); ^ x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c resolve.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c arglists.c arglists.c: In function ‘arg_dump’: arglists.c:437:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)args->value); ^ arglists.c:442:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)args->value); ^ x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c hlst.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c harglists.c harglists.c: In function ‘do_printf’: harglists.c:493:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf (stderr, "<0x%04X/%d> = ", (void*)s,(int)(s)); ^ harglists.c:493:31: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘void *’ [-Wformat=] fprintf (stderr, "<0x%04X/%d> = ", (void*)s,(int)(s)); ~~~^ ~~~~~~~~ %04p harglists.c: In function ‘harg_addt’: harglists.c:677:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] size == 0 && ((value == 0) && is_blob_type (type) || harglists.c:677:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] size == 0 && ((value == 0) && is_blob_type (type) || ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verify_simple_type (type, HARG_BLOB))) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ harglists.c: In function ‘harg_set_valuet’: harglists.c:741:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] size == 0 && (value == 0 && is_blob_type (type) || harglists.c:741:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] size == 0 && (value == 0 && is_blob_type (type) || ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verify_simple_type (type, HARG_BLOB))) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ harglists.c: In function ‘harg_renamet’: harglists.c:831:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (is_blob_type (ntype) && is_blob_type (r->type) || harglists.c: In function ‘harg_inct’: harglists.c:936:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *R = create_harg (type, (void*)inc, sizeof (int)); ^ harglists.c:938:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)(*R)->d.d.ptr [0]; ^ harglists.c:956: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:956: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:957:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)r->d.d.ptr [0]; ^ harglists.c:961: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:965: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:969: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:973: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:973: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:975:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)r->d.d.ptr [0]; ^ At top level: harglists.c:295:1: warning: ‘debug’ defined but not used [-Wunused-function] debug ^~~~~ harglists.c:201:1: warning: ‘xrealloc’ defined but not used [-Wunused-function] xrealloc ^~~~~~~~ x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c getopt.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c getopt1.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c rand.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c snprintf.c x86_64-pc-linux-gnu-gcc -I../ -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include -O2 -pipe -march=native -g -Wall -I. -I/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include "-DNESSUSD_CONFDIR=\"/etc\"" "-DNESSUSD_STATEDIR=\"/var/lib/nessus\"" "-DNESSUSD_DATADIR=\"/etc/nessus\"" "-DNESSUSD_LIBDIR=\"/usr/lib64/nessus\"" "-DNESSUSD_PLUGINS=\"/usr/lib64/nessus/plugins\"" "-DNESSUSD_REPORTS=\"/usr/lib64/nessus/reports\"" -DNESSUSD_SHAREDSTATEDIR=\"/usr/com/nessus\" -DNESSUSD_LOGDIR=\"/var/lib/nessus/logs\" -DNESSUS_DOCDIR=\"//usr/share/doc/nessus-client-1.0.2-r2\" -DHAVE_SSL -I/usr/include/openssl -c addslashes.c /usr/bin/ar rc libnessus-client.a system.o network.o resolve.o arglists.o hlst.o harglists.o getopt.o getopt1.o rand.o snprintf.o addslashes.o make[1]: Leaving directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/libnessus' make -C nessus make[1]: Entering directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/nessus' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c auth.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c nessus_plugin.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c comm.c comm.c: In function ‘comm_get_preferences’: comm.c:441:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)arg_get_value(plugs_prefs, fullname); ^ comm.c: In function ‘comm_add_plugin’: comm.c:865:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(pluginset, asc_id, ARG_INT, sizeof(int), (void *)enabled); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c sighand.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c xstuff.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c cli.c cli.c: In function ‘cli_test_monitor’: cli.c:203:14: warning: variable ‘plug’ set but not used [-Wunused-but-set-variable] char * plug = NULL; ^~~~ cli.c: In function ‘cli_report’: cli.c:468:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cli->output((struct arglist*)cli->backend, cli->results); ^ cli.c: In function ‘cli_dump_prefs’: cli.c:722:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("%s = %d\n", p->name, (int)p->value); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c parser.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c plugin_infos.c plugin_infos.c: In function ‘do_set_timeout’: plugin_infos.c:146:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] id = (int)arg_get_value(ctrls, "ID"); ^ plugin_infos.c: In function ‘set_timeout_build_window’: plugin_infos.c:209:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(ctrls, "ID", ARG_INT, sizeof(int), (void*)id); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from plugin_infos.c:35: plugin_infos.c: In function ‘plugin_info_window_setup’: plugin_infos.c:411:82: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] connect(GTK_OBJECT(button), "clicked",GTK_SIGNAL_FUNC(set_timeout), (void*)plugin->id); ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c context.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c preferences.c preferences.c: In function ‘plugin_id’: preferences.c:59:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)arg_get_value(plugin, "ID"); ^ preferences.c: In function ‘prefs_buffer_parse’: preferences.c:379:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add(arglist, opt, ARG_INT, sizeof(int), (void *)atoi(t)); ^ preferences.c:391:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add(arglist, opt, ARG_INT, sizeof(int), (void *)val); ^ preferences.c: In function ‘new_pluginset’: preferences.c:410:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(pluginset, name, ARG_INT, sizeof(int), (void*)(plugins->enabled != 0) ); ^ preferences.c: In function ‘pluginset_reload’: preferences.c:496:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pluginset_entry->value = (void *)(plugins->enabled != 0 ); ^ preferences.c: In function ‘preferences_save_as’: preferences.c:543:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(fd, "%s = %d\n", t->name, (int)t->value); ^ preferences.c: In function ‘prefs_set_int’: preferences.c:787:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] prefs_set_value(context, name, (void *)value, ARG_INT); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c families.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c attack.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c report.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c report_save.c report_save.c: In function ‘file_save_ok_callback’: report_save.c:84:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int type = (int)gtk_object_get_data(GTK_OBJECT(active), "type"); ^ report_save.c:89:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int be = (int)arg_get_value(arg_get_value(MainDialog, "REPORT"), "BE"); ^ report_save.c: In function ‘report_open_pdf’: report_save.c:314:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int be = (int)arg_get_value(arg_get_value(ctrls, "REPORT"), "BE"); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c report_utils.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c nsr_output.c nsr_output.c: In function ‘backend_to_nsr’: nsr_output.c:204:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, data, strlen(data)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nsr_output.c:206:33: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] if(subset_nth_value(r, i+1))write(fd, "|", 1); ^~~~~~~~~~~~~~~~~ nsr_output.c:209:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "\n", 1); ^~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c nbe_output.c nbe_output.c: In function ‘nbe_to_backend’: nbe_output.c:56:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(befd, buf, e); ^~~~~~~~~~~~~~~~~~~ nbe_output.c: In function ‘backend_to_nbe’: nbe_output.c:120:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, e); ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c html_output.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c latex_output.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c text_output.c text_output.c: In function ‘printf_formatted_text’: text_output.c:64:8: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] char *c; ^ At top level: text_output.c:35:12: warning: ‘line_length’ defined but not used [-Wunused-function] static int line_length(char * text) ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c xml_output.c xml_output.c: In function ‘arglist_to_xml’: xml_output.c:138:8: warning: variable ‘port’ set but not used [-Wunused-but-set-variable] char *port; ^~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c xml_output_ng.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c html_graph_output.c html_graph_output.c: In function ‘create_host_report’: html_graph_output.c:931:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir(name); ^~~~~~~~~~~ html_graph_output.c:1022:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c error_dialog.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c password_dialog.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c monitor_dialog.c monitor_dialog.c: In function ‘monitor_dialog_setup’: monitor_dialog.c:153:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(ctrls, "MONITOR_BACKEND", ARG_INT, -1, (void*)backend); ^ monitor_dialog.c:207:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] arg_add_value(ctrls, "TAG", ARG_INT, sizeof(int), (void*)tag); ^ In file included from /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include/includes.h:268, from monitor_dialog.c:30: monitor_dialog.c: In function ‘monitor_list_update’: /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include/harglists.h:1233:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define harg_get_int( d,k) ((int)harg_get_valuet ((d), (k),HARG_INT)) ^ monitor_dialog.c:264:6: note: in expansion of macro ‘harg_get_int’ v = harg_get_int(hosts, hostname); ^~~~~~~~~~~~ /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include/harglists.h:1192:110: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ) harg_set_valuet ((d), (k),HARG_INT, 0, (void*)(n)) ^ monitor_dialog.c:272:3: note: in expansion of macro ‘harg_set_int’ harg_set_int(hosts, hostname, v); ^~~~~~~~~~~~ monitor_dialog.c: In function ‘monitor_stop_whole_test’: monitor_dialog.c:517:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_idle_remove((int)arg_get_value(ctrls, "TAG")); ^ monitor_dialog.c:531:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] type = parse_server_message(context, buf, (int)arg_get_value(ctrls, "MONITOR_BACKEND"), msg); ^ monitor_dialog.c:541:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] report_save(context, (int)arg_get_value(ctrls, "MONITOR_BACKEND"), NULL); ^ monitor_dialog.c:512:13: warning: unused variable ‘parent’ [-Wunused-variable] GtkWindow* parent = arg_get_value(ctrls, "PARENT"); ^~~~~~ monitor_dialog.c: In function ‘monitor_input_callback’: monitor_dialog.c:585:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] type = parse_server_message(context, buf, (int)arg_get_value(ctrls, "MONITOR_BACKEND"), msg); ^ monitor_dialog.c:610:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_idle_remove((int)arg_get_value(ctrls, "TAG")); ^ monitor_dialog.c:615:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] report_save(context, (int)arg_get_value(ctrls, "MONITOR_BACKEND"), NULL); ^ monitor_dialog.c:556:14: warning: unused variable ‘parent’ [-Wunused-variable] GtkWindow* parent = arg_get_value(ctrls, "PARENT"); ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c backend.c backend.c: In function ‘backend_fd’: backend.c:139:1: warning: type of ‘be’ defaults to ‘int’ [-Wimplicit-int] backend_fd(be) ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c data_mining.c data_mining.c: In function ‘be_index_keywords’: data_mining.c:109:1: warning: type of ‘be’ defaults to ‘int’ [-Wimplicit-int] be_index_keywords(be) ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_dialog.c In file included from prefs_dialog/prefs_dialog.c:39: prefs_dialog/prefs_dialog.c: In function ‘prefs_dialog_setup’: ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog.c:770:8: note: in expansion of macro ‘prefs_get_int’ !prefs_get_int(Global, "hide_toolbar")); ^~~~~~~~~~~~~ ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog.c:774:7: note: in expansion of macro ‘prefs_get_int’ prefs_get_int(Global, "hide_msglog")); ^~~~~~~~~~~~~ prefs_dialog/prefs_dialog.c: In function ‘prefs_dialog_set_defaults’: prefs_dialog/prefs_dialog.c:989:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] v = (int)arg_get_value(serv, "unscanned_closed"); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_scope_tree.c In file included from prefs_dialog/prefs_scope_tree.c:29: prefs_dialog/prefs_scope_tree.c: In function ‘scopetreeview_selection_func’: ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_scope_tree.c:729:8: note: in expansion of macro ‘prefs_get_int’ if(prefs_get_int(Global, "tree_autoexpand")) ^~~~~~~~~~~~~ prefs_dialog/prefs_scope_tree.c: In function ‘cell_counts’: prefs_dialog/prefs_scope_tree.c:749:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_tree_model_get(tree_model, iter, (gint) data, &value, -1); ^ prefs_dialog/prefs_scope_tree.c: In function ‘scopetreestore_counters_update’: prefs_dialog/prefs_scope_tree.c:594:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d %d", &h, &w, &n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_dialog_misc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_dialog_scan_opt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_dialog_user.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_dialog_auth.c prefs_dialog/prefs_dialog_auth.c: In function ‘prefs_dialog_auth_defaultport_clicked’: prefs_dialog/prefs_dialog_auth.c:101:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)prefs_get_default(auth->context, "nessusd_port")); ^ In file included from prefs_dialog/prefs_dialog_auth.c:30: prefs_dialog/prefs_dialog_auth.c: In function ‘prefs_dialog_auth_trusted_ca’: ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog_auth.c:177:24: note: in expansion of macro ‘prefs_get_int’ int paranoia_level = prefs_get_int(context, "paranoia_level"); ^~~~~~~~~~~~~ prefs_dialog/prefs_dialog_auth.c: In function ‘prefs_dialog_auth_create_dialog’: ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog_auth.c:438:7: note: in expansion of macro ‘prefs_get_int’ prefs_get_int(context, "nessusd_port"), 1, 65535, 1, 100, 100); ^~~~~~~~~~~~~ ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog_auth.c:517:7: note: in expansion of macro ‘prefs_get_int’ prefs_get_int(context, "use_ssl") && ^~~~~~~~~~~~~ ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog_auth.c:530:7: note: in expansion of macro ‘prefs_get_int’ prefs_get_int(context, "use_client_cert")); ^~~~~~~~~~~~~ prefs_dialog/prefs_dialog_auth.c: In function ‘prefs_dialog_auth_connection’: ./preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ prefs_dialog/prefs_dialog_auth.c:671:7: note: in expansion of macro ‘prefs_get_int’ !prefs_get_int(Global, "nessusd_autoconnect") || ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_dialog_plugins_prefs.c prefs_dialog/prefs_dialog_plugins_prefs.c: In function ‘pprefs_add_radio’: prefs_dialog/prefs_dialog_plugins_prefs.c:501:23: warning: variable ‘first_button’ set but not used [-Wunused-but-set-variable] GtkWidget *button, *first_button; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_plugins.c prefs_dialog/prefs_plugins.c: In function ‘prefs_dialog_plugins’: prefs_dialog/prefs_plugins.c:236:17: warning: variable ‘model’ set but not used [-Wunused-but-set-variable] GtkTreeModel *model; ^~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_plugins_tree.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_target.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_about.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/prefs_kb.c prefs_dialog/prefs_kb.c: In function ‘pref_set’: prefs_dialog/prefs_kb.c:130:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)arg_get_value(arglist, name); ^ prefs_dialog/prefs_kb.c: In function ‘prefs_dialog_kb_get_prefs’: prefs_dialog/prefs_kb.c:259:2: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] else ^~~~ prefs_dialog/prefs_kb.c:263:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ bt = arg_get_value(ctrls, "NO_DENIAL"); ^~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c prefs_dialog/listnotebook.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c read_target_file.c read_target_file.c: In function ‘target_file_to_list’: read_target_file.c:77:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] int n, i, offs, left ; ^ cd gdchart0.94b && make make[2]: Entering directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/nessus/gdchart0.94b' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ../cflags` -Igd1.3 -I. -c gdc.c gdc.c: In function ‘out_err’: gdc.c:151:8: warning: variable ‘bgclr’ set but not used [-Wunused-but-set-variable] int bgclr; ^~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ../cflags` -Igd1.3 -I. -c gdchart.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ../cflags` -Igd1.3 -I. -c price_conv.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ../cflags` -Igd1.3 -I. -c gdc_pie.c gdc_pie.c: In function ‘pie_gif’: gdc_pie.c:161:9: warning: variable ‘pscl’ set but not used [-Wunused-but-set-variable] float pscl; ^~~~ gdc_pie.c:147:8: warning: variable ‘BGColor’ set but not used [-Wunused-but-set-variable] int BGColor, ^~~~~~~ cd gd1.3 ; make -f Makefile libgd.a make[3]: Entering directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/nessus/gdchart0.94b/gd1.3' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o gd.o gd.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o gdfontt.o gdfontt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o gdfonts.o gdfonts.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o gdfontmb.o gdfontmb.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o gdfontl.o gdfontl.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -c -o gdfontg.o gdfontg.c rm -f libgd.a /usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \ gdfontl.o gdfontg.o make[3]: Leaving directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/nessus/gdchart0.94b/gd1.3' make[2]: Leaving directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/nessus/gdchart0.94b' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c regex.c regex.c: In function ‘re_match_2’: regex.c:4097:25: warning: variable ‘sdummy’ set but not used [-Wunused-but-set-variable] const char *sdummy; ^~~~~~ regex.c:4096:28: warning: variable ‘pdummy’ set but not used [-Wunused-but-set-variable] unsigned char *pdummy; ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c filter.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c dirutils.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c sslui.c sslui.c: In function ‘sslui_paranoia_callback’: sslui.c:61:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] value = (int)gtk_object_get_data(GTK_OBJECT(button), "level"); ^ sslui.c:63:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sizeof(value), (void*)value); ^ sslui.c: In function ‘sslui_ask_paranoia_level’: sslui.c:216:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ret = (int)arg_get_value(ctrls, "LEVEL"); ^ sslui.c: In function ‘sslui_check_cert’: sslui.c:397:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ret = (int)arg_get_value(ctrls, "RESULT"); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native `sh ./cflags` -c nessus.c In file included from nessus.c:52: nessus.c: In function ‘connect_to_nessusd’: preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ nessus.c:342:25: note: in expansion of macro ‘prefs_get_int’ int use_client_cert = prefs_get_int(context, "use_client_cert"); ^~~~~~~~~~~~~ preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ nessus.c:353:6: note: in expansion of macro ‘prefs_get_int’ if(prefs_get_int(Global, "nessusd_autoconnect")) ^~~~~~~~~~~~~ preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ nessus.c:363:10: note: in expansion of macro ‘prefs_get_int’ port = prefs_get_int(context, "nessusd_port"); ^~~~~~~~~~~~~ preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ nessus.c:403:7: note: in expansion of macro ‘prefs_get_int’ if (prefs_get_int(context, "use_ssl")) ^~~~~~~~~~~~~ preferences.h:45:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define prefs_get_int(context, name) ((int)prefs_get_value(context, name)) ^ nessus.c:415:24: note: in expansion of macro ‘prefs_get_int’ paranoia_level = prefs_get_int(context, "paranoia_level"); ^~~~~~~~~~~~~ nessus.c:432:15: warning: implicit declaration of function ‘SSLv2_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration] ssl_mt = SSLv2_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method nessus.c:432:13: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] ssl_mt = SSLv2_client_method(); ^ nessus.c:434:15: warning: implicit declaration of function ‘SSLv3_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration] ssl_mt = SSLv3_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method nessus.c:434:13: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] ssl_mt = SSLv3_client_method(); ^ nessus.c:436:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] ssl_mt = SSLv23_client_method(); ^ nessus.c:438:6: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] ssl_mt = TLSv1_client_method(); ^~~~~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:45, from /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include/includes.h:197, from nessus.c:30: /usr/include/openssl/ssl.h:1629:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ nessus.c:438:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] ssl_mt = TLSv1_client_method(); ^ nessus.c:445:8: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] ssl_mt = SSL_VER_DEF_METH(); ^~~~~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:45, from /var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/include/includes.h:197, from nessus.c:30: /usr/include/openssl/ssl.h:1629:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ nessus.c:445:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] ssl_mt = SSL_VER_DEF_METH(); ^ nessus.c:590:19: error: dereferencing pointer to incomplete type ‘X509’ {aka ‘struct x509_st’} if (memcmp(cert->sha1_hash, stored_hash, SHA_DIGEST_LENGTH) != 0) ^~ nessus.c: In function ‘main’: nessus.c:1183:4: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] else ^~~~ nessus.c:1195:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ nessus_exit(0); ^~~~~~~~~~~ make[1]: *** [Makefile:231: nessus.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2/nessus' make: *** [Makefile:7: all] Error 2 * ERROR: net-analyzer/nessus-client-1.0.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/nessus-client-1.0.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/nessus-client-1.0.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:nessus-client-1.0.2-r2:20190103-104150.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2' * S: '/var/tmp/portage/net-analyzer/nessus-client-1.0.2-r2/work/NessusClient-1.0.2'