The recent ebuild -r1 should be rewritten otherwise: !!! ERROR: sys-fs/lvm2-2.00.15-r1 failed. !!! Function src_unpack, Line 27, Exitcode 1 !!! sed failed src_unpack reads: use static && sed .... || die ... which doesn't work right here. Please change to: src_unpack() { unpack ${A} cd ${S} if use static; then sed -i -e 's/TARGETS += lvm.static/TARGETS = .commands lvm-static/' \ -e 's/^install_tools_static:/install_tools_unused:/' \ -e 's/^install_tools_dynamic: lvm/install_tools_static: lvm.static/' \ -e 's/lvm \\$/lvm.static \\/' tools/Makefile.in || die "sed failed" fi } Regards, Andy.
this should have been fixed a while ago (someone else reported it). Can you confirm its ok now for you?
Confirmed. I see the "sed expression" went into brackets. That's ok now. Resolved, thanks.