Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14429 (assigned defect)

Opened 9 months ago

Last modified 7 months ago

nessus-libraries build failed (libtool error)

Reported by: jon@… Owned by: ricci@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: nessus Cc: opendarwin.org@…
Port:

Description

Nessus libraries fail to build, on macports 1.6.0 and a freshly installed & patched Laopard 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.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

Attachments

Portfile (1.4 KB) - added by jon@… 8 months ago.

Change History

Changed 9 months ago by ryandesign@…

  • cc opendarwin.org@… 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"

Changed 8 months 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 "configure.cc" 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 8 months ago by jon@…

Changed 8 months ago by jon@…

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

Nessus-plugins seems unaffected.

Changed 7 months ago by marktrolley@…

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

Changed 7 months 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 :-(

Changed 7 months ago by ricci@…

  • owner changed from macports-tickets@… to ricci@…
  • status changed from new to assigned
Note: See TracTickets for help on using tickets.