Opened 13 years ago

Closed 8 years ago

Last modified 6 years ago

#14429 closed defect (worksforme)

nessus-libraries build failed (libtool error)

Reported by: jon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: cooljeanius (Eric Gallager)
Port: nessus-libraries libnasl

Description (last modified by ryandesign (Ryan Schmidt))

Nessus libraries fail to build, on macports 1.6.0 and a freshly installed & patched Leopard 10.5.2

cd libnessus && make
/bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nessus-libraries/work/nessus-libraries/libtool /usr/bin/gcc-4.0 -pipe -I../ -DHAVE_CONFIG_H  -DNESSUS_ON_SSL  -I. -DHAVE_SSL -I/opt/local/include -I/opt/local/include/openssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nessus-libraries/work/nessus-libraries/libpcap-nessus   -g -c plugutils.c
libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [plugutils.o] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for nessus-libraries): org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Attachments (1)

Portfile (1.4 KB) - added by jon@… 13 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 13 years ago by ryandesign (Ryan Schmidt)

Cc:… added

Cc'ing the port's maintainer.

This looks like it could be another variant of the "unable to infer tagged configuration" error we've seen with several ports since switching CC from "gcc" to "/usr/bin/gcc-4.0"

comment:2 Changed 13 years ago by jon@…

If I compile Nessus libraries from outside of Macports (i.e unpack tarball, ./comfigure, make) it works fine.

The difference seems to be on the name of the compiler that is used, i.e "gcc" (works) or "/usr/bin/gcc-4.0" (doesnt work)

Setting "" to "gcc" in the Portfile seems to work. I'm not sure if this fits with the prevailing policy, but it does fix the build

Changed 13 years ago by jon@…

Attachment: Portfile added

comment:3 Changed 13 years ago by jon@…

Same bug (and same fix) apply to "nessus-core" and "libnasl" ports.

Nessus-plugins seems unaffected.

comment:4 Changed 13 years ago by marktrolley@…

Thanks for the pointer on how to fix this. Any word on when it will make it into the ports tree?

comment:5 Changed 13 years ago by jon@…

No idea. I don't have commit access, and I don't know if my change fits with policy. There has been no comment in 2 months from the maintainer, so don't get your hopes up :-(

comment:6 Changed 13 years ago by ghosthound

Owner: changed from macports-tickets@… to ricci@…
Status: newassigned

comment:7 Changed 12 years ago by jmroot (Joshua Root)

Port: nessus-libraries added

comment:8 Changed 12 years ago by chitopunk@…

Changing mode=link in macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nessus-libraries/work/nessus-libraries/libtool fixed this problem

comment:9 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:10 Changed 11 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:11 Changed 8 years ago by jmroot (Joshua Root)

Cc:… removed
Keywords: nessus removed
Owner: changed from ricci@… to macports-tickets@…
Port: libnasl added
Status: assignednew

-> nomaintainer

comment:12 Changed 8 years ago by jon@…

I've just built @2.2.6_1 on Lion, and all seems good now. This ticket can be closed.

comment:13 Changed 8 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

comment:14 Changed 8 years ago by ryandesign (Ryan Schmidt)

The problem remains, as reported again in #38114.

comment:15 Changed 6 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.