Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 203298
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fabio Rossi <rossi.f@inwind.it>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 203298 depends on: Show dependency tree
Bug 203298 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-25 14:18 0000
The wxwidgets.eclass contains an unknown function, _wxerror, at line 230

------- Comment #1 From Mart Raudsepp 2007-12-25 14:35:51 0000 -------
I think this error is only hit if the ebuild doesn't properly set WX_GTK_VER
before calling need-wxwidgets or check_wxuse, that is, the call to an unknown
function is inside that error codepath.
I think we can just change it to eerror, but I recall seeing the _wxerror
function somewhere doing something. dirtyepic, is this just a thinko from the
_wxerror in wx-config wrapper?

------- Comment #2 From Mart Raudsepp 2007-12-25 14:49:33 0000 -------
For now fixed the check for WX_GTK_VER to be the same in check_wxuse as it
already was in need-wxwidgets, using eerror + die instead of that not existing
_wxerror. Ryan (dirtyepic), feel free to revise that of course.

Fabio, you were probably hitting a check_wxuse call inside an ebuild that
doesn't set WX_GTK_VER anywhere (in global scope or in the function) before
calling that. Curious what ebuild is that? Might need a fix, as now it will
just error with better description than "unknown function" :)

------- Comment #3 From Fabio Rossi 2007-12-25 15:30:15 0000 -------
(In reply to comment #2)
> Fabio, you were probably hitting a check_wxuse call inside an ebuild that
> doesn't set WX_GTK_VER anywhere (in global scope or in the function) before
> calling that. Curious what ebuild is that? Might need a fix, as now it will
> just error with better description than "unknown function" :)

I found the problem (WX_GTK_VER unset) when I was trying to emerge
wxpython-2.6.4.0. I solved unmasking wxpython-2.6.4.0-r1 :-)

Here is the error log:

>>> Emerging (2 of 4) dev-python/wxpython-2.6.4.0 to /
 * wxPython-src-2.6.4.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                
                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                     [ ok ]
 * checking wxPython-src-2.6.4.0.tar.bz2 ;-) ...                               
                                                                     [ ok ]
 * Determine new optimal TMPFS value: [ 1969M ]
 * Mounting /var/tmp/portage/dev-python/wxpython-2.6.4.0 of [ 1969M ] ...      
                                                                     [ ok ]

/usr/portage/eclass/wxwidgets.eclass: line 230: _wxerror: command not found
 * Checking wxGTK- for opengl support ...
 *
 * ERROR: dev-python/wxpython-2.6.4.0 failed.
 * Call stack:
 *                 ebuild.sh, line 1717:  Called dyn_setup
 *                 ebuild.sh, line  768:  Called qa_call 'pkg_setup'
 *                 ebuild.sh, line   44:  Called pkg_setup
 *   wxpython-2.6.4.0.ebuild, line   36:  Called check_wxuse 'opengl'
 *          wxwidgets.eclass, line  234:  Called built_with_use
'=x11-libs/wxGTK-*' 'opengl'
 *             eutils.eclass, line 1664:  Called die
 * The specific snippet of code:
 *      [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package"
 *  The die message:
 *   Unable to resolve =x11-libs/wxGTK-* to an installed package
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/dev-python:wxpython-2.6.4.0:20071225-124117.log'.
 *
 * GNU info directory index is up-to-date.

------- Comment #4 From Ryan Hill 2007-12-25 16:32:11 0000 -------
yep, looks like the correct fix.  brain damage on my part.

fixed wxpython.2.6.4.0 as well.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug