Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2005 10:05:03 -0800
From:      George Hartzell <hartzell@kestrel.alerce.com>
To:        freebsd-questions@freebsd.org
Subject:   Problems building jails under RELENG_5_3 (5.3-RELEASE-p5)
Message-ID:  <16960.24143.401368.927252@satchel.alerce.com>

next in thread | raw e-mail | index | archive | help


I'm having trouble building a jail under 5.3 (RELENG_5_3).

I'm following the process in the jail man page and it dies trying to
compile on of the bootstrap tools.

Google and the freebsd-questions archives show several other people
reporting the problem, but I havn't seen anyone post a solution.

I last cvsup'ed around 3/16.

Can anyone suggest a way forward?

Thanks,

g.

Here's my /etc/make.conf
    
    #
    # To avoid building various parts of the base system:
    #
    NO_FORTRAN=	true	# do not build g77 and related libraries
    NO_I4B=		true	# do not build isdn4bsd package
    #NO_SENDMAIL=	true	# do not build sendmail and related programs
    # build from ports (sendmail-sasl) instead.
    
    CVS_UPDATE=	true
    
    # pick these up from ports instead!
    #NO_SENDMAIL=true
    #NO_MAILWRAPPER=true
    #SENDMAIL_CF_DIR=        /usr/local/share/sendmail/cf
    #SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
    #SENDMAIL_LDFLAGS=-L/usr/local/lib
    #SENDMAIL_LDADD=-lsasl2
    
    
    WITH_SSL_AND_PLAINTEXT=YES     # for imap-uw
    WITH_DB3=YES
    
    #BATCH=yes
    NOCLEANDEPENDS=yes
    PACKAGES=/usr/ports/packages
    
    # use the version from the cups port instead.
    NO_LPR=        true    # do not build lpr and related programs
    
    # added by use.perl 2005-03-16 12:40:43
    PERL_VER=5.8.6
    PERL_VERSION=5.8.6

and here's what I get when I do a 'make world DESTDIR=/usr/jails/cgl'

    (root@ash)[9:59am]src>>make world DESTDIR=/usr/jails/cgl
    --------------------------------------------------------------
    >>> make world started on Tue Mar 22 09:59:27 PST 2005
    --------------------------------------------------------------
    
    --------------------------------------------------------------
    >>> Rebuilding the temporary build tree
    --------------------------------------------------------------
    rm -rf /usr/obj/usr/src/i386
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/bin
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/games
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/c++/3.3
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/sys
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/lib
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/libexec
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/sbin
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/dict
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100-12
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75-12
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devascii
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devcp1047
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devdvi
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devhtml
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devkoi8-r
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlatin1
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlbp
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlj4
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devps
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devutf8
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mdoc
    mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mm
    mkdir -p /usr/obj/usr/src/i386/lib
    mkdir -p /usr/obj/usr/src/i386/usr/bin
    mkdir -p /usr/obj/usr/src/i386/usr/include
    mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout
    mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts
    mkdir -p /usr/obj/usr/src/i386/usr/libexec
    mkdir -p /usr/obj/usr/src/i386/usr/sbin
    mkdir -p /usr/obj/usr/src/i386/usr/share/misc
    mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/defs
    mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/mibs
    mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/obj/usr/src/i386/usr/include >/dev/null
    ln -sf /usr/src/sys /usr/obj/usr/src/i386
    
    --------------------------------------------------------------
    >>> stage 1.1: legacy release compatibility shims
    --------------------------------------------------------------
    cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL="sh /usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk  DESTDIR=/usr/jails/cgl -m /usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1  BOOTSTRAPPING=503001  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
    ===> tools/build
    /usr/obj/usr/src/i386/usr/src/tools/build created for /usr/src/tools/build
    cd /usr/src/tools/build; /usr/obj/usr/src/make.i386/make buildincludes; /usr/obj/usr/src/make.i386/make installincludes
    rm -f .depend
    mkdep -f .depend -a    -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/tools/build/dummy.c
    cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/tools/build/dummy.c
    building static egacy library
    ranlib libegacy.a
    sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libegacy.a /usr/obj/usr/src/i386/legacy/usr/lib
    
    --------------------------------------------------------------
    >>> stage 1.2: bootstrap tools
    --------------------------------------------------------------
    cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL="sh /usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk  DESTDIR=/usr/jails/cgl -m /usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1  BOOTSTRAPPING=503001  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools
    ===> games/fortune/strfile
    /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile
    rm -f .depend
    mkdep -f .depend -a    -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c
    echo strfile: /usr/jails/cgl/usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend
    cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c
    make: don't know how to make /usr/jails/cgl/usr/lib/libc.a. Stop
    *** Error code 2
    
    Stop in /usr/src.
    *** Error code 1
    
    Stop in /usr/src.
    *** Error code 1
    
    Stop in /usr/src.
    (root@ash)[9:59am]src>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16960.24143.401368.927252>