Summary: | binutils-2.12.90.0.7 tries to bring in perl during bootstrap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Grant Goodyear (RETIRED) <g2boojum> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drobbins, lamer |
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Grant Goodyear (RETIRED)
2002-07-13 15:30:50 UTC
Lamer, is this similar to the problem you had? -----------------------snip------------------------------ DEPEND="virtual/glibc nls? ( sys-devel/gettext )" [ -z "`use build`" ] && [ -z "`use bootstrap`" ] && \ DEPEND="${DEPEND} sys-devel/perl" ------------------------snip------------------------------ Now, either they edited bootstrap, or there was some wierd commit to it again, as with "build" and "bootstrap" in USE (during bootstrap), it should not depend on groff. Oh, and have a look at this: nosferatu UML # USE="build" emerge -ep binutils These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild N ] sys-devel/libtool-1.4.1-r9 to / [ebuild N ] sys-apps/groff-1.17.2-r1 to / [ebuild N ] sys-libs/db-1.85-r1 to / [ebuild N ] sys-libs/db-3.2.9 to / [ebuild N ] sys-libs/gdbm-1.8.0-r5 to / [ebuild N ] sys-devel/perl-5.6.1-r4 to / [ebuild N ] sys-devel/binutils-2.12.90.0.7 to / nosferatu UML # rm -rf /var/cache/edb/dep/* nosferatu UML # USE="build" emerge -ep binutils These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild N ] sys-devel/libtool-1.4.1-r9 to / [ebuild N ] sys-devel/binutils-2.12.90.0.7 to / nosferatu UML # USE="bootstrap" emerge -ep binutils These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild N ] sys-devel/libtool-1.4.1-r9 to / [ebuild N ] sys-devel/binutils-2.12.90.0.7 to / nosferatu UML # Maybe we should get bootstrap.sh to clear the dep cache just before bootstrap emerge starts ? I agree that having "rm -rf /var/cache/edb/dep/*" to the beginning of bootstrap.sh is a good idea. CCing this to drobbins for his approval. Actually, I think the best way will be to fix it portage side. We have many ebuilds that have DEPEND and RDEPEND which depend on "bootstrap" or "build". Now, most of them have extra DEPEND if [ -z "`use build`" ], so maybe we need a negative type of use flag selection in DEPEND ? Something like: DEPEND="build? (foo !bar)" Meaning, if "build" in USE, DEPEND on foo, but NOT bar, else if "build" not in use, DEPEND on bar, and NOT on foo ? Comments ? Actually I guess we have it already. DEPEND="( build? : sys-devel/perl ) ( bootstrap? : sys-devel/perl )" I am guessing should do it. Ok, that do not work too well. Erm, this bug is actually fixed .. updated DEPEND to working one. |