Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568848 - x11-libs/wxGTK:2.8 - wx-config contains hardcoded LDFLAGS
Summary: x11-libs/wxGTK:2.8 - wx-config contains hardcoded LDFLAGS
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-20 04:53 UTC by .
Modified: 2018-01-04 20:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description . 2015-12-20 04:53:15 UTC
Today I've found out that:

1) WX_LIBS env var contains LDFLAGS of wxGTK build itself during builds of packages depending on wxGTK:2.8
2) WX_LIBS env var is populated from the output of "wx-config --libs" command
3) wx-config script is compiled from wx-config.in during the build of wxGTK
4) wx-config.in indeed contains a line (1209) that hardcodes LDFLAGS into the wx-config script
5) this bug has been fixed upstream (http://trac.wxwidgets.org/changeset/62459/svn-wx), but not included into the 2.8 branch
6) the fix has merge conflicts if applied to the current version of wxGTK:2.8

For me this bug means numerous build failures.

Quick and dirty fix I did was to nuke "@LDFLAGS@" and replace it with "-pthread" as seen in wx-config-3.0
Comment 1 Mart Raudsepp gentoo-dev 2018-01-04 20:12:29 UTC
By now 2.8 is on the way out hopefully soon, sorry. I understand that 3.0 is fine, so marking as OBSOLETE accordingly, as there's no point to spend time on this for 2.8 anymore.