* Package: net-analyzer/libnasl-2.2.9-r1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libnasl-2.2.9.tar.gz to /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl ... * Applying libnasl-2.2.9-openssl-1.patch ... [ ok ] * Applying libnasl-2.2.9-gentoo.patch ... [ ok ] * Applying libnasl-2.2.9-bison3.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl ... * econf: updating libnasl/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libnasl/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 --disable-static --enable-shared creating cache ./config.cache 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,-O1 -Wl,--as-needed) works... yes checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -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 for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking host system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/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 x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.lo... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/x86_64-pc-linux-gnu/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 whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c checking if the compiler understands -pipe... yes checking for nessus-config... /usr/bin/nessus-config checking for openssl/md2.h... yes checking for openssl/md4.h... yes checking for openssl/md5.h... yes checking for bison... /usr/bin/bison 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 -lrpcsvc... no checking for /usr/ucbinclude/fcntl.h... 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 netinet/in.h... yes checking for netinet/in_systm.h... 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/param.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 netinet/in.h... (cached) yes checking for arpa/inet.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for netinet/ip_tcp.h... (cached) no 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 search.h... yes checking for locale.h... yes checking for sys/socket.h... yes checking for netinet/ip.h... (cached) yes checking for netinet/tcp.h... yes checking for working alloca.h... yes checking for alloca... 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 memmem... yes checking for bzero... yes checking for bcopy... yes checking for addr2ascii... no checking for inet_neta... no checking for signal... yes checking for sigaction... yes checking for wait... yes checking for wait3... yes checking for wait4... yes checking for waitpid... yes checking for lfind... yes checking for lfind in -lcompat... no 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 size of short... 2 checking size of int... 4 checking size of long... 8 checking struct ip contains ip_csum... no checking struct ip... yes checking struct ip has ip_hl... yes checking struct icmp... yes checking struct udphdr... yes checking BSD struct udphdr... yes checking struct tcphdr... yes checking struct tcphdr has th_off... yes checking struct tcphdr has th_x2_off... no checking for long file names... yes checking for inet_aton in -lc... yes checking for inet_aton in -lresolv... yes checking for inet_aton in -lsocket... no checking for inet_aton in -lnsl... yes checking if sockaddr{} has sa_len member... no checking for a working strndup implementation... no checking for pcap_restart in -lpcap... no checking for pcap_yyrestart in -lpcap... no checking for yyrestart in -lpcap... no no yacc restart func found perhaps libpcap wasn't compiled with bison/flex? updating cache ./config.cache creating ./config.status creating nasl.tmpl creating nasl-config creating include/config.h creating nasl/strutils.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl ... make -j1 -C nasl cflags make: Entering directory '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl' make: Leaving directory '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl' make -j1 make -C nasl make[1]: Entering directory '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl' /bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -O2 -pipe -march=native `sh ./cflags` -c nasl_packet_forgery.c nasl_packet_forgery.c: In function 'nasl_tcp_ping': nasl_packet_forgery.c:1265:23: warning: implicit declaration of function 'bpf_next_tv'; did you mean 'bpf_next'? [-Wimplicit-function-declaration] if(bpf >= 0 && (pk = bpf_next_tv(bpf, &len, &tv)))flag++; ^~~~~~~~~~~ bpf_next nasl_packet_forgery.c:1265:21: warning: assignment to 'u_char *' {aka 'unsigned char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if(bpf >= 0 && (pk = bpf_next_tv(bpf, &len, &tv)))flag++; ^ nasl_packet_forgery.c: In function 'nasl_pcap_next': nasl_packet_forgery.c:1407:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if( interface == NULL )interface = pcap_lookupdev(errbuf); ^~ In file included from /usr/include/pcap.h:43, from ../include/includes.h:223, from nasl_packet_forgery.c:19: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ nasl_packet_forgery.c: In function 'nasl_send_capture': nasl_packet_forgery.c:1493:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if( interface == NULL )interface = pcap_lookupdev(errbuf); ^~ In file included from /usr/include/pcap.h:43, from ../include/includes.h:223, from nasl_packet_forgery.c:19: /usr/include/pcap/pcap.h:326:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ /bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -O2 -pipe -march=native `sh ./cflags` -c nasl_socket.c /bin/sh /var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/libtool --silent x86_64-pc-linux-gnu-gcc -pipe -O2 -pipe -march=native `sh ./cflags` -c nasl_crypto.c nasl_crypto.c: In function 'nasl_md2': nasl_crypto.c:55:10: error: 'MD2_DIGEST_LENGTH' undeclared (first use in this function); did you mean 'MD5_DIGEST_LENGTH'? char md[MD2_DIGEST_LENGTH+1]; ^~~~~~~~~~~~~~~~~ MD5_DIGEST_LENGTH nasl_crypto.c:55:10: note: each undeclared identifier is reported only once for each function it appears in nasl_crypto.c:61:2: warning: implicit declaration of function 'MD2'; did you mean 'MD5'? [-Wimplicit-function-declaration] MD2((unsigned char*)data, len, (unsigned char*)md); ^~~ MD5 nasl_crypto.c: In function 'nasl_sha': nasl_crypto.c:119:2: warning: implicit declaration of function 'SHA'; did you mean 'SHA1'? [-Wimplicit-function-declaration] SHA((unsigned char*)data, len, (unsigned char*)md); ^~~ SHA1 nasl_crypto.c: In function 'nasl_hmac_md2': nasl_crypto.c:202:26: warning: implicit declaration of function 'EVP_md2'; did you mean 'EVP_mdc2'? [-Wimplicit-function-declaration] return nasl_hmac(lexic, EVP_md2()); ^~~~~~~ EVP_mdc2 nasl_crypto.c:202:26: warning: passing argument 2 of 'nasl_hmac' makes pointer from integer without a cast [-Wint-conversion] return nasl_hmac(lexic, EVP_md2()); ^~~~~~~~~ nasl_crypto.c:175:63: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int' static tree_cell * nasl_hmac(lex_ctxt * lexic, const EVP_MD * evp_md) ~~~~~~~~~~~~~~~^~~~~~ nasl_crypto.c: In function 'nasl_hmac_sha': nasl_crypto.c:213:26: warning: implicit declaration of function 'EVP_sha'; did you mean 'EVP_sha1'? [-Wimplicit-function-declaration] return nasl_hmac(lexic, EVP_sha()); ^~~~~~~ EVP_sha1 nasl_crypto.c:213:26: warning: passing argument 2 of 'nasl_hmac' makes pointer from integer without a cast [-Wint-conversion] return nasl_hmac(lexic, EVP_sha()); ^~~~~~~~~ nasl_crypto.c:175:63: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int' static tree_cell * nasl_hmac(lex_ctxt * lexic, const EVP_MD * evp_md) ~~~~~~~~~~~~~~~^~~~~~ nasl_crypto.c: In function 'nasl_hmac_dss': nasl_crypto.c:225:26: warning: implicit declaration of function 'EVP_dss'; did you mean 'EVP_rc4'? [-Wimplicit-function-declaration] return nasl_hmac(lexic, EVP_dss()); ^~~~~~~ EVP_rc4 nasl_crypto.c:225:26: warning: passing argument 2 of 'nasl_hmac' makes pointer from integer without a cast [-Wint-conversion] return nasl_hmac(lexic, EVP_dss()); ^~~~~~~~~ nasl_crypto.c:175:63: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int' static tree_cell * nasl_hmac(lex_ctxt * lexic, const EVP_MD * evp_md) ~~~~~~~~~~~~~~~^~~~~~ make[1]: *** [Makefile:95: nasl_crypto.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl/nasl' make: *** [Makefile:4: all] Error 2 * ERROR: net-analyzer/libnasl-2.2.9-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/libnasl-2.2.9-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/libnasl-2.2.9-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:libnasl-2.2.9-r1:20190103-015835.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl' * S: '/var/tmp/portage/net-analyzer/libnasl-2.2.9-r1/work/libnasl'