Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291792 - portage pull dependencies from "CBUILD" machine in crossdev
Summary: portage pull dependencies from "CBUILD" machine in crossdev
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 288499
  Show dependency tree
 
Reported: 2009-11-04 01:03 UTC by Yu Yuwei
Modified: 2010-09-22 04:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Yuwei 2009-11-04 01:03:19 UTC
In cross-compiling,  after setting up crossdev-wrappers,  
    emerge-armv4tl-softfloat-linux-gnueabi  -vp --depclean
will pull all packages from /var/db/pkg as well (while PORTAGE_CONFIGROOT="/usr/armv4tl-softfloat-linux-gnueabi/")

when  use emerge-armv4tl-softfloat-linux-gnueabi  xxxx, 
it will missing same packages which have already beeb  installed in host machine, 
but need to be installed in target machine.

portage:  2.2_rc47 and  2.1.7.2 both have this problem
crossdev:  0.9.19
crossdev-wrappers: 20090922


Reproducible: Always

Steps to Reproduce:
1. add openmoko overlay
2. emerge crossdev
3. crossdev  --target armv4tl-softfloat-linux-gnueabi
4. emerge crossdev-wrappers
5. emerge-wrapper --init
6. download and untar the stage3 tarball to /usr/arm4tl-softfloat-linux-gnueabi
7. emerge-arm4tl-softfloat-linux-gnueabi  -vp --debug something


Actual Results:  
the package in local machine will show up after the ones in the cross-compiled target machine

Expected Results:  
do not pull the dependencies from localmachine
Comment 1 Yu Yuwei 2009-11-04 06:55:51 UTC
reported in IRC, and zmedico give a patch:
http://dev.gentoo.org/~zmedico/tmp/depclean_root.patch
Comment 2 Zac Medico gentoo-dev 2009-11-04 06:57:55 UTC
Thanks, this is in svn r14775.
Comment 3 Zac Medico gentoo-dev 2010-09-22 04:30:39 UTC
(In reply to comment #2)
> Thanks, this is in svn r14775.

Via gitweb:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4f74255cfef37a2f26bb4aafd780c50d8f90b724

This was release somewhere between 2.1.7 and 2.1.7.16.