Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55116 - stupid portage
Summary: stupid portage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 22:42 UTC by David Cozatt
Modified: 2004-06-27 21:05 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 David Cozatt 2004-06-24 22:42:32 UTC
To make this reproducible I would need to create a snapshot. However I could probably play with the ARCH="" versus ARCH="~x86" and show the problem.

If I issue:

emerge -uvp system
These are the packages that I would merge, in order:
 
Calculating system dependencies  ...done!
[ebuild     U ] sys-fs/e2fsprogs-1.35 [1.34] -nls -static  0 kB
[ebuild     U ] app-arch/gzip-1.3.3-r4 [1.3.3-r2] -build -nls -static  304 kB
 
Total size of downloads: 304 kB

If however I say:

emerge -uvp world
These are the packages that I would merge, in order:
                                                                             
Calculating world dependencies  ...done!
[ebuild     U ] media-libs/alsa-lib-1.0.5 [1.0.3b-r2] -jack -static  563 kB
[ebuild     U ] media-sound/alsa-utils-1.0.5 [1.0.3]  143 kB
[ebuild     U ] media-libs/alsa-oss-1.0.5 [1.0.3a]  155 kB
[ebuild     UD] app-sci/orsa-0.3.1 [0.5.0_rc2]  529 kB
[ebuild  N    ] sys-kernel/gentoo-dev-sources-2.6.7-r6  -build  159 kB
[ebuild  N    ] media-video/ati-drivers-3.9.0-r1  +gnome +kde +qt  4,184 kB
[ebuild     UD] media-libs/sdl-mixer-1.2.5-r1 [1.2.5-r2] +mikmod +mpeg +oggvorbis  914 kB
[ebuild     U ] app-arch/gzip-1.3.3-r4 [1.3.3-r2] -build -nls -static  304 kB:
[ebuild     U ] games-misc/fortune-mod-kernelcookies-8 [0.1]  7 kB
[ebuild     U ] sys-fs/reiserfsprogs-3.6.17 [3.6.11]  395 kB
[ebuild     U ] media-libs/svgalib-1.9.18-r1 [1.9.17-r3] -build  911 kB
[ebuild     U ] media-sound/xmms-1.2.10-r5 [1.2.10-r1] +3dnow +alsa -cjk -directfb +esd +ipv6 +mikmod +mmx -nls +oggvorbis +opengl +oss +xml  2,553 kB
[ebuild     U ] app-portage/mirrorselect-0.84 [0.83]  4 kB
[ebuild  N    ] media-sound/alsa-driver-1.0.5  +oss  1,687 kB
[ebuild     U ] sys-fs/e2fsprogs-1.35 [1.34] -nls -static  0 kB
[ebuild     U ] sys-devel/gcc-config-1.3.5 [1.3.4]  [empty/missing/bad digest]
[ebuild     U ] media-sound/alsa-tools-1.0.5 [1.0.3]  733 kB
 
Total size of downloads: 13,249 kB
 
(END)

Of note:
1) e2fsprogs is way down the list as is gzip.
2) system does not include the current kernel version.
3) reiserfsprogs is not included in system though it has an entry in fstab.

I believe "system" should be updated first before world and that fstab should be
read and filesystem support added to "system" if there is an entry there. 
That the kernel version should be detected and if updates are available that the
user should be notified.

Suppose a "world" file depends on a "system" file. Does portage update the depend first if it needs to be updated?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-06-24 22:49:53 UTC
There is no bug described here.  Everything appears to be working normally. It appears like you need to read the man page for emerge and perhaps the documentation at www.gentoo.org to understand how things are working.
Comment 2 David Cozatt 2004-06-25 09:00:53 UTC
class  Package classes are a convenient shorthand for large  groups  of
              packages.   Two  classes  are  currently  supported:  system and
              world.  system refers to a set of packages deemed necessary  for
              your system to run properly.  world contains all of the packages
              in  system,  along   with   any   other   packages   listed   in
              /var/cache/edb/world.   [See  FILES below for more information.]
              Note that these commands are generally used in conjunction  with
              --update.

This is not the first time I've read this- it implies that system files should be built first.

There is no way to add reiserfsprogs to "system" 

/etc/make.profile/package
              Contains a list of packages used for the base system.  The  sys-
              tem and world classes consult this file.  Do not edit this file.
                                                                                
Meaning when you rsync and update baselayout it will be overwritten. Therefor you cannot edit this file and add filesystem support for say xfs or reiserfs etc.

Last time I checked a kernel was required to have a bootable system. And some packages/program require a kernel in place before they will build i.e. iptables
or nmap.