src-install.sh and compat/opensolaris/

Mars G Miro spry at anarchy.in.the.ph
Wed Nov 7 01:28:43 PST 2007


Hiya

  I think there might be a need to add 'compat' in $dists in
src-install.sh. When the src is extracted from the ISO, compat is left
out and buildworld fails at:

mkdep -f .depend -a
-I/usr/src/cddl/lib/libnvpair/../../../sys/compat/opensolaris
-I/usr/src/cddl/lib/libnvpair/../../../include
-I/usr/src/cddl/lib/libnvpair/../../../sys/contrib/opensolaris/uts/common
-D_SOLARIS_C_SOURCE
/usr/src/cddl/lib/libnvpair/../../../contrib/opensolaris/lib/libnvpair/libnvpair.c
/usr/src/cddl/lib/libnvpair/../../../contrib/opensolaris/lib/libnvpair/nvpair_alloc_system.c
/usr/src/cddl/lib/libnvpair/../../../sys/contrib/opensolaris/common/nvpair/nvpair_alloc_fixed.c
/usr/src/cddl/lib/libnvpair/../../../sys/contrib/opensolaris/common/nvpair/nvpair.c
===> cddl/lib/libumem (depend)
make: don't know how to make umem.c. Stop
*** Error code 2

Stop in /usr/src/cddl/lib.
*** Error code 1

because there's no more cddl/ [0]. Of course when csupping it can be
checked out but for those that do not csup, they may not be able to
rebuild their world. For instance, I have a 7.0-PRERELEASE box and not
able to rebuild my world using the 7.0-BETA2 src from the ISO.

Thanks ;-)


cheers
mars
-----
[0] http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070687.html


More information about the freebsd-stable mailing list