#38114 closed defect (fixed)
nessus-libraries: build failure: libtool: you must specify a MODE
Reported by: | meufuturo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | mojca (Mojca Miklavec), cooljeanius (Eric Gallager) |
Port: | nessus-libraries |
Description (last modified by larryv (Lawrence Velázquez))
When i install nessus-libraries i try this
sudo port install nessus-libraries Password: ---> Computing dependencies for nessus-libraries ---> Building nessus-libraries Error: org.macports.build for port nessus-libraries returned: command execution failed Please see the log file for port nessus-libraries for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port nessus-libraries failed
error in main.log when install nessus-libraries
or
version:1 :debug:main epoch: in tree: 1 installed: 1 :debug:main openssl 1.0.1e_0 exists in the ports tree :debug:main openssl 1.0.1e_0 is the latest installed :debug:main openssl 1.0.1e_0 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl :debug:main OS darwin/11.4.2 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Executing variant universal provides universal :debug:main No need to upgrade! openssl 1.0.1e_0 >= openssl 1.0.1e_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main zlib 1.2.7_0 exists in the ports tree :debug:main zlib 1.2.7_0 is the latest installed :debug:main zlib 1.2.7_0 +universal is active :debug:main Merging existing variants '+universal' into variants :debug:main new fully merged portvariants: universal + :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib :debug:main OS darwin/11.4.2 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Executing variant universal provides universal :debug:main No need to upgrade! zlib 1.2.7_0 >= zlib 1.2.7_0 :msg:main ---> Computing dependencies for nessus-libraries:info:main .:debug:main nessus-libraries has no conflicts :debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :msg:main :debug:main Executing org.macports.main (nessus-libraries) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Skipping completed org.macports.archivefetch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Mon Feb 18 16:07:54 BRT 2013 :notice:build ---> Building nessus-libraries :debug:build Executing org.macports.build (nessus-libraries) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries" && /usr/bin/make -j4 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries" && /usr/bin/make -j4 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries' :info:build cd libpcap-nessus && /usr/bin/make :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus' :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -pipe -O -pipe -O2 -arch x86_64 -I. -I../../include -DHAVE_CONFIG_H -DNESSUS_ON_SSL -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -c ./pcap-bpf.c :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -pipe -O -pipe -O2 -arch x86_64 -I. -I../../include -DHAVE_CONFIG_H -DNESSUS_ON_SSL -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -c ./inet.c :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -pipe -O -pipe -O2 -arch x86_64 -I. -I../../include -DHAVE_CONFIG_H -DNESSUS_ON_SSL -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -c ./pcap.c :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -pipe -O -pipe -O2 -arch x86_64 -I. -I../../include -DHAVE_CONFIG_H -DNESSUS_ON_SSL -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -c ./gencode.c :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: you must specify a MODE :info:build Try `libtool --help' for more information. :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build make[1]: *** [inet.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build libtool: you must specify a MODE :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build Try `libtool --help' for more information. :info:build libtool: you must specify a MODE :info:build libtool: you must specify a MODE :info:build make[1]: *** [pcap-bpf.o] Error 1 :info:build Try `libtool --help' for more information. :info:build Try `libtool --help' for more information. :info:build make[1]: *** [gencode.o] Error 1 :info:build make[1]: *** [pcap.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus' :info:build make: [pcap-make] Error 2 (ignored) :info:build cd libnessus && /usr/bin/make :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libnessus' :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -g -c plugutils.c :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -g -c system.c :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -g -c network.c :info:build /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libtool /usr/bin/clang -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_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus -g -c resolve.c :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: you must specify a MODE :info:build libtool: you must specify a MODE :info:build libtool: you must specify a MODE :info:build libtool: you must specify a MODE :info:build Try `libtool --help' for more information. :info:build Try `libtool --help' for more information. :info:build make[1]: *** [network.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build Try `libtool --help' for more information. :info:build make[1]: *** [system.o] Error 1 :info:build make[1]: *** [resolve.o] Error 1 :info:build Try `libtool --help' for more information. :info:build make[1]: *** [plugutils.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libnessus' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries" && /usr/bin/make -j4 -w all :info:build Exit code: 2 :error:build org.macports.build for port nessus-libraries returned: command execution failed :debug:build Error code: CHILDSTATUS 88455 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for nessus-libraries: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port nessus-libraries for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/main.log
Attachments (2)
Change History (15)
comment:1 Changed 12 years ago by meufuturo@…
comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Keywords: | nessus removed |
Port: | nessus-libraries added |
Summary: | Can't install nessus-libraries → nessus-libraries: build failure |
Thanks for the ticket. In the future, please use WikiFormatting.
comment:3 follow-up: 4 Changed 12 years ago by larryv (Lawrence Velázquez)
Replying to meufuturo@…:
:debug:main Skipping completed org.macports.archivefetch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Mon Feb 18 16:07:54 BRT 2013 :notice:build ---> Building nessus-libraries
This was not a clean build attempt. Please run the following and attach the main.log
that is mentioned upon build failure.
sudo port clean nessus-libraries sudo port install nessus-libraries
comment:4 Changed 12 years ago by meufuturo@…
Replying to larryv@…:
Replying to meufuturo@…:
:debug:main Skipping completed org.macports.archivefetch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (nessus-libraries) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Mon Feb 18 16:07:54 BRT 2013 :notice:build ---> Building nessus-librariesThis was not a clean build attempt. Please run the following and attach the
main.log
that is mentioned upon build failure.sudo port clean nessus-libraries sudo port install nessus-libraries
I tried sudo port clean nessus-libraries main.log errors
seems that here also have some issues, but i dont know what to do.
:info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: you must specify a MODE :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build Try `libtool --help' for more information. :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build make[1]: *** [pcap.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build libtool: you must specify a MODE :info:build libtool: warning: cannot infer operation mode from `/usr/bin/clang' :info:build libtool: you must specify a MODE :info:build Try `libtool --help' for more information. :info:build make[1]: *** [pcap-bpf.o] Error 1 :info:build libtool: you must specify a MODE :info:build Try `libtool --help' for more information. :info:build make[1]: *** [gencode.o] Error 1 :info:build Try `libtool --help' for more information. :info:build make[1]: *** [inet.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nessus-libraries/nessus-libraries/work/nessus-libraries/libpcap-nessus'
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
I get the same. Evidently the port is broken and needs to be fixed. This was reported before in #14429 but not fixed.
Note that this port is very old; nessus-libraries 2.2.9 was released October 2006. You might do better to use a current version of nessus directly from the developers' web site. It looks like it costs money now. If you find a newer free version that we could update the port to, let us know.
comment:6 Changed 12 years ago by jmroot (Joshua Root)
Just needs to use --mode=compile in those libtool invocations.
Changed 12 years ago by jmroot (Joshua Root)
Attachment: | Portfile.diff added |
---|
Changed 12 years ago by jmroot (Joshua Root)
Attachment: | libtool_mode.patch added |
---|
comment:8 Changed 12 years ago by meufuturo@…
nessus-libraries has been sucessfully installed. Thank you jmr@… libtool_mode.patch it works perfectly.
comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mojca@… added |
---|---|
Keywords: | haspatch added |
Summary: | nessus-libraries: build failure → nessus-libraries: build failure: libtool: you must specify a MODE |
Has duplicate #39817.
comment:10 Changed 11 years ago by mojca (Mojca Miklavec)
Thank you for pointing out the duplicate and sorry for not doing my homework of finding it myself first. Is there any reason not applying the patch?
Despite not being the same port, it would also be great to address #39383 in nessus-core
(which was the main reason why I stumbled into this problem).
comment:11 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 2.1.3 |
It seems that this this has been fixed in r110348.
comment:12 Changed 10 years ago by mojca (Mojca Miklavec)
Do you actually use nessus
? I was thinking of deleting the nessus
ports.
My system is Mac OS X Lion 10.7.5