Red Hat Bugzilla – Bug 147326
wxPython does not build on x86_64
Last modified: 2007-11-30 17:10:59 EST
Description of problem:
wxPython does not build on x86_64; Build Log currently at:
Version-Release number of selected component (if applicable):
The problems seems to be caused by the included distutils that is not
multilib-safe; After a
rm -rf wxPython/distutils
it build fine. Not sure if thise is a correct fix; But newer upstream versions
also don't ship it anymore:
The disutils problem is also described in this mail:
But after fixing (s/lib/lib64/ in the para refered in the above mail) build
fails a bit later at another point :-(
Panu, what do you think is the best way to fix? You know python way better than
Forgot: Removing wxPython/distutils/ also fixes build of wxPythonGTK2-220.127.116.11-3
I haven't looked at the wxPython/wxPythonGTK sources yet, but my impression from
_ is that Fedora's python package has a modified distutils to enable multilib
support. Reading the information on the starship site you mention, it looks
like the included distutils isn't needed on Python >= 2.1. So my take is going
with the system distutils instead of the included one is the right thing to do.
I'm not able to check this on x86_64 but based on the comments so far I think
using the system distutils is the "right thing" to do.
(In reply to comment #3)
> I'm not able to check this on x86_64 but based on the comments so far I think
> using the system distutils is the "right thing" to do.
just to be sure: Is this achieved by removing the distutils subdir (it seems
so...)? And is that a correct way to fix or is there any better?
And if we do that: only for x86_64 or also for i386?
Removing the distutils subdir seems to produce sane results on i386 as well (and
why wouldn't it?) I don't know of any "better" fix for it, if removing it fixes
the issue then I wouldn't worry about it too much :)
Created attachment 110814 [details]
spec file patch: remove distutils before build - fixes x86_84
FYI: spec file patch: remove distutils before build - fixes build on x86_84
Created attachment 110815 [details]
wxPythonGTK2 spec file patch: remove distutils before build - fixes build on x86_84
Panu, are these patches okay for you? Shall I commit to CVS or to you
want to do it yourself?
Go ahead and commit - I don't have CVS access...
>I don't have CVS access...
Sorry Panu, I thought you had. Commited and build requested. Thanks guys.