Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265362 - x11-base/xorg-server-1.5.3-r5 emerge fails to rebuild mouse driver
Summary: x11-base/xorg-server-1.5.3-r5 emerge fails to rebuild mouse driver
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 17:43 UTC by Andrew Hurst
Modified: 2009-04-07 21:28 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 Andrew Hurst 2009-04-07 17:43:38 UTC
emerging newly stabled xorg-server, with +minimal and -hal useflags
make.conf: INPUT_DEVICES = "keyboard mouse".

The post-build dep correctly rebuilds xf86-input-keyboard, but did not rebuild xf86-input-mouse.
I had to do it manually to get the mouse back.

Reproducible: Didn't try

Steps to Reproduce:
1. Set -hal and +minimal useflags for xorg-server
2. Set make.conf INPUT_DEVICSE="keyboard mouse"
3. emerge xorg-server from 1.3... to 1.5.3-r5
4. restart xorg-server (I did /etc/init.d/xdm restart)
5. find dead mouse (usu. under your right hand) 

Actual Results:  
mouse input stopped working

Expected Results:  
the mouse input still working: Since portage cleverly caught the keyboard driver post-build dep, I'd expect the mouse one to work too
Comment 1 Rafał Mużyło 2009-04-07 17:58:47 UTC
What was that post-emerge note again ?
"You must rebuild all drivers if upgrading from xorg-server 1.4.1"...

So, invalid.
Comment 2 Andrew Hurst 2009-04-07 18:05:31 UTC
ok, fair enough,
but I read the note, and rebuilt nvidia-drivers:

When I saw xf86-input-keyboard get pulled in I thought 'ok portage is taking care of the xorg internal drivers'
So why one, and not the other?
Comment 3 Andrew Hurst 2009-04-07 18:20:41 UTC
Reading the ebuild I guess it was just an upped version requirement for kb, where there wasn't one for the mouse. Just unlucky coincidence.

Perhaps the message might make it clearer - all drivers specified in INPUT_DEVICES and VIDEO_CARDS?

But perhaps I'm more stupid than the average Gentoo user even since the graphical installer came along :)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 21:28:46 UTC
If you have app-portage/portage-utils installed you can re-emerge all installed x11-drivers with one single command:

  emerge -1av $(qlist -CI x11-drivers)

Marking this bug as INVALID as there is already a note inside of the xorg-server ebuild.

P.S.: Nice description on how to reproduce the bug (esp. #5) :D