# tail -n100 -f /var/log/portage/cross-i686-pc-linux-musl-musl.log Calculating dependencies .... done! [ebuild N ] sys-apps/getent-0 [ebuild R *] cross-i686-pc-linux-musl/musl-9999 [blocks B ] sys-libs/glibc ("sys-libs/glibc" is blocking sys-apps/getent-0) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sys-libs/glibc-2.19::gentoo, installed) pulled in by >=sys-libs/glibc-2.15 required by (dev-java/icedtea-bin-7.2.4.3::gentoo, installed) >=sys-libs/glibc-2.8 required by (sys-devel/gcc-4.8.2::gentoo, installed) sys-libs/glibc:2.2 required by (virtual/libc-0::gentoo, installed) >=sys-libs/glibc-2.5 required by (sys-apps/openrc-0.12.4::pentoo, installed) >=sys-libs/glibc-2.7 required by (sys-libs/pam-1.1.8::gentoo, installed) (sys-apps/getent-0::gentoo, ebuild scheduled for merge) pulled in by sys-apps/getent required by (cross-i686-pc-linux-musl/musl-9999::crossdev, ebuild scheduled for merge) For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked Reproducible: Always Steps to Reproduce: 1. crossdev -s4 --b 2.24-r2 --g 4.8.2 --k 3.13 --l 9999 -t i686-pc-linux-musl Actual Results: it calculate dependencies against native system, not /usr/${CHOST} Expected Results: it should calculate deps against /usr/${CHOST} = no glibc, openrc,pam,gcc-icedtea-bin installed = no error
I think you accidentally a word in summary.
has nothing to do with ROOT or crossdev. musl itself is broken wrt its deps. you can see the glibc or uclibc ebuilds for how to handle this correctly.
(In reply to SpanKY from comment #2) > has nothing to do with ROOT or crossdev. musl itself is broken wrt its > deps. you can see the glibc or uclibc ebuilds for how to handle this > correctly. can you please explain to me little bit, how it then possible that crossdev see deps from my host? Shouldn't be crossdev emerge separated from that? Thank you
(In reply to David Heidelberger (okias) from comment #3) > (In reply to SpanKY from comment #2) > > has nothing to do with ROOT or crossdev. musl itself is broken wrt its > > deps. you can see the glibc or uclibc ebuilds for how to handle this > > correctly. > > can you please explain to me little bit, how it then possible that crossdev > see deps from my host? Shouldn't be crossdev emerge separated from that? > Thank you No, you're not building a chroot. The package called cross-i686-pc-linux-musl/musl-9999 is being installed as is on your system; it just simply does not install binaries that your architecture can run. If any packages have dependencies, they must be fulfilled before the package is merged. No matter what kind of package it is.
Created attachment 372316 [details, diff] musl_cross_compile.patch This patch allow to use getent from glibc/uclibc/whateveeeer not forcing install getent package. It work OK.
(In reply to David Heidelberger (okias) from comment #5) > Created attachment 372316 [details, diff] [details, diff] > musl_cross_compile.patch > > This patch allow to use getent from glibc/uclibc/whateveeeer not forcing > install getent package. It work OK. committed with `if [[ ${CATEGORY} != cross-* ]]` rather than the above ! ==. Please reopen if this is still an issue.