When building policykit in Gentoo, with staged install: touch /var/tmp/portage/sys-auth/policykit-0.7_p20071101/image//var/lib/misc/PolicyKit.reload /bin/sh ../libtool --mode=install /usr/bin/install -c 'libpolkit.la' '/var/tmp/portage/sys-auth/policykit-0.7_p20071101/image//usr/lib/libpolkit.la' touch: cannot touch `/var/tmp/portage/sys-auth/policykit-0.7_p20071101/image//var/lib/misc/PolicyKit.reload': No such file or directory make[2]: [install-data-local] Error 1 (ignored) chgrp: cannot access `/var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload': No such file or directory make[2]: [install-data-local] Error 1 (ignored) chmod 775 /var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload chmod: cannot access `/var/tmp/portage/sys-auth/policykit-0.7_pre20071101/image//var/lib/misc/PolicyKit.reload': No such file or directory make[2]: [install-data-local] Error 1 (ignored) result is that /var/lib/misc/PolicyKit.reload is not installed, and hal cannot start.
Also downstream at http://bugs.gentoo.org/show_bug.cgi?id=198073
Created attachment 12373 [details] [review] PolicyKit.reload.patch Patch.
Fixed although this is a problem with Gentoo insofar that it's not FHS2.3 compliant: http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBMISCMISCELLANEOUSVARIABLEDATA
(In reply to comment #3) > Fixed although this is a problem with Gentoo insofar that it's not FHS2.3 > compliant: > > http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBMISCMISCELLANEOUSVARIABLEDATA For the record, the standard Gentoo base install does include /var/lib/misc in the root - however, installs are made to an empty staging directory (using DESTDIR). I'm fairly sure the binary distros use much the same method when building packages - so you can't expect all the FHS dirs to be in DESTDIR.
(In reply to comment #4) > For the record, the standard Gentoo base install does include /var/lib/misc in > the root - however, installs are made to an empty staging directory (using > DESTDIR). I'm fairly sure the binary distros use much the same method when > building packages - so you can't expect all the FHS dirs to be in DESTDIR. We do and you make a good point. I haven't got around to rolling packages but I'm sure I would run into the same issue when I got there. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.