Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462264 - dev-lang/python: clean/speed up cross-compiling support
Summary: dev-lang/python: clean/speed up cross-compiling support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 05:18 UTC by SpanKY
Modified: 2013-05-30 15:47 UTC (History)
2 users (show)

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


Attachments
python 2.6.8 multiprocessing cross-compile patch (python.patch,4.39 KB, patch)
2013-03-19 05:18 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2013-03-19 05:18:48 UTC
Created attachment 342606 [details, diff]
python 2.6.8 multiprocessing cross-compile patch

this converts the cross-compiling logic over to the multiprocessing eclass

this patch is against python-2.6.8, but applying to the others is pretty straight forward

i posted this a while ago to the irc channel and no one had problems with it.  forgot about it in the mean time.
Comment 2 Bertrand Jacquin 2013-05-30 13:23:22 UTC
Spanky,

Did you do something specific for avoid errors at the "make altinstall maninstall" step ?

I'm getting some troubles here like 

ImportError: /var/tmp/i586-pc-linux-gnu/portage/dev-lang/python-2.7.3-r3/work/i586-pc-linux-gnu/build/lib.linux-x86_64-2.7/_struct.so: wrong ELF class: ELFCLASS32

Maybe this need a new bug entry ?
Comment 3 SpanKY gentoo-dev 2013-05-30 15:47:00 UTC
(In reply to Bertrand Jacquin from comment #2)

yes, you should be filing new bugs for everything.  this bug is closed.