cvs commit: src Makefile.inc1 src/share/mk Makefile src/share/termcap Makefile src/usr.bin/vgrind Makefile

Joe Marcus Clarke marcus at marcuscom.com
Sat Feb 26 21:53:11 GMT 2005


On Sat, 2005-02-26 at 15:42 -0600, Jeremy Messenger wrote:
> On Sat, 26 Feb 2005 22:40:51 +0200, Ruslan Ermilov <ru at FreeBSD.org> wrote:
> 
> > On Fri, Feb 25, 2005 at 05:55:59PM -0600, Jeremy Messenger wrote:
> >> On Tue, 22 Feb 2005 23:29:54 +0000 (UTC), Ruslan Ermilov  
> >> <ru at FreeBSD.org>
> >> wrote:
> >>
> >> >ru          2005-02-22 23:29:54 UTC
> >> >
> >> >  FreeBSD src repository
> >> >
> >> >  Modified files:
> >> >    .                    Makefile.inc1
> >> >    share/mk             Makefile
> >> >    usr.bin/cap_mkdb     cap_mkdb.1 cap_mkdb.c
> >> >    share/termcap        Makefile
> >> >    usr.bin/vgrind       Makefile
> >> >  Added files:
> >> >    share/mk             bsd.endian.mk
> >> >  Log:
> >> >  Add endianness support to cap_mkdb(1), useful for cross builds.
> >>
> >> I keep get error like this:
> >>
> >> ============================================
> >> cd /usr/space/jails/6-CURRENT/src/etc/../share/termcap; make etc-termcap
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 17: Could
> >> not find bsd.endian.mk
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 18:
> >> Malformed conditional (${TARGET_ENDIANNESS} == "1234")
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 18: Need  
> >> an
> >> operator
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 20:  
> >> if-less
> >> elif
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 20: Need  
> >> an
> >> operator
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 22:  
> >> if-less
> >> else
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 22: Need  
> >> an
> >> operator
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 24:  
> >> if-less
> >> endif
> >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 24: Need  
> >> an
> >> operator
> >> make: fatal errors encountered -- cannot continue
> >> *** Error code 1
> >>
> >> Stop in /usr/space/jails/6-CURRENT/src/etc.
> >> ============================================
> >>
> >> ============================================
> >> # ls /usr/space/jails/6-CURRENT/src/share/mk | grep en
> >> bsd.endian.mk
> >> ============================================
> >>
> > The example in the jail(8) manpage doesn't assume you can upgrade:
> > the "make distribute" part is guaranteed to work only if you are
> > *not* upgrading.
> 
> Maybe I am blind, but I don't see anything say about 'upgrade' for the  
> 'make distribution' in the manpage. Care to point me there? Well, for what  
> it matters, it has been work for many months (maybe over a year) and now  
> it doesn't work. I am using tinderbox script from MarcusCom.  
> http://tinderbox.marcuscom.com/

I'm a bit confused.  My script downloads the source, and does a fresh
make world followed by a make distribution (almost exactly how it's
documented in the jail(8) man page):

cd ${SRCBASE}
mkdir -p ${D}
env DESTDIR=${D} make world

if [ $? != 0 ]; then
    echo "ERROR: make world failed.  See above output."
    exit 1
fi

cd etc
make distribution DESTDIR=${D}

if [ $? != 0 ]; then
    echo "ERROR: make distribution failed.  See above output."
    exit 1
fi

What is meant by an "upgrade" in this context, and how exactly should I
be building a full FreeBSD jail?

Joe

> 
> Cheers,
> Mezz
> 
> > Cheers,
> 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050226/23068477/attachment.bin


More information about the cvs-src mailing list