Bug 147326 - wxPython does not build on x86_64
wxPython does not build on x86_64
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: wxPython (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-07 07:06 EST by Thorsten Leemhuis
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-02-10 14:17:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
spec file patch: remove distutils before build - fixes x86_84 (1.00 KB, patch)
2005-02-08 14:28 EST, Thorsten Leemhuis
no flags Details | Diff
wxPythonGTK2 spec file patch: remove distutils before build - fixes build on x86_84 (1.03 KB, patch)
2005-02-08 14:30 EST, Thorsten Leemhuis
no flags Details | Diff

  None (edit)
Description Thorsten Leemhuis 2005-02-07 07:06:54 EST
Description of problem:
wxPython does not build on x86_64; Build Log currently at:
http://fedoraproject.org/extras/3/build-logs/x86_64/wxPython.log

Version-Release number of selected component (if applicable):
wxPython-2.4.2.4-1

Additional info:
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:
http://starship.python.net/crew/robind/wxPython/daily/20041021/CHANGES.html

The disutils problem is also described in this mail:
http://mail.python.org/pipermail/python-dev/2004-May/044692.html
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
I do.
Comment 1 Thorsten Leemhuis 2005-02-07 07:17:34 EST
Forgot: Removing wxPython/distutils/ also fixes build of wxPythonGTK2-2.4.2.4-3
on x86_64
Comment 2 Toshio Kuratomi 2005-02-07 14:53:01 EST
I haven't looked at the wxPython/wxPythonGTK sources yet, but my impression from
[1]_ 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.

[1]_ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125472
Comment 3 Panu Matilainen 2005-02-07 15:01:22 EST
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.
Comment 4 Thorsten Leemhuis 2005-02-07 15:12:28 EST
(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?
Comment 5 Panu Matilainen 2005-02-08 03:41:38 EST
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 :)
Comment 6 Thorsten Leemhuis 2005-02-08 14:28:19 EST
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
Comment 7 Thorsten Leemhuis 2005-02-08 14:30:02 EST
Created attachment 110815 [details]
wxPythonGTK2 spec file patch: remove distutils before build - fixes build on x86_84
Comment 8 Thorsten Leemhuis 2005-02-10 12:49:50 EST
Panu, are these patches okay for you? Shall I commit to CVS or to you
want to do it yourself?
Comment 9 Panu Matilainen 2005-02-10 13:36:11 EST
Go ahead and commit - I don't have CVS access...
Comment 10 Thorsten Leemhuis 2005-02-10 14:17:07 EST
>I don't have CVS access...
Sorry Panu, I thought you had. Commited and build requested. Thanks guys.

Note You need to log in before you can comment on or make changes to this bug.