Bug 81014

Summary: wxgtk26 (and wxgtk26-unicode) compile errors
Product: Ports & Packages Reporter: Ganael LAPLANCHE <ganael.laplanche>
Component: Individual Port(s)Assignee: Max Khon <fjoe>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ganael LAPLANCHE 2005-05-14 14:10:00 UTC
	I'm trying to install x11-toolkits/wxgtk26 and x11-toolkits/wxgtk26-unicode and getting linking errors :

gmake[1]: Entering directory
c++ -o wxrc wxrc_wxrc.o -L/usr/local/lib -liconv  -L/usr/X11R6/lib    
-L../../lib   -lwx_baseu_xml-2.6 -lexpat -lwx_baseu-2.6        -lwxregexu-2.6 
-L/usr/local/lib -liconv  -L/usr/X11R6/lib 
-Wl,--version-script,../../version-script -lz -pthread -lm
../../lib/libwx_baseu-2.6.so: undefined reference to `backtrace_symbols'
../../lib/libwx_baseu-2.6.so: undefined reference to `backtrace'
gmake[1]: *** [wxrc] Error 1
gmake[1]: Leaving directory

Here is the output of the configure step of the port :

checking for --enable-backtrace... yes
checking for backtrace() in <execinfo.h>... yes

The port installs anyway, but the wxrc binary specified in pkg-plist isn't built, which leads to a "pkg-plist" incomplete error when deinstalling the port.

I'm getting exactly the same "undefined reference" errors while trying to link an app (aMule2) to wxgtk26 ; everything worked perfectly with the previous "-devel" version of wxgtk2 : wxgtk2-2.5.3.


No fix at the moment.
How-To-Repeat: 	Install x11-toolkits/wxgtk26 or x11-toolkits/wxgtk26-unicode (on amd64 ?).
Comment 1 Ganael LAPLANCHE 2005-05-14 15:30:17 UTC

This is due to libexecinfo-1.1_1 which provides /usr/local/include/execinfo.h.
If this happens to you and you have libexecinfo-1.1_1, just uninstall it and
everything should work fine. Maybe this CONFLICT could managed in the port itself ?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-05-14 19:28:14 UTC
Responsible Changed
From-To: freebsd-bugs->fjoe

Change category and assign.
Comment 3 Max Khon freebsd_committer 2005-05-16 16:13:51 UTC
State Changed
From-To: open->closed

Should be fixed in wxgtk2-2.6.0_1.