Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27427 - vanilla-sources-2.4.22 doesn't satisfy virtual/linux-sources
Summary: vanilla-sources-2.4.22 doesn't satisfy virtual/linux-sources
Status: RESOLVED DUPLICATE of bug 1891
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 08:03 UTC by Don Seiler (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Don Seiler (RETIRED) gentoo-dev 2003-08-27 08:03:24 UTC
I had been running gentoo-sources-2.4.20-r6 with alsa.  I then installed
vanilla-sources-2.4.22 and unmerged gentoo-sources.  However alsa-driver kept
wanting gentoo-sources installed, even after re-emerging vanilla-sources.  Some
conversations in #gentoo-dev told me that vanilla-sources doesn't satisfy the
virtual/linux-sources dependency of alsa-driver.

Reproducible: Always
Steps to Reproduce:
Comment 1 Don Seiler (RETIRED) gentoo-dev 2003-08-27 08:06:35 UTC
This might be another symptom of Bug 21603.  I'll let kernel nerfherders decide.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-08-28 10:42:32 UTC
Looks like something horribly wrong with portage <tm> to me. Remerge portage and let those auto-dep-fix-tree-thing scripts do some cleaning. Try then. 

[Blurb]

Vanilla-sources pulls the kernel eclass which has a PROVIDES="virtual/kernel-sources" thing, so I see no reason why it would fail. And the slot is equal to the kernel version, so there shouldn't be any problems there. ... 

[/Blurb]
Comment 3 Don Seiler (RETIRED) gentoo-dev 2003-08-28 10:53:13 UTC
I've re-emerged portage and have "fixpackages" in my features, but it didn't do the auto-fix thing.  How does one manually call it?
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-08-28 11:02:27 UTC
fixpackages = for stuff in $portage_root/packages, I believe?

dep-clean is what you want, I think... Or not? It shows packages which are not in portage, missing, or unneeded, blar, blar...?
Comment 5 Don Seiler (RETIRED) gentoo-dev 2003-08-28 11:19:01 UTC
OK I ran dep-clean and it listed a bunch of stuff, but afterwards it still wants gentoo-sources.  I can attach the output of dep-clean if you'd like.
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2003-08-28 11:31:33 UTC
Stick PROVIDE="virtual/linux-sources" in the ebuild, and remerge. If that fails, something is mega-wrong<tm> and I'll add manual PROVIDEs to all the ebuilds.
Comment 7 Don Seiler (RETIRED) gentoo-dev 2003-08-28 11:42:49 UTC
Nope that didn't fix it either.  Have a look at Bug 21603 and let me know if you think this is another symptom of that problem.
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2003-08-28 11:52:06 UTC
Did you see a ">>> adding virtual/..............." line at the end?

If so, your tree looks semi-corrupted. Manual editing in /var/cache/edb/virtuals... might help.

If not, something is wrong with portage. Bug 21603 looks somewhat similar, but I don't see why it happens when merging from one type of kernel to another. Check /var/cache/edb/virtuals.
Comment 9 Don Seiler (RETIRED) gentoo-dev 2003-08-28 11:56:04 UTC
That virtuals file has this line in it:
virtual/linux-sources sys-kernel/gentoo-sources sys-kernel/vanilla-sources 

I took out the sys-kernel/gentoo-sources portion and that stopped the problem.  It looks like a bug in how portage deals with that file.  Should gentoo-sources have been removed from that file when I unmerged it?
Comment 10 Tim Yamin (RETIRED) gentoo-dev 2003-08-28 11:58:53 UTC
Yes it should. Bouncing bug to portage folks.
Comment 11 Robert Moss (RETIRED) gentoo-dev 2003-09-04 16:27:18 UTC
I noticed this problem when messing around with the development-sources too - it still alleged that my kernel was gentoo-sources-2.4.20-r5. It doesn't update the /usr/src/linux symlink either when you emerge gentoo-sources-2.4.20-r6 - it still points at -r5. Is that supposed to happen?!
Comment 12 Marius Mauch (RETIRED) gentoo-dev 2003-09-25 10:09:24 UTC

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