Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421001 - net-analyzer/greenbone-security-desktop-1.2.0 - ld: CMakeFiles/gsd.dir/gsd_control.cpp.o: undefined reference to symbol 'load_log_configuration'
Summary: net-analyzer/greenbone-security-desktop-1.2.0 - ld: CMakeFiles/gsd.dir/gsd_co...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 16:10 UTC by Robert
Modified: 2016-01-13 14:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=net-analyzer/greenbone-security-desktop-1.2.0' (file_421001.txt,15.12 KB, text/plain)
2012-06-13 16:10 UTC, Robert
Details
build.log (1,110.73 KB, text/plain)
2012-06-13 16:16 UTC, Robert
Details
Robert's emerge --info output (emerge-info.txt,5.53 KB, text/plain)
2012-07-28 01:43 UTC, Robert
Details
patch (patch,454 bytes, patch)
2012-09-10 16:55 UTC, Alexandr Tiurin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2012-06-13 16:10:15 UTC
Created attachment 315205 [details]
emerge --info '=net-analyzer/greenbone-security-desktop-1.2.0'

/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/gsd.dir/gsd_control.cpp.o: undefined reference to symbol 'load_log_configuration'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'load_log_configuration' is defined in DSO /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libopenvas_misc.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libopenvas_misc.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [src/gsd] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/work/greenbone-security-desktop-1.2.0_build'
make[1]: *** [src/CMakeFiles/gsd.dir/all] Błąd 2
make[1]: Opuszczenie katalogu `/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/work/greenbone-security-desktop-1.2.0_build'
make: *** [all] Błąd 2
 * ERROR: net-analyzer/greenbone-security-desktop-1.2.0 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/greenbone-security-desktop-1.2.0'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/greenbone-security-desktop-1.2.0'`.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/work/greenbone-security-desktop-1.2.0_build'
 * S: '/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/work/gsd-1.2.0'

>>> Failed to emerge net-analyzer/greenbone-security-desktop-1.2.0, Log file:

>>>  '/var/tmp/portage/net-analyzer/greenbone-security-desktop-1.2.0/temp/build.log'
Comment 1 Robert 2012-06-13 16:16:32 UTC
Created attachment 315207 [details]
build.log
Comment 2 Rafał Mużyło 2012-06-13 17:03:08 UTC
src/CMakeLists.txt is incorrect - the funny part is it's somewhat correct in this regard on MinGW.
'set_target_properties (gsd PROPERTIES LINK_FLAGS' is incorrect
'target_link_libraries (gsd ' is correct.

Basically, it's triggered by '-Wl,--as-needed', but the bug lies in the build system (which, it seems, could be significantly simplified here).
Comment 3 Robert 2012-07-28 01:42:29 UTC
I also get this same error, I checked the logs against mine, I could upload it if requested but it is exactly the same as the one provided. I have minor updates of openrc and a couple other programs compared to the OP so I will upload my emerge --info so yo can see but other than that everything is the same, including x86_64. Has there been any fixes for this problem? Or even a work around. I see that Rafal seems to say that it has to do with the way the compiler flags are set in the source code, but I am not sure how to change these and still install through portage. Any information/help would be much appreciated. 

Sure there are other network analyzers around but I really wanted to check this one out. 

Thanks!!
Comment 4 Robert 2012-07-28 01:43:20 UTC
Created attachment 319480 [details]
Robert's emerge --info output

slightly upgraded package versions than the OP but the same when looking at major versions only.
Comment 5 Joaquim Uchoa 2012-08-09 12:45:59 UTC
Same problem here.
Comment 6 Joaquim Uchoa 2012-09-05 12:10:20 UTC
Any news about this??? Any patch??? I've tried to resolve the problem without success...
Comment 7 Alexandr Tiurin 2012-09-10 16:55:20 UTC
Created attachment 323430 [details, diff]
patch
Comment 8 Hanno Böck gentoo-dev 2016-01-13 14:29:50 UTC
greenbone-security-desktop has been removed a while ago, because it is no longer maintained upstream.