make[1]: Entering directory `/var/tmp/portage/nessus-1.2.0/work/libnasl/nasl' /bin/sh /var/tmp/portage/nessus-1.2.0/work/libnasl/libtool --silent gcc -pipe `sh ./cflags` -c -DVERSION=\"1.2.0\" init.c init.c: In function `init_const': init.c:457: `ACT_MIXED_ATTACK' undeclared (first use in this function) init.c:457: (Each undeclared identifier is reported only once init.c:457: for each function it appears in.) init.c:460: `ACT_DESTRUCTIVE_ATTACK' undeclared (first use in this function) init.c:469: `ACT_SETTINGS' undeclared (first use in this function) init.c:477: `NESSUS_ENCAPS_SSLv2' undeclared (first use in this function) init.c:481: `NESSUS_ENCAPS_SSLv3' undeclared (first use in this function) init.c:485: `NESSUS_ENCAPS_SSLv23' undeclared (first use in this function) init.c:489: `NESSUS_ENCAPS_TLSv1' undeclared (first use in this function) init.c:493: `NESSUS_ENCAPS_IP' undeclared (first use in this function) make[1]: *** [init.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/nessus-1.2.0/work/libnasl/nasl' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-analyzer/nessus/nessus-1.2.0.ebuild . (09:38:52)
what is your USE= string in /etc/make.conf?
http://struct.homeip.net/gentoo/make.conf yeah yeah yeah, i know. Bloated as #
http://struct.homeip.net/gentoo/make.conf yeah yeah yeah, i know. Bloated as #¤!"#5 :)
seemant: remember to add people to the cc: if they aren't there already. emails aren't auto-cc'd to the reporter. I"ll see if I can change this in a global bugzilla setting.
PLease try to emerge openssl and then emerge this again...
It was already installed. I remerged it and tried to emerge nessus-1.2.0 again. Same problem.
Hi! Ok, this appears to be a dependency problem. I just merged this package fine. A 'ldd /usr/lib/libnasl.so' reveals that it depends on /usr/lib/libssl.so which is provided by the dev-libs/openssl package. Carl, could you please emerge dev-libs/openssl then try and remerge net-analyzer/nessus-1.2.0 If this solves the problem, please report back here, and then I will update the dependencies for nessus to include openssl Thanks
(root@calle:~) ls -l /usr/lib/libssl.* -rw-r--r-- 1 root root 256270 May 1 18:50 /usr/lib/libssl.a lrwxrwxrwx 1 root root 11 May 1 18:50 /usr/lib/libssl.so -> libssl.so.0 lrwxrwxrwx 1 root root 15 May 1 18:50 /usr/lib/libssl.so.0 -> libssl.so.0.9.6 -r-xr-xr-x 1 root root 182380 May 1 18:50 /usr/lib/libssl.so.0.9.6 (root@calle:~) emerge nessus -snip- make[1]: Entering directory `/var/tmp/portage/nessus-1.2.0/work/libnasl/nasl' /bin/sh /var/tmp/portage/nessus-1.2.0/work/libnasl/libtool --silent gcc -pipe `sh ./cflags` -c -DVERSION=\"1.2.0\" init.c init.c: In function `init_const': init.c:457: `ACT_MIXED_ATTACK' undeclared (first use in this function) init.c:457: (Each undeclared identifier is reported only once init.c:457: for each function it appears in.) init.c:460: `ACT_DESTRUCTIVE_ATTACK' undeclared (first use in this function) init.c:469: `ACT_SETTINGS' undeclared (first use in this function) init.c:477: `NESSUS_ENCAPS_SSLv2' undeclared (first use in this function) init.c:481: `NESSUS_ENCAPS_SSLv3' undeclared (first use in this function) init.c:485: `NESSUS_ENCAPS_SSLv23' undeclared (first use in this function) init.c:489: `NESSUS_ENCAPS_TLSv1' undeclared (first use in this function) init.c:493: `NESSUS_ENCAPS_IP' undeclared (first use in this function) make[1]: *** [init.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/nessus-1.2.0/work/libnasl/nasl' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-analyzer/nessus/nessus-1.2.0.ebuild .
ok here are the dependencies when I ldd libnasl and nessus. I'll try and slowly work through them. could you please check and see if you have them on your system? ******'ldd nessus'************** /lib/libsandbox.so => /lib/libsandbox.so (0x40018000) libc.so.6 => /lib/libc.so.6 (0x40030000) libnessus.so.1 => /usr/lib/libnessus.so.1 (0x40160000) libhosts_gatherer.so.1 => /usr/lib/libhosts_gatherer.so.1 (0x40182000) libpcap-nessus.so.1 => /usr/lib/libpcap-nessus.so.1 (0x40187000) libutil.so.1 => /lib/libutil.so.1 (0x4019c000) libnsl.so.1 => /lib/libnsl.so.1 (0x4019f000) libresolv.so.2 => /lib/libresolv.so.2 (0x401b5000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x401c7000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x401f5000) libdl.so.2 => /lib/libdl.so.2 (0x402b7000) libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x402ba000) libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x403b7000) libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x403e9000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x403ec000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40413000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4041b000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4042a000) libm.so.6 => /lib/libm.so.6 (0x404f2000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) ************end nessus*****************8 and *************ldd libnasl************************ /lib/libsandbox.so => /lib/libsandbox.so (0x4001e000) libc.so.6 => /lib/libc.so.6 (0x40036000) libnessus.so.1 => /usr/lib/libnessus.so.1 (0x40166000) libhosts_gatherer.so.1 => /usr/lib/libhosts_gatherer.so.1 (0x40188000) libpcap-nessus.so.1 => /usr/lib/libpcap-nessus.so.1 (0x4018d000) libutil.so.1 => /lib/libutil.so.1 (0x401a2000) libnsl.so.1 => /lib/libnsl.so.1 (0x401a5000) libresolv.so.2 => /lib/libresolv.so.2 (0x401bb000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x401cd000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x401fb000) libdl.so.2 => /lib/libdl.so.2 (0x402bd000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
I unmerged 1.0.x and emerged 1.2.0. Works for me. In the ebuild, change make || die to make || die "Failed, unmerge previous versions and try again" ?
Confirmed. I also got the problem, so I unmerged 1.0 version and was then able to emerge nessus 1.2 Thanks!
Ok... Added a note to the ebuild. That's about the extent of what we can do at the moment.