both files are owned (epm -qf) by xorg-x11-6.8.1.901: /etc/init.d/xprint /etc/init.d/xprint.init setup_xprint_init() { # RH-style init script, we provide a wrapper exeinto /usr/lib/misc doexe ${D}/etc/rc.d/xprint # Install the wrapper exeinto /etc/init.d doexe ${FILES_DIR}/xprint.init } strange! The 'xprint' should go into /usr/lib/misc but it is in /etc/init.d and 'xprint.init' should be installed with newexe just as 'xinit' into /etc/init.d. In /usr/lib/misc there is no 'xprint'. It seems, that the new xorg-x11 installs the RH-init-script into ${D}/etc/init.d instead of ${D}/etc/rc.d, so the ebuild should fail, but there's no 'die'. The wrapper is installed as xprint.init (which is basically wrong I think, it should be just 'xprint'). Reproducible: Always Steps to Reproduce:
I'd appreciate if you attached a patch to fix this.
ups. sorry, had no time yet to investigate the problem further (compiling xorg takes hours on my slow machine). But I will do it, if you want.
Ok, I was right: ./conf.d ./conf.d/xfs ./env.d ./env.d/10xorg ./init.d ./init.d/xdm ./init.d/xfs ./init.d/xprint ./init.d/xprint.init ./pam.d ./pam.d/xdm ./pam.d/xserver ./profile.d ./profile.d/xprint.csh ./profile.d/xprint.sh ./rc.d ./rc.d/rc2.d ./rc.d/rc2.d/K21xprint ./rc.d/rc2.d/S21xprint ./rc.d/rc3.d ./rc.d/rc3.d/K21xprint ./rc.d/rc3.d/S21xprint ./rc.d/rc5.d ./rc.d/rc5.d/K21xprint ./rc.d/rc5.d/S21xprint I will provide a patch later. But there's another interesting thing: [/etc/profile.d/xprint.sh] # # /etc/profile.d/xprint.sh # # Copyright (c) 2002-2004 by Roland Mainz <roland.mainz@nrubsig.org> # please send bugfixes or comments to http://xprint.mozdev.org/ # # Obtain list of Xprint servers # if [ -f "/etc/init.d/xprint" ] ; then XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`" export XPSERVERLIST fi # /etc/profile.d/xprint.sh ends here. I think, this would be better in /etc/env.d/##xprint to meet Gentoo standards. I will create such file with following content: XPSERVERLIST="`/bin/sh /usr/lib/misc/xprint get_xpserverlist`" and remove the profile.d stuff at all.
ok, I'm testing my patches right now (takes some time). I will attach the patch later.
Created attachment 47310 [details, diff] xorg-x11-6.8.1.901-r1.ebuild.diff diff to xorg-x11-6.8.1.901.ebuild
using /etc/env.d didn't work. :-/ So we need the scripts in /etc/profile.d But all in all, it's working now!
hmpf! not really. It is all installed correctly now, but the /etc/profile.d/xprint.(c)sh stuff isn't working properly. doesn't work: XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`" works: XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`" but if we have to patch it, then we can change it to: XPSERVERLIST="`/usr/lib/misc/xprint get_xpserverlist`"
Created attachment 47316 [details, diff] xorg-x11-6.8.1.901-r1.ebuild.diff adding sed
I've got this in xorg-x11-6.8.1.901-r1.ebuild, hoping to backport it to 6.8.0-r4. Try it out if you can, KEYWORDS="-*".
Fixed in 6.8.1.902