Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148270 - package(s) missing from the world file
Summary: package(s) missing from the world file
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 18:30 UTC by David Carlos Manuelda
Modified: 2006-09-21 21:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (eminfo.txt,7.33 KB, text/plain)
2006-09-19 18:31 UTC, David Carlos Manuelda
Details
emerge --debug --update --deep world (em_update_fail.txt,439.31 KB, text/plain)
2006-09-20 02:03 UTC, David Carlos Manuelda
Details
emerge --debug kdm (em_kdm_fail.txt,1.33 KB, text/plain)
2006-09-20 02:04 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2006-09-19 18:30:55 UTC
When I run emerge --update --deep world (from a recently synced tree), I get (in this case): emerge --update --deep world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild     U ] kde-base/kdelibs-3.5.4-r2 [3.5.4-r1] USE="alsa cups ssl -acl -arts -debug -doc -fam -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -noutempter -openexr -spell -tiff -xinerama -zeroconf" 35 kB

But for example, you can see this: emerge kdm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] kde-base/kdm-3.5.4-r2 [3.5.4-r1] USE="pam -arts -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB

(a new version of kdm is available but not handled by --update --deep options! (and may be other applications too))
Comment 1 David Carlos Manuelda 2006-09-19 18:31:24 UTC
Created attachment 97485 [details]
emerge --info
Comment 2 David Carlos Manuelda 2006-09-19 18:32:08 UTC
I must say that I have all kde components in /etc/portage/package.keywords (as ~amd64 keyworded)
Comment 3 Zac Medico gentoo-dev 2006-09-19 19:33:02 UTC
If you are still able to reproduce the problem, then please attach emerge --debug output for the command that behaves unexpectedly.
Comment 4 David Carlos Manuelda 2006-09-20 02:02:47 UTC
Yes I can still reproduce it. First I run emerge --debug --update --deep world (as the first attachment) and after I run emerge --debug kdm.
Comment 5 David Carlos Manuelda 2006-09-20 02:03:47 UTC
Created attachment 97519 [details]
emerge --debug --update --deep world

This is the debug file of the failing update
Comment 6 David Carlos Manuelda 2006-09-20 02:04:42 UTC
Created attachment 97520 [details]
emerge --debug kdm

And this is the prove that update fails (there are packages not detected by update wich can be upgraded)
Comment 7 Zac Medico gentoo-dev 2006-09-20 23:38:52 UTC
On my system, kdm is pulled in as a dependency of kdebase-meta, which is in turn pulled in as a dependency of kde-meta.  In your case, what would you expect to pull it in?  The debug ouput shows that you have kdebase-startkde (which is typical for a minimal kde installation), but that doesn't depend on kdm.  If you use `emerge --noreplace kdm` to add kdm to /var/lib/portage/world, then it will be updated automatically with world updates.
Comment 8 David Carlos Manuelda 2006-09-21 05:13:02 UTC
Yes, I emerged kdebase-startkde, but also after this, I emerged kdm, so kdm should be in my world file, and so selected from upgrading. 
Comment 9 Zac Medico gentoo-dev 2006-09-21 11:21:14 UTC
Is kdm recorded in /var/lib/portage/world or not?  If so, another thing that could cause this would be to have kdm listed in /etc/portage/profile/package.provided.
Comment 10 David Carlos Manuelda 2006-09-21 17:03:01 UTC
It is not listed, maybe an error while I was merging kdm for first time.

This way, it may not be a bug of portage? (if so, please close this thread)
Comment 11 Zac Medico gentoo-dev 2006-09-21 18:08:19 UTC
I haven't heard any other complaints about packages not being added to the world file, so I guess it's not a common problem.  One possible explanation is that a parallel instance of emerge overwrote the world file that contained kdm.
Comment 12 David Carlos Manuelda 2006-09-21 19:21:49 UTC
This is possible... thus, could be possible to have portage not overwriting world? (instead of this, only adding the current ebuild to world) and maybe allowing paralel executions of emerge?
Comment 13 Zac Medico gentoo-dev 2006-09-21 21:38:17 UTC
(In reply to comment #12)
> This is possible... thus, could be possible to have portage not overwriting
> world? (instead of this, only adding the current ebuild to world) and maybe
> allowing paralel executions of emerge?

We don't officially support parallel invocations of emerge in any way at this time.  Maybe someday, but it's a very low priority.  We might support parallel builds soon (see bug 147516), but those builds would all be managed from a single parent process (only the parent process would need to modify the world file).