Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658240 - x11-drivers/xf86-input-mouse-1.9.2 is incompatible with xorg-server-1.20
Summary: x11-drivers/xf86-input-mouse-1.9.2 is incompatible with xorg-server-1.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 658130 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-16 16:30 UTC by Sergey Galkin
Modified: 2018-06-19 04:49 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 Sergey Galkin 2018-06-16 16:30:42 UTC
After update to x11-base/xorg-server-1.20.0 and x11-drivers/nvidia-drivers-396.24-r1 and sys-kernel/gentoo-sources-4.17.0 I have black screen after start X. 
In /var/log/X* I can't find errors but if I try to run startx directly I have found this
mouse_drv.so: undefined symbol: xf86GetOS

full log is 
home ~ # startx
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.17.0-gentoo x86_64 Gentoo
Current Operating System: Linux home 4.17.0-gentoo #1 SMP PREEMPT Thu Jun 14 10:19:36 +04 2018 x86_64
Kernel command line: BOOT_IMAGE=/kernel-4.17.0 root=UUID=c1699ef5-ad90-4f5f-907b-9ae8a390a91a ro systemd.legacy_systemd_cgroup_controller=yes
Build Date: 16 June 2018  07:49:23PM

Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.2.log", Time: Sat Jun 16 19:53:17 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/libexec/Xorg: symbol lookup error: /usr/lib64/xorg/modules/input/mouse_drv.so: undefined symbol: xf86GetOS
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: unexpected signal 2


the same issue in devuan - https://bugs.devuan.org/db/21/214-b.html and arch - https://bbs.archlinux.org/viewtopic.php?id=237045

workaround is delete x11-drivers/xf86-input-mouse (but in this case the mouse is stop working) or  mask '=x11-base/xorg-server-1.20.0' and use '=x11-base/xorg-server-1.19.5-r2'
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-06-16 20:02:27 UTC
First, We have 'emerge @x11-module-rebuild' for these kind of errors.
But that should be handled by subslots.  So that makes the bug valid

Second, no one on x86/amd64 should be using the legacy xf86-input-mouse driver.  For many years, xf86-input-evdev replaces the mouse driver.  Now there is even xf86-input-libinput which is even more generic.
Unfortunately, the nvidia-xconfig was never updated to use either of these and still pulls the archaic mouse driver.
Comment 2 Matt Turner gentoo-dev 2018-06-16 21:18:49 UTC
I think it is being rebuilt properly. xorg-2.eclass adds RDEPEND+=" x11-base/xorg-server:=" for xf86-{input,video}-*.

The problem is that xf86GetOS was removed from xorg-server-1.20. xf86-input-mouse was updated in git, but no new release was made.
Comment 3 Larry the Git Cow gentoo-dev 2018-06-19 04:47:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabacb3ecfdc2ee8b002d9098f0bb4bb041bad6b

commit fabacb3ecfdc2ee8b002d9098f0bb4bb041bad6b
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-06-19 04:42:52 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-06-19 04:44:18 +0000

    x11-drivers/xf86-input-mouse: Version bump 1.9.3
    
    Closes: https://bugs.gentoo.org/658240

 x11-drivers/xf86-input-mouse/Manifest                      |  1 +
 x11-drivers/xf86-input-mouse/xf86-input-mouse-1.9.3.ebuild | 13 +++++++++++++
 2 files changed, 14 insertions(+)
Comment 4 Matt Turner gentoo-dev 2018-06-19 04:49:51 UTC
*** Bug 658130 has been marked as a duplicate of this bug. ***