From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30957 invoked from network); 26 Jun 2004 06:09:29 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 26 Jun 2004 06:09:29 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1Be6NV-0000Q0-CY for arch-gentoo-dev@lists.gentoo.org; Sat, 26 Jun 2004 06:09:29 +0000 Received: (qmail 25865 invoked by uid 89); 26 Jun 2004 06:09:28 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 22835 invoked from network); 26 Jun 2004 06:09:28 +0000 From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Date: Sat, 26 Jun 2004 15:06:52 +0900 User-Agent: KMail/1.6.52 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <200406261506.56943.jstubbs@gentoo.org> Subject: [gentoo-dev] Stage1 and dependencies X-Archives-Salt: afa033ef-8432-45ab-ba43-dd0fdc989ec1 X-Archives-Hash: 451077e7aa4e40cdf1431524d7724e7e =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, Two issues, but first the data: # USE=3D"-*" ./emerge.py -ep system These are the packages that I would merge, in order: Calculating dependencies done! [ebuild N ] sys-devel/gnuconfig-20040214 [ebuild N ] sys-apps/cronbase-0.3 Using installed packages to build sys-devel/patch-2.5.9 [ebuild N ] sys-devel/patch-2.5.9 [ebuild N ] sys-kernel/linux-headers-2.4.22 [ebuild N ] app-arch/ncompress-4.2.4 [ebuild N ] sys-libs/db-4.1.25_p1-r4 Using installed packages to build app-arch/bzip2-1.0.2-r3 [ebuild N ] app-arch/bzip2-1.0.2-r3 Ignoring dependencies for sys-libs/glibc-2.3.3.20040420 [ebuild N ] sys-libs/glibc-2.3.3.20040420 [ebuild N ] sys-libs/ncurses-5.4-r2 [ebuild N ] sys-apps/sed-4.0.9 [ebuild N ] sys-apps/texinfo-4.6 [ebuild N ] sys-apps/groff-1.19 [ebuild N ] sys-apps/man-1.5m-r1 [ebuild N ] sys-libs/zlib-1.2.1-r2 [ebuild N ] dev-python/python-fchksum-1.7.1 [ebuild N ] dev-libs/expat-1.95.7 [ebuild N ] dev-lang/python-2.3.4 [ebuild N ] app-shells/bash-2.05b-r9 [ebuild N ] sys-apps/gawk-3.1.3-r1 [ebuild N ] sys-apps/modutils-2.4.26 [ebuild N ] app-shells/sash-3.7 [ebuild N ] app-editors/nano-1.3.2 [ebuild N ] net-misc/dhcpcd-1.3.22_p4-r5 [ebuild N ] dev-util/yacc-1.9.1-r2 [ebuild N ] sys-devel/flex-2.5.4a-r5 [ebuild N ] sys-apps/kbd-1.12-r2 [ebuild N ] app-arch/cpio-2.5 [ebuild N ] sys-fs/e2fsprogs-1.35 [ebuild N ] sys-apps/ed-0.2-r3 [ebuild N ] sys-apps/file-4.09 [ebuild N ] sys-apps/findutils-4.1.20-r1 [ebuild N ] sys-apps/miscfiles-1.3-r1 [ebuild N ] sys-apps/grep-2.5.1-r4 [ebuild N ] app-arch/gzip-1.3.3-r2 [ebuild N ] sys-apps/less-382-r2 [ebuild N ] sys-apps/man-pages-1.67 [ebuild N ] sys-apps/procps-3.2.1 [ebuild N ] sys-apps/psmisc-21.4 [ebuild N ] sys-apps/setserial-2.17-r2 [ebuild N ] app-arch/sharutils-4.2.1-r9 [ebuild N ] app-arch/tar-1.14 [ebuild N ] sys-apps/which-2.16 [ebuild N ] sys-devel/bin86-0.16.13 [ebuild N ] sys-devel/make-3.80 [ebuild N ] sys-libs/pwdb-0.62 [ebuild N ] sys-libs/readline-4.3-r5 [ebuild N ] sys-fs/devfsd-1.3.25-r8 Ignoring dependencies for sys-apps/portage-2.0.51_pre12 [ebuild N ] sys-apps/portage-2.0.51_pre12 [ebuild N ] sys-devel/libperl-5.8.4-r1 [ebuild N ] sys-devel/bc-1.06-r5 Ignoring dependencies for sys-devel/libtool-1.5.2-r5 [ebuild N ] sys-devel/libtool-1.5.2-r5 [ebuild N ] sys-devel/m4-1.4.1 [ebuild N ] dev-libs/popt-1.7-r1 [ebuild N ] dev-libs/glib-1.2.10-r5 Ignoring dependencies for sys-devel/gcc-3.3.3-r6 [ebuild N ] sys-devel/gcc-3.3.3-r6 [ebuild N ] dev-lang/perl-5.8.4 [ebuild N ] sys-devel/binutils-2.14.90.0.8-r1 [ebuild N ] sys-devel/autoconf-2.59-r4 [ebuild N ] sys-devel/automake-1.8.5-r1 [ebuild N ] sys-apps/help2man-1.33.1 [ebuild N ] sys-apps/coreutils-5.2.1 [ebuild N ] sys-apps/debianutils-1.16.7-r4 [ebuild N ] sys-devel/bison-1.875 [ebuild N ] sys-devel/gcc-config-1.3.6 [ebuild N ] sys-apps/util-linux-2.12-r4 [ebuild N ] sys-apps/baselayout-1.9.4-r2 [ebuild N ] dev-libs/openssl-0.9.7d-r1 [ebuild N ] net-misc/iputils-021109-r3 [ebuild N ] net-misc/rsync-2.6.1 [ebuild N ] net-misc/wget-1.9.1-r2 [ebuild N ] sys-apps/diffutils-2.8.7 [ebuild N ] sys-apps/fbset-2.1 [ebuild N ] sys-libs/cracklib-2.7-r9 [ebuild N ] sys-apps/shadow-4.0.4.1-r2 [ebuild N ] sys-apps/slocate-2.7-r5 [ebuild N ] sys-apps/hdparm-5.5 [ebuild N ] sys-apps/net-tools-1.60-r8 [ebuild N ] sys-libs/pam-0.77-r1 [ebuild N ] sys-apps/pam-login-3.14 [ebuild N ] net-misc/openssh-3.8.1_p1-r1 Issue #1: Ignoring dependencies The "cleaning" of the vardb to trick portage is IMO a bad thing. There is=20 obviously enough in a stage 1 to be able to build up all of system, but=20 according to the data portage it is impossible. This then requires a hack a= s=20 indicated above to attempt the merge anyway. However, this hack affects use= rs=20 of installed systems as well as portage will go ahead and attempt a=20 compilation that is guaranteed to fail. Plus there's the fact that files are left around unowned... Issue #2: Lack of dependency information Looking at the above, linux-headers doesn't need bzip2 to unpack, ncompress= =20 and db don't need glibc to build and almost nothing needs gcc to compile. I= t=20 gets much worse when doing emerge -ep world. If it's too much of a PITA to= =20 fix this for all packages, portage could ensure that all of system is=20 installed before anything else, but this needs to be 100% explicit for the= =20 base system. I don't believe it's as difficult as it sounds - a few eclasse= s=20 such as bz2files, csource, cppsource, etc should be sufficient. However,=20 without accurate information, parallel emerges are just a daydream. Regards, Jason Stubbs =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iQCVAwUBQN0SgFoikN4/5jfsAQKt1AQAnzecqLFJzo+kAK3W8wGE5Y1ACV/J+zWT iw+Re6gx4GF1TujwSUDQiNi2hsRcwAypQnUvuJv+XqfdwMrVaCLbLc5SDFi1P95Q hTrW+ZTCiiDWBfkUCYA08gnZbnASon2pso2pBkJUCH5p6yZP6JbMStqTxDCKr7zG LSMkbKtc0Ws=3D =3DCuxp =2D----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list