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
reported in IRC, and zmedico give a patch: http://dev.gentoo.org/~zmedico/tmp/depclean_root.patch
Thanks, this is in svn r14775.
(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.