Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300841 - sys-kernel/genkernel: ERROR: Could not copy file /lib/libsysfs*so* for MULTIPATH
Summary: sys-kernel/genkernel: ERROR: Could not copy file /lib/libsysfs*so* for MULTIPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-01-13 14:50 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2011-10-30 13:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-13 14:50:49 UTC
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... --
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-13 15:06:27 UTC
and sys-fs/multipath-tools
Comment 2 Rafał Mużyło 2010-01-13 15:39:53 UTC
And just what depends on that broken lib ?
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-13 15:43:42 UTC
Genkernel when multipath is required during install.
Comment 4 Rafał Mużyło 2010-01-13 18:45:02 UTC
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
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-13 18:48:47 UTC
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 ...
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-13 18:50:47 UTC
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.
Comment 7 Rafał Mużyło 2010-01-13 19:55:29 UTC
Use search feature of menuconfig.
It's in "General setup".
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2010-01-14 03:12:07 UTC
The multipath support in genkernel is still experimental. It's not entirely expected to work.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-08-06 08:25:42 UTC
Feel free to remove any sysfsutils requiring code from genkernel with regard to bug 377709.