gcc -I../gnulib -I../gnulib/gllib -DLIBDIR=\"lib\" -c -o rs-misc.o core/misc.c gcc -L/usr/local/lib -L../gnulib/gllib -L/usr/local/lib -L../gnulib/gllib -o runscript runscript.o rs-misc.o -lgnu -ldl /usr/bin/ld: cannot find -ldl make: *** [runscript] Error 1 make: Leaving directory `/usr/home/monet/gentoo/var/tmp/portage/sys-apps/baselayout-prefix-1.12.14/work/baselayout-prefix-1.12.14.1705/src' * ERROR: sys-apps/baselayout-prefix-1.12.14 failed (compile phase): * (no error message) (is this the same failure as on OpenBSD? Maxim?)
I confirm this on OpenBSD, solution is to drop '-ldl' from gcc line, because dlopen() and friends are builtin into dynamic loader on *BSD. Workaround solutions (sys-libs/libdl from our overlay) cannot be considered as permanent.
Real solution is to make the conditional functional (already done). On OpenBSD there is no problem with missing libkvm.so? Is there a /usr/lib/libkvm.so on OpenBSD?
Yes it is, static and shared variants. But i've never met any issue about libkvm, what is it for?
It's for getting information about processes and stuff. I committed the fixes in the sources. Hopefully new rev will fix issues for *BSD bootstraps.
Thanks, Fabian. By the way there's another issue with baselayout on OpenBSD, about some structures from libc afair. I'll file new bug when try emerging baselayout again.