Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534706 - sys-devel/crossdev cross-emerge fails with >=sys-apps/portage-2.2.14
Summary: sys-devel/crossdev cross-emerge fails with >=sys-apps/portage-2.2.14
Status: RESOLVED DUPLICATE of bug 268887
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-04 20:29 UTC by Andrew Aladjev
Modified: 2015-05-19 03:32 UTC (History)
2 users (show)

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


Attachments
emerge log (log.txt.gz,102.22 KB, application/gzip)
2015-01-04 20:31 UTC, Andrew Aladjev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Aladjev 2015-01-04 20:29:56 UTC
mips-softfloat-linux-uclibc-emerge -v1 =sys-apps/portage-2.2.8-r2
all data is installed to /usr/lib64
mips-softfloat-linux-uclibc-emerge -v1 =sys-apps/portage-2.2.14
part of data is installed to /usr/lib another part to /usr/lib64


Reproducible: Always

Steps to Reproduce:
Use 32bit crossdev emerge (for example mips-softfloat-linux-uclibc) on 64bit host and install >=sys-apps/portage-2.2.14

Actual Results:  
You will obtain "ImportError: No module named 'portage'" after chroot to /usr/mips-softfloat-linux-uclibc
For example "site-packages" is installed into /usr/lib64/python3.3/site-packages
But "ebuild-helpers" is installed into /usr/lib/portage/python3.3/ebuild-helpers
Comment 1 Andrew Aladjev 2015-01-04 20:31:14 UTC
Created attachment 393166 [details]
emerge log
Comment 2 Andrew Aladjev 2015-01-04 20:34:21 UTC
Sorry, I can't edit the comment above.

mips-softfloat-linux-uclibc-emerge -v1 =sys-apps/portage-2.2.8-r2
all data is installed to /usr/lib

So =sys-apps/portage-2.2.8-r2 works perfect.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-01-07 06:09:04 UTC
Yes, portage changed it's install system along with some directory changes where some of those things are installed.

The crossdev emerge code will need updating for newer portage.  In the meantime, you will have to stay with 2.2.8.
Comment 4 SpanKY gentoo-dev 2015-05-18 16:46:11 UTC
pretty sure this has nothing to do with crossdev.  the fact that you're getting host libdir paths when using python eclasses is due to python itself failing.

*** This bug has been marked as a duplicate of bug 268887 ***
Comment 5 James Le Cuirot gentoo-dev 2015-05-18 16:54:50 UTC
I haven't looked at this stuff recently but this smells a lot like bug #503874. Apply the simple patch there and see if it helps.
Comment 6 SpanKY gentoo-dev 2015-05-19 03:32:56 UTC
(In reply to James Le Cuirot from comment #5)

yeah, that's part of the meta 268887 bug, but that has probably blown out of control now so splitting it up to make progress would be better