Summary: | sys-fs/dmraid[static] fails to build (missing udev static libs). | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wolfgang Schipper <wolfgang> |
Component: | New packages | Assignee: | Ian Stakenvicius (RETIRED) <axs> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | tommy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for dmraid-1.0.0_rc16-r1.ebuild |
Description
Wolfgang Schipper
2010-08-14 14:24:44 UTC
Please try again with the latest revision of _rc16 , as _rc14 is quite old. It is possible though that _rc16 will also fail.. Upstream has changed the way dmraid builds statically in their CVS version, but there hasn't been any official release with the patches included yet (and the little bit of experimentation that I was able to do with the patches did not result in a healthy dmraid tool). I'll keep on top of it, but if _rc16 doesn't work then it could be some time before a static version of dmraid will be available. Note, though, that genkernel includes its own version of dmraid (which is maintained entirely independently of this one, and i believe gets compiled statically), and you could use that version for any initramfs/initrd/etc. you wish to build, in the meantime. I looked into this a little further, and it will also fail with _rc16. The main issue is fairly simple; since the ./configure script doesn't use pkg-config it doesn't have a proper set of libs when compiled statically. It has been noted upstream that they should be using pkg-config to get this info, but they still haven't converted the configure script. I'm not going to do the conversion since ./configure in CVS HEAD is fairly different from the one in _rc16. However, I think I can make a workable update within the ebuild. Created attachment 243251 [details, diff]
Patch for dmraid-1.0.0_rc16-r1.ebuild
This patch updates the ebuild with additional src_prepare() code which, when built with USE="static", will append the output of "pkg-config --libs --static devmapper" to the linking of the dmraid tools.
Please test; it seems to compile and run fine for me.
Fixed version 1.0.0_rc16-r2 committed, should be on your local rsync mirror in a few hours. |