Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 350543

Summary: x11-base/xorg-server-1.9.2 should RDEPEND on x11-apps/xinit
Product: Gentoo Linux Reporter: Róbert Čerňanský <openhs>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: mstomich, vmatare+gbug
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Róbert Čerňanský 2011-01-04 14:00:45 UTC
xorg-server provides /etc/init.d/xdm script which requires /etc/X11/startDM.sh to run.  Script /etc/X11/startDM.sh is provided by x11-apps/xinit.  However x11-base/xorg-server-1.9.2 has just build dependency on x11-apps/xinit.

Without x11-apps/xinit the command “/etc/init.d/xdm start” does not work.  So the x11-apps/xinit shoud be the _run_ dependency, not the build dependency of x11-base/xorg-server.

$ emerge -pv xorg-server xinit

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

Calculating dependencies... done!
[ebuild   R   ] x11-apps/xinit-1.3.0-r1  USE="minimal" 0 kB
[ebuild   R   ] x11-base/xorg-server-1.9.2  USE="ipv6 nptl udev xorg -dmx (-doc) -kdrive -minimal -static-libs -tslib" 0 kB
Comment 1 Mark Tomich 2011-01-24 21:04:31 UTC
I can confirm this bug.
Comment 2 Victor Mataré 2011-01-30 01:55:10 UTC
Yup, given the collisions which require you to uninstall xinit before upgrading xorg-server, this should definitely be fixed. It's especially problematic with binpkgs.
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2019-08-16 20:31:26 UTC
It's already fixed. xinit dependency is defined in CDEPEND, that is used in both DEPEND and RDEPEND.