Opened 19 years ago

Closed 19 years ago

#2970 closed defect (fixed)

nessus-core build error/failure

Reported by: tom.morrison@… Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I completely removed darwinports and reinstalled it, thinking there might be an interaction with Fink. Howver, I'm still getting the following error: ---> Building nessus-core with target all Command output: gcc -g -O2 -c -o gd.o gd.c gcc -g -O2 -c -o gdfontt.o gdfontt.c gcc -g -O2 -c -o gdfonts.o gdfonts.c gcc -g -O2 -c -o gdfontmb.o gdfontmb.c gcc -g -O2 -c -o gdfontl.o gdfontl.c gcc -g -O2 -c -o gdfontg.o gdfontg.c rm -f libgd.a /usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \

gdfontl.o gdfontg.o

gcc -g -O2 sh ./cflags -c regex.c gcc -g -O2 sh ./cflags -c filter.c gcc -g -O2 sh ./cflags -c dirutils.c gcc -g -O2 sh ./cflags -c sslui.c gcc -g -O2 sh ./cflags -c nessus.c gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus /opt/local/bin/nessus-config --libs -L/usr/ X11R6/lib -I/usr/X11R6/include -L/opt/local/lib -lgtk-x11-2.0 gdchart0.94b/gd1.3/libgd.a -lm ld: warning prebinding disabled because dependent library: /opt/local/lib/libnessus.2.dylib is not prebound ld: xstuff.o illegal reference to symbol: _g_malloc defined in indirectly referenced dynamic library /opt/ local/lib/libglib-2.0.0.dylib ld: xstuff.o illegal reference to symbol: _g_type_check_instance_cast defined in indirectly referenced dynamic library /opt/local/lib/libgobject-2.0.0.dylib ld: xstuff.o illegal reference to symbol: _gdk_drawable_unref defined in indirectly referenced dynamic library /opt/local/lib/libgdk-x11-2.0.0.dylib ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (TEXT,text) /usr/lib/libdl.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (TEXT,text) /usr/lib/libdl.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (TEXT,text) /usr/lib/libdl.dylib(regfree.So) definition of _regfree make[1]: * [nessus] Error 1 make: * [client] Error 2

Change History (9)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to opendarwin.org@…

assign to maintainer

comment:2 Changed 19 years ago by opendarwin.org@…

Status: newassigned

comment:3 Changed 19 years ago by tom.morrison@…

I've also completely removed Fink and all references to the Fink installation. Last evening I installed XTools 1.5, re-ordered the directories in Path to bring /opt/local/bin to the front, and tried using BASH instead of Tcsh, but to no avail. As a side note, I was able to successfully install ntop. So it appears I have darwinports properly installed.

comment:4 Changed 19 years ago by opendarwin.org@…

I'm able to reproduce the error, working on a fix now, probably available tomorrow.

comment:5 Changed 19 years ago by tom.morrison@…

For what it's worth, this is happening on a 10.3.9 system and a 10.3.8 system. Heresay suggests this started with 10.3.8. I can't confirm that.

comment:6 Changed 19 years ago by opendarwin.org@…

Resolution: fixed
Status: assignedclosed

upreved to 2.2.4 and fixed gtk2-related compile problems

comment:7 Changed 19 years ago by tom.morrison@…

Resolution: fixed
Status: closedreopened

I'm now getting a new error. I assume this is also a serious error, so I've reopened the previous bug. Here's the output from the install attempt. Thanks for your help!

[C-Thomas-Morrisons-Computer:~/darwinports/dports] tom% sudo port install nessus-core Password: Portfile changed since last build; discarding previous state. ---> Fetching nessus-core ---> Attempting to fetch nessus-core-2.2.4.tar.gz from ftp://ftp.nessus.org/pub/nessus/nessus -2.2.4/src/ ---> Verifying checksum(s) for nessus-core ---> Extracting nessus-core ---> Applying patches to nessus-core ---> Configuring nessus-core ---> Building nessus-core with target all Error: Target com.apple.build returned: shell command "cd "/Users/tom/darwinports/dports/net/ nessus-core/work/nessus-core/" && make all" returned error 2 Command output: rm -f libgd.a /usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \

gdfontl.o gdfontg.o

gcc -g -O2 sh ./cflags -c regex.c gcc -g -O2 sh ./cflags -c filter.c gcc -g -O2 sh ./cflags -c dirutils.c gcc -g -O2 sh ./cflags -c sslui.c gcc -g -O2 sh ./cflags -c nessus.c gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus /opt/local/bin/nessus-config --libs -L/usr/ X11R6/lib -I/usr/X11R6/include -L/opt/local/lib -lgtk-x11-2.0 gdchart0.94b/gd1.3/libgd.a -lm -L/opt/local/lib -lglib-2.0.0 -lgobject-2.0.0 -lgdk-x11-2.0.0 ld: warning prebinding disabled because dependent library: /opt/local/lib/libnessus.2.dylib is not prebound ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (TEXT,text) /usr/lib/libdl.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (TEXT,text) /usr/lib/libdl.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (TEXT,text) /usr/lib/libdl.dylib(regfree.So) definition of _regfree

test -d /Users/tom/darwinports/dports/net/nessus-core/work/nessus-core/bin
mkdir /Users/tom/

darwinports/dports/net/nessus-core/work/nessus-core/bin cp nessus /Users/tom/darwinports/dports/net/nessus-core/work/nessus-core/bin cd nessusd && make gcc -g -O2 sh ./cflags -c auth.c gcc -g -O2 sh ./cflags -c attack.c attack.c: In function `launch_plugin': attack.c:185: error: `LAUNCH_DISABLED' undeclared (first use in this function) attack.c:185: error: (Each undeclared identifier is reported only once attack.c:185: error: for each function it appears in.) make[1]: * [attack.o] Error 1 make: * [server] Error 2

comment:8 Changed 19 years ago by opendarwin.org@…

Please make sure that all the nessus dports are clean (port clean libnasl ; port clean nessus-libraries ; port clean nessus-core ; port clean nessus-plugins) and that they are all uninstalled before re-building.

comment:9 Changed 19 years ago by tom.morrison@…

Resolution: fixed
Status: reopenedclosed

Eureka! That was the problem. I cleaned, uninstall, and reinstalled and all is working well. Thanks so much for your assistance. BTW, I understand (second hand) that it also installs successfully in Tiger. Have a great weekend!

Note: See TracTickets for help on using tickets.