Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296546 - sys-fs/udev incorrectly depends on sys-kernel/linux-headers instead of virtual/os-headers
Summary: sys-fs/udev incorrectly depends on sys-kernel/linux-headers instead of virtua...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-11 18:47 UTC by Alan Hourihane
Modified: 2010-08-23 20:07 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 Alan Hourihane 2009-12-11 18:47:30 UTC
It seems as of linux-headers-2.6.28-r1 that the ebuild says "-mips" instead of "~mips" and therefore is unmergeable.

2.6.29 and 2.6.30 kernel headers also have this.
Comment 1 Alan Hourihane 2009-12-11 18:48:56 UTC
Oh, reason being is that sys-fs/udev-149 depends on it.

qube ~ # emerge -puD --newuse world

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

Calculating dependencies... done!

!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
virtual/bootloader

!!! All ebuilds that could satisfy ">=sys-kernel/linux-headers-2.6.29" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/linux-headers-2.6.30-r1 (masked by: missing keyword)
- sys-kernel/linux-headers-2.6.29 (masked by: missing keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "sys-fs/udev-149" [ebuild])
(dependency required by "world" [argument])
Comment 2 SpanKY gentoo-dev 2009-12-18 16:49:01 UTC
udev is broken.  virtual/os-headers exists for a reason.  linux-headers is not supposed to be keyworded for mips.
Comment 3 Matthias Schwarzott gentoo-dev 2009-12-18 22:45:28 UTC
(In reply to comment #2)
> udev is broken.  virtual/os-headers exists for a reason.  linux-headers is not
> supposed to be keyworded for mips.
> 

Ok, once I can express ">=sys-kernel/linux-headers-2.6.29" in terms of virtual/os-headers I can fix udev ebuild.
But as far as I can see, os-headers is still an old-style virtual :(
Comment 4 Matthias Schwarzott gentoo-dev 2009-12-28 11:36:06 UTC
(In reply to comment #3)
> 
> Ok, once I can express ">=sys-kernel/linux-headers-2.6.29" in terms of
> virtual/os-headers I can fix udev ebuild.
> But as far as I can see, os-headers is still an old-style virtual :(
> 

Is DEPEND="virtual/os-headers !<sys-kernel/linux-headers-2.6.29" an acceptable solution?
Comment 5 SpanKY gentoo-dev 2010-02-13 07:59:57 UTC
you're free to block non-virtualized packages.  no idea why udev needs newer linux-headers in the first place though ... sounds like udev is even more broken.
Comment 6 Matthias Schwarzott gentoo-dev 2010-02-13 14:48:41 UTC
udev needs >=linux-headers-2.6.29, as older versions did not provide bsg.h
Comment 7 SpanKY gentoo-dev 2010-08-23 06:23:22 UTC
Matthias: so just change the dependency into a blocker:
    virtual/os-headers !<sys-kernel/linux-headers-2.6.29