Opened 11 years ago

Closed 11 years ago

#39817 closed defect (duplicate)

nessus-libraries: building error (cannot infer operation mode from `/usr/bin/clang')

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: nessus-libraries

Description

When testing nessus-core (see ticket #39383) it turned out that nessus-libraris fail to build. In case that anyone wants to look into this, it might be worth checking nessus-core as well.

/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 
libtool: warning: cannot infer operation mode from `/usr/bin/clang'
libtool: you must specify a MODE
libtool: warning: cannot infer operation mode from `/usr/bin/clang'
Try `libtool --help' for more information.
make[1]: *** [system.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [plugutils.o] Error 1
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'
make: *** [all] Error 2
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'
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 -j2 -w all 
Exit code: 2
Error: org.macports.build for port nessus-libraries returned: command execution failed
Warning: targets not executed for nessus-libraries: org.macports.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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port nessus-libraries failed

Attachments (2)

main.log (26.5 KB) - added by mojca (Mojca Miklavec) 11 years ago.
nessus-libraries building log
nessus-core-x11.patch (1.2 KB) - added by mojca (Mojca Miklavec) 11 years ago.
A patch for nessus-core for x11 (not sure if x11/gtk option names make sense)

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: main.log added

nessus-libraries building log

Changed 11 years ago by mojca (Mojca Miklavec)

Attachment: nessus-core-x11.patch added

A patch for nessus-core for x11 (not sure if x11/gtk option names make sense)

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

Resolution: duplicate
Status: newclosed

Duplicate of #38114 (which has a patch).

Note: See TracTickets for help on using tickets.