udevd-event errors during boot: exec of program '/lib/udev/check-ptp-camera' failed the above script is missing it is referenced by /etc/udev/rules.d/99-libgphoto2.rules media-libs/libgphoto2-2.3.1-r1 sys-fs/udev-104-r7 Reproducible: Always
*** Bug 164723 has been marked as a duplicate of this bug. ***
The missing script once again installs to /usr/lib/udev erroneously. This was supposed to be fixed according to Changelog, but apparently is not.
I cannot understand how it can be... This should not fail... # fixup udevscriptdir is not working TODO dodir /lib mv "${D}/usr/lib/udev" "${D}/lib" # end fixup Do you see any errors during install stage?
> Do you see any errors during install stage? Odd...after you posted this I installed "by hand" - "ebuild libgphoto2 compile" than "ebuild libgphoto2 install" and "...image/lib/udev/check-ptp-camera" was there. Doing an emerge it was missing, then another install by hand and it was also missing. However it shows up here: "...image/usr/lib64/udev/check-ptp-camera". A bit confused that it showed up in the image doing the first manual install. Maybe some timing issue. Chris
(In reply to comment #3) > This should not fail... > # fixup udevscriptdir is not working TODO > dodir /lib > mv "${D}/usr/lib/udev" "${D}/lib" > # end fixup It doesn't really fail, it just fails to do what's needed. The problem is that at that point in time the script you're trying to relocate doesn't exist. If you change this line: - mv "${D}/usr/lib/udev" "${D}/lib" + mv "${D}/usr/lib/udev/check-ptp-camera" "${D}/lib/udev/." | die It will die everytime. Chris
libgphoto2-2.3.1-r3 now does this to also work on amd64/multilib: mv "${D}/usr/$(get_libdir)/udev" "${D}/lib"
You need to inherit multilib for get_libdir to work properly: equery f libgphoto2 | grep check-ptp-camera /lib/udev/check-ptp-camera Other than that, it works fine.
(In reply to comment #7) > You need to inherit multilib for get_libdir to work properly: It already inherits eutils which inherits multilib.
Now inherits multilib to make everyone happy.