Date: Tue, 5 Feb 2013 23:14:39 GMT From: AN <andy@neu.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175868: nasl_crypto.c:25:10: fatal error: 'openssl/md2.h' file not found Message-ID: <201302052314.r15NEdk8032840@red.freebsd.org> Resent-Message-ID: <201302052320.r15NK3WV064059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175868 >Category: ports >Synopsis: nasl_crypto.c:25:10: fatal error: 'openssl/md2.h' file not found >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 05 23:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: AN >Release: 10-current >Organization: >Environment: FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #33 r246130: Wed Jan 30 15:00:08 EST 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: # cd /usr/ports/security/nessus/ && make install clean ===> nessus-gtk2-2.2.9_1 depends on file: /usr/local/sbin/pkg - found ===> Extracting for nessus-gtk2-2.2.9_1 => SHA256 Checksum OK for nessus/nessus-core-2.2.9.tar.gz. ===> Patching for nessus-gtk2-2.2.9_1 ===> Applying FreeBSD patches for nessus-gtk2-2.2.9_1 ===> nessus-gtk2-2.2.9_1 depends on file: /usr/local/bin/intltool-extract - found ===> nessus-gtk2-2.2.9_1 depends on executable: pkgconf - found ===> nessus-gtk2-2.2.9_1 depends on shared library: nasl.4 - not found ===> Verifying install for nasl.4 in /usr/ports/security/nessus-libnasl ===> nessus-libnasl-2.2.9_1 depends on file: /usr/local/sbin/pkg - found ===> Extracting for nessus-libnasl-2.2.9_1 => SHA256 Checksum OK for nessus/libnasl-2.2.9.tar.gz. ===> Patching for nessus-libnasl-2.2.9_1 ===> Applying FreeBSD patches for nessus-libnasl-2.2.9_1 ===> nessus-libnasl-2.2.9_1 depends on executable: bison - found ===> nessus-libnasl-2.2.9_1 depends on package: libtool>=2.4 - found ===> nessus-libnasl-2.2.9_1 depends on shared library: nessus.4 - found ===> Configuring for nessus-libnasl-2.2.9_1 ===> FreeBSD 10 autotools fix applied to /usr/ports/security/nessus-libnasl/work/libnasl/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/security/nessus-libnasl/work/libnasl/configure creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... cpp checking host system type... amd64-portbld-freebsd10.0 checking build system type... amd64-portbld-freebsd10.0 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/local/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/local/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc 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... freebsd10.0 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes 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 -o root -g wheel checking if the compiler understands -pipe... yes checking for nessus-config... /usr/local/bin/nessus-config checking for openssl/md2.h... no checking for openssl/md4.h... yes checking for openssl/md5.h... yes checking for bison... /usr/local/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... yes 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... yes 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... yes checking for sys/param.h... yes checking for sys/ioctl.h... yes checking for rpc/rpc.h... yes 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... yes 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... no 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... yes 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... yes 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... no checking for inet_aton in -lsocket... no checking for inet_aton in -lnsl... no checking if sockaddr{} has sa_len member... yes checking for a working strndup implementation... no checking for pcap_restart in -lpcap-nessus... yes updating cache ./config.cache creating ./config.status creating nasl.tmpl creating nasl-config creating include/config.h creating nasl/strutils.h ===> Building for nessus-libnasl-2.2.9_1 cd nasl && make /bin/sh /usr/local/bin/libtool --silent --mode compile cc -pipe -O2 -pipe -fno-strict-aliasing `sh ./cflags` -c nasl_packet_forgery.c nasl_packet_forgery.c:859:29: warning: incompatible pointer types passing 'struct ip *' to parameter of type 'u_short *' (aka 'unsigned short *') [-Wincompatible-pointer-types] ip->ip_sum = np_in_cksum(ip, ip->ip_hl * 4); ^~ nasl_packet_forgery.c:1265:23: warning: implicit declaration of function 'bpf_next_tv' is invalid in C99 [-Wimplicit-function-declaration] if(bpf >= 0 && (pk = bpf_next_tv(bpf, &len, &tv)))flag++; ^ nasl_packet_forgery.c:1265:21: warning: incompatible integer to pointer conversion assigning to 'u_char *' (aka 'unsigned char *') from 'int' [-Wint-conversion] if(bpf >= 0 && (pk = bpf_next_tv(bpf, &len, &tv)))flag++; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. /bin/sh /usr/local/bin/libtool --silent --mode compile cc -pipe -O2 -pipe -fno-strict-aliasing `sh ./cflags` -c nasl_socket.c /bin/sh /usr/local/bin/libtool --silent --mode compile cc -pipe -O2 -pipe -fno-strict-aliasing `sh ./cflags` -c nasl_crypto.c nasl_crypto.c:25:10: fatal error: 'openssl/md2.h' file not found #include <openssl/md2.h> ^ 1 error generated. *** [nasl_crypto.o] Error code 1 Stop in /usr/ports/security/nessus-libnasl/work/libnasl/nasl. *** [all] Error code 1 Stop in /usr/ports/security/nessus-libnasl/work/libnasl. *** [do-build] Error code 1 Stop in /usr/ports/security/nessus-libnasl. *** [lib-depends] Error code 1 Stop in /usr/ports/security/nessus. >How-To-Repeat: cd /usr/ports/security/nessus/ && make install clean >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302052314.r15NEdk8032840>