Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77421 - wxwidgets.eclass doesn't pickup wxGTK-2.5 debug
Summary: wxwidgets.eclass doesn't pickup wxGTK-2.5 debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 14:13 UTC by Sam Widmer
Modified: 2005-01-10 16:02 UTC (History)
0 users

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


Attachments
Fixed wxwidgets.eclass (wxwidgets.eclass,3.36 KB, text/plain)
2005-01-10 14:19 UTC, Sam Widmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Widmer 2005-01-10 14:13:17 UTC
After merge'n wxGTK-2.5 with debug wxpython will not merge.

Reproducible: Always
Steps to Reproduce:
1. USE="unicode debug" emerge wxGTK-2.5*
2. emerge wxpython-2.5.3.1

Actual Results:  
>>> emerge (1 of 1) dev-python/wxpython-2.5.3.1 to /
>>> md5 src_uri ;-) wxPython-src-2.5.3.1.tar.gz
 * You can now have gtk, gtk2 and unicode versions of wxGTK
 * simultaneously installed as of >=wxGTK-2.4.2-r2.
 * This means you can have wxpython installed using any one of those
 * versions by setting gtk2, unicode, or -gtk2 (for gtk1) in USE
unicode
gtk2
>>> Unpacking source...
>>> Unpacking wxPython-src-2.5.3.1.tar.gz to /var/tmp/portage/wxpython-2.5.3.1/work
>>> Source unpacked.
gtk2
unicode
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/lib/wx/config/gtk2-unicode-release-2.5 not found
!!! set-wxconfig:         /usr/lib/wx/config/gtk2-unicoded-release-2.5 not
found!!! You need to emerge wxGTK with unicode in your USE


Expected Results:  
I expected wxpython to merge
Comment 1 Sam Widmer 2005-01-10 14:19:28 UTC
Created attachment 48134 [details]
Fixed wxwidgets.eclass

In the wxwidgets.eclass it looks for the file: 
/usr/lib/wx/config/gtk2-unicoded-release-2.5
The propername should be:
/usr/lib/wx/config/gtk2-unicode-debug-2.5

In the eclass I have changed line 56 from:
 wxconfig_debug_name="${1}d-release-${WX_GTK_VER}
To:
 wxconfig_debug_name="${1}-debug-${WX_GTK_VER}

With this change wxpython compiles normally.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-01-10 16:02:53 UTC
Thanks, Sam. Fixed in CVS.