Udev 171 splits out the extras use flag into separate use flags. As a result, the ebuilds for this package need the following changes: sys-fs/udev[extras] needs to become: || ( >=sys-fs/udev-171[useflag] >= sys-fs/udev145[extras] ) "useflag" in this example should be replaced with whatever the use flag is for udev-171 that your package needs. This should not require a revbump since we are just modifying use flags.
I think $useflag might be "action_modeswitch" so the change in any net-misc/modemmanager ebuild sums up to: || ( >=sys-fs/udev-171[action_modeswitch] >= sys-fs/udev-145[extras] )
..on the other hand while reading through Bug #348472 > - disable action-modeswitch by default (will move to usb_modeswitch) which is already available in the tree as sys-apps/usb_modeswitch don't know if this might be used by net-misc/modemmanager as an alternative i.e. drop-in replacement..?
Created attachment 276287 [details] updated ebuild for modemmanager 0.4_p20110205 I was able to build the attached ebuild with only this change: || ( >=sys-fs/udev-145[extras] >=sys-fs/udev-171 ) I did not have to require any use flags. However, some other ebuilds required gudev, and so I was forced to use gudev too. # echo sys-fs/udev gudev >> /etc/portage/package.use gudev may be required here too. It's hard for me to tell.
FWIW, Here's how I built udev: [ebuild R ~] sys-fs/udev-171-r1 USE="acl gudev rule_generator -action_modeswitch -debug -edd -floppy -hwdb (-introspection) -keymap (-selinux) -test" 0 kB
Maintainers, the correct approach here is going to be either to use comment #1 or comment #2 as the basis of the fix depending on whether modemmanager can use the package from comment #2. If you know which way to go, I am willing to make the change, just let me know. Thanks, William
I dared touching this myself: + 09 Jun 2011; Sebastian Pipping <sping@gentoo.org> modemmanager-0.3.ebuild, + modemmanager-0.4.ebuild, modemmanager-0.4_p20101211.ebuild, + modemmanager-0.4_p20110205.ebuild: + Add >=sys-fs/udev-171[gudev] as an alternative dependency to + >=sys-fs/udev-145[extras] (bug #370385) +