Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17312 - something mistakenly depends on virtual/os-headers
Summary: something mistakenly depends on virtual/os-headers
Status: RESOLVED DUPLICATE of bug 9050
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-11 12:15 UTC by Jon Nelson (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments
The output of grep -rn os-headers * > ~jnelson/foo (foo,7.27 KB, text/plain)
2003-03-28 14:51 UTC, Jon Nelson (RETIRED)
Details
The output of grep -rn os-headers * > ~jnelson/foo (foo,7.27 KB, text/plain)
2003-03-28 14:51 UTC, Jon Nelson (RETIRED)
Details
output of "emerge --buildpkg --changelog --deep --update --upgradeonly -p --debug world" (foo,7.99 KB, text/plain)
2003-03-29 19:15 UTC, Jon Nelson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2003-03-11 12:15:20 UTC
emerge --buildpkg --changelog --deep --update --upgradeonly --pretend world

These are the packages that I would merge, in order:

Calculating world dependencies -
emerge: there are no masked or unmasked ebuilds to satisfy "virtual/os-headers".
honker root #
Comment 1 SpanKY gentoo-dev 2003-03-11 13:02:24 UTC
baselayout and glibc do 
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-11 15:21:10 UTC
Ok, so please ask whoever that did not check in -core wtf virtual/os-headers
are for, and why they did not do it properly.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-11 15:38:32 UTC
Zach, please investigate and fix asap
Comment 4 Zach Welch (RETIRED) gentoo-dev 2003-03-11 15:52:54 UTC
I did post to -core, I talked with drobbins, seemant, carpaski, and a bunch
of others.  I did *not* make these changes without severe forethought and
consideration, so please do not presume that it was done in haste or
carelessness.

I tested this fully and it worked here, I also asked folks in irc to cvs up 
and test it last night.  I believe it should work just fine.

Here's what I did:

profiles/*/virtuals -> added virtual/os-headers, all map to linux-headers

changed linux-headers to provide virtual/os-headers

changed baselayout, iptables, glibc to use new virtual

If you are using CVS, did you do an entire cvs up for the tree?

This should not be broken.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-11 15:54:16 UTC
Uhm, ok, so that was not nice of me :/

He prob did the changes before he added all the virtuals.

BTW:  why os-headers ... the bsd port much closer to getting there ?
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-11 15:56:04 UTC
Collide.  Is prob rather a rsync problem.
Comment 7 Zach Welch (RETIRED) gentoo-dev 2003-03-11 16:07:47 UTC
os-headers was chosen because there may someday be substance to all the 
Gentoo {BSD,Hurd} rumors.

Due to the state of various projects underway in my local CVS tree, I had to
commit several times. I tried to time it in a half hour window, but it's
entirely possible an interim sync caught a half-converted tree.

For the record, I really feel bad if even one person suffers a problem, and
I tried to go to great lengths to do things right.  Sadly, our tools and
development process open the window for such race conditions.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-11 16:13:26 UTC
Dont worry about it.  Most people will just rsync in an hour and recheck.  As
for me, I am a bit high strung lately, and the 300 odd bugs assigned to me, or
that I am CC'd do not get less, so a bit annoyed rather that I got it once again
rather than who did the changes.  Sorry.
Comment 9 Jon Nelson (RETIRED) 2003-03-17 09:51:56 UTC
Can this please be fixed?
As of 5 minutes ago, I did a full rsync, and it's still broken.

honker root # date
Mon Mar 17 08:35:42 CST 2003
honker root # emerge --buildpkg --changelog --deep --update --upgradeonly --pretend world

These are the packages that I would merge, in order:

Calculating world dependencies -
emerge: there are no masked or unmasked ebuilds to satisfy "virtual/os-headers".
honker root # 
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-17 13:34:39 UTC
Check your /etc/make.profile/virtuals ... it should contain the default
mapping for 'virtual/os-headers'.

-----------------------------
nosferatu root # grep os-headers /etc/make.profile/virtuals
virtual/os-headers	sys-kernel/linux-headers
nosferatu root # 
Comment 11 Jon Nelson (RETIRED) 2003-03-17 13:40:40 UTC
Aha!

That fixes it.

Unfortunately, now I get:

onker root # emerge --buildpkg --changelog --deep --update --upgradeonly --pretend world

These are the packages that I would merge, in order:

Calculating world dependencies |
emerge: there are no masked or unmasked ebuilds to satisfy ">=sys-devel/perl-5".
honker root # 
Comment 12 Jon Nelson (RETIRED) 2003-03-17 13:42:40 UTC
Adding to virtuals:

sys-devel/perl          dev-lang/perl

did the trick there.

Cool.
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-17 13:57:27 UTC
This should actually have fixed it:

nosferatu root # grep perl /usr/portage/profiles/updates/1Q-2003 
move sys-devel/perl dev-lang/perl
nosferatu root # 

It *should* have updated all your db entries ....  What version portage?  Anything
special about your /etc/make.profile and/or portage tree ?
Comment 14 Jon Nelson (RETIRED) 2003-03-17 15:32:02 UTC
Well, there was a minor issue with my packages file.
Now, I get this:


honker root # emerge --buildpkg --changelog --deep --update --upgradeonly -p world

These are the packages that I would merge, in order:

Calculating world dependencies /
!!! all ebuilds that could satisfy ">=dev-lang/perl-5.8.0" have been masked.

!!! Problem with ebuild sys-apps/man-pages-1.54
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
honker root # 


Included below (to forstall questions) are the diffs from /etc/make.profile.
Clearly, there is nothing wrong there.

honker make.profile # for i in *;do diff -u $i /usr/portage/profiles/default-1.0/$i;done
--- packages    2003-03-17 13:48:48.000000000 -0600
+++ /usr/portage/profiles/default-1.0/packages  2003-03-16 15:21:14.000000000 -0600
@@ -50,6 +50,7 @@
 *virtual/editor
 #no real cost for nano, since we already have ncurses
 *net-ftp/ftp
+*net-misc/dhcpcd
 *net-misc/netkit-telnetd
 *net-misc/rsync
 *net-misc/wget
@@ -81,6 +82,8 @@
 *sys-apps/netkit-base
 *sys-apps/procps
 *sys-apps/psmisc
+*sys-apps/raidtools
+*sys-apps/reiserfsprogs
 *sys-apps/sed
 *sys-apps/setserial
 *sys-apps/sh-utils
--- virtuals    2003-03-17 13:48:57.000000000 -0600
+++ /usr/portage/profiles/default-1.0/virtuals  2003-03-11 05:52:23.000000000 -0600
@@ -3,7 +3,7 @@
 virtual/mta             net-mail/ssmtp
 virtual/alsa            media-sound/alsa-driver    
 virtual/kernel          sys-kernel/linux-headers
-virtual/linux-sources   sys-kernel/vanilla-sources
+virtual/linux-sources   sys-kernel/gentoo-sources
 virtual/glibc           sys-libs/glibc
 virtual/x11             x11-base/xfree
 virtual/opengl          x11-base/xfree
honker make.profile # 
Comment 15 Zach Welch (RETIRED) gentoo-dev 2003-03-17 16:05:51 UTC
have you tried a 'emerge regen' ?
Comment 16 Jon Nelson (RETIRED) 2003-03-21 10:17:38 UTC
Yes, and it still doesn't work for me.
This is on 1.2, and would appear to be a fairly serious bug.
Without adding the appropriate line to virtuals, I don't get anywhere.
Comment 17 Jon Nelson (RETIRED) 2003-03-21 10:19:22 UTC
Let me amend that.
Even *with* the virtuals line in place, I'm no good.
I'm using the 'default-1.0' profile.
Comment 18 Zach Welch (RETIRED) gentoo-dev 2003-03-21 20:55:23 UTC
I honestly can't understand what is causing this problem.  I have many machines
here x86, PPC, and ARM that are all working fine.  Perhaps attach the output of
'grep -rn os-headers *' from your /usr/portage tree.
Comment 19 Jon Nelson (RETIRED) 2003-03-28 14:44:44 UTC
OK, back at it.
Here's the output you requested, as an attachment.

After a freshy rsync, I still get the error as below.
honker root # emerge --buildpkg --changelog --deep --update --upgradeonly -p world

These are the packages that I would merge, in order:

Calculating world dependencies /
!!! all ebuilds that could satisfy ">=dev-lang/perl-5.8.0" have been masked.

!!! Problem with ebuild sys-apps/man-pages-1.56
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
honker root # 
Comment 20 Jon Nelson (RETIRED) 2003-03-28 14:51:28 UTC
Created attachment 9963 [details]
The output of grep -rn os-headers * > ~jnelson/foo
Comment 21 Jon Nelson (RETIRED) 2003-03-28 14:51:38 UTC
Created attachment 9964 [details]
The output of grep -rn os-headers * > ~jnelson/foo
Comment 22 Zach Welch (RETIRED) gentoo-dev 2003-03-29 15:51:18 UTC
Jon, I think your problems are related to using the default-1.0 profile.  I
tried to track it down, but then just asked carpaski, who replied:

<carpaski> zwelch: Using 47-r10, right?
<carpaski> zwelch: Well... When you get back... 
http://gentoo.twobit.net/portage/emerge-2.0.47-r10-dep_debug.diff
<carpaski> emerge --debug --nospinner blah
<carpaski> candidates are the ones that will become packages in the list.
<carpaski> Should be fairly easy to follow.

So, this should allow you to track down the ebuild that's causing perl-5.8 to
be required.  And I think this should show that your problems now are not
related to the virtual/os-headers.  Anyway which way, I hope this patch helps.
Comment 23 Jon Nelson (RETIRED) 2003-03-29 19:03:16 UTC
honker bin # emerge --debug --nospinner blah
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6, in ?
    import os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback
ImportError: No module named emergehelp
honker bin # 
Comment 24 Jon Nelson (RETIRED) 2003-03-29 19:15:05 UTC
I removed the emergehelp import, and get this (attaching output).
Comment 25 Jon Nelson (RETIRED) 2003-03-29 19:15:35 UTC
Created attachment 10000 [details]
output of "emerge --buildpkg --changelog --deep --update --upgradeonly -p --debug world"
Comment 26 Jon Nelson (RETIRED) 2003-04-25 10:05:47 UTC
Still having trouble.

Been working on other things, haven't had a chance to deal with any issues.

'emerge sync' immediately prior to running the command.



honker root # emerge --buildpkg --changelog --deep --update --upgradeonly -p world

These are the packages that I would merge, in order:

Calculating world dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy "virtual/aspell-dict".

!!! Problem with ebuild app-office/lyx-1.3.1
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
honker root # emerge --version
Portage 2.0.47-r10 (unavailable, gcc-2.95.3, glibc-2.2.5-r8)
honker root # 

Comment 27 Martin Holzer (RETIRED) gentoo-dev 2003-06-29 13:55:53 UTC

*** This bug has been marked as a duplicate of 9050 ***