src-install.sh and compat/opensolaris/

Mars G Miro spry at anarchy.in.the.ph
Thu Nov 8 18:54:58 PST 2007


On 11/9/07, Ruslan Ermilov <ru at freebsd.org> wrote:
> On Wed, Nov 07, 2007 at 04:59:45PM +0800, Mars G Miro wrote:
> > 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 ;-)
>
> Try the attached patch.
>
>

src-install.sh is fine. rebuilt sysinstall, however, on
Configure->Distributions->src, when selecting All, compat doesn't get
X'd ...

Thanks ;-)

> Cheers,
> --
> Ruslan Ermilov
> ru at FreeBSD.org
> FreeBSD committer
>
>


cheers
mars


More information about the freebsd-stable mailing list