I am installing a fresh AMD64; during genkernel: * ERROR: Could not copy file /lib/libsysfs*so* for MULTIPATH [...] -- checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ranlib... ranlib checking for strerror in -lcposix... no -- [...] -- * >> removing busybox-1.7.4-x86_64.tar.bz2 * >> removing device-mapper-1.02.22-x86_64.tar.bz2 * >> removing dmraid-1.0.0.rc14-x86_64.tar.bz2 * >> removing src * ERROR: Could not copy file /lib/libsysfs*so* for MULTIPATH * -- End log... --
and sys-fs/multipath-tools
And just what depends on that broken lib ?
Genkernel when multipath is required during install.
OK, I see a few problems here: - ~sys-fs/multipath-tools-0.4.8 ebuilds are probably lying: according to git log, it no longer uses libsysfs - libsysfs is broken (see bug 220347), especially given that recent udev demands CONFIG_SYSFS_DEPRECATED_V2 unset - I don't see a dep on sys-fs/multipath-tools in genkernel
multipath support is optionnal in /etc/genkernel.conf . So a standard dep may be "toomuch". creating a USE flag seems a better idea to me: pu the flag ON, and make genkernel sensible to it, and if ON, then make conditionnal dep ... I see this message at boot, and udev also asks me to disable SYSFS_DEPRECATED in my kernel; i did not find yet the entry in make menuconfig to disable it ...
note: i am not multipath expert, but i was said it could help in my case, so, I try to use it. And it is obviously quiet hard. More deps than those I reported may be required. But it seams a "standard" option/feature for the kernel, and support for it should be a bit more easy/trivial. Ideally: USE="multipath" emerge genkernel should do everything IMHO.
Use search feature of menuconfig. It's in "General setup".
The multipath support in genkernel is still experimental. It's not entirely expected to work.
Feel free to remove any sysfsutils requiring code from genkernel with regard to bug 377709.
Thanks for the notification. Fixed: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=691d7aad4d1d2b3a10ec0f13a4ee9bd10cc30249