Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 2004 23:41:24 -0700
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        FreeBSD questions list <freebsd-questions@freebsd.org>
Subject:   Re: 5.3-RELEASE won't build jail
Message-ID:  <0B013556-3088-11D9-BFDF-003065A70D30@shire.net>
In-Reply-To: <E11BAB68-303F-11D9-BFDF-003065A70D30@shire.net>
References:  <E11BAB68-303F-11D9-BFDF-003065A70D30@shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
With a 5.3-RELEASE system made from cvsup of an RC1 system (from a Beta  
7 from a 5.2-CURRENT from mid summer)

ok, this is on i386 (on Opteron).  My amd64 system also has the same  
problem.  It was a new Beta7 system which was cvsup-ed to RC1 then to  
5.3-RELEASE.   It shows the exact same problem so this seems to be a  
more general 5.3-RELEASE problem.  I did not have this problem with  
Beta7 or RC1.

I can do a normal buildworld for the system itself but if I set DESTDIR  
I get the following (make world or make buildworld the same with  
DESTDIR)

myhost# make buildworld DESTDIR=/local/jails/test

--------------------------------------------------------------
 >>> 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=/local/jails/test -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=/local/jails/test -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: /local/jails/test/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 /local/jails/test/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.
myhost#

On Nov 6, 2004, at 3:04 PM, Chad Leigh -- Shire.Net LLC wrote:

> I cvsup-ed my RC1 machine to 5.3-RELEASE (and confirmed through email  
> that it is the same code as is being sent to all the mirrors and stuff  
> this weekend).
>
> Under RC1 I was able to do a make world DESTDIR=/my/jail just fine.
>
> After a updating the host with buildworld, buildkernel, installkernel,  
> installworld as appropriate (and all builds worked fine), I go to  
> rebuild a test jail I have.
>
> After a few minutes it ends with:
>
> rm -f .depend
> mkdep -f .depend -a -DCRT_BEGIN   -DIN_GCC -DHAVE_LD_EH_FRAME_HDR  
> -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config  
> -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.  
> -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  
> /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
> In file included from  
> /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:60:
> /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/auto-host.h:4:23:  
> sys/param.h: No such file or directory
> /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/auto-host.h:5:24:  
> sys/endian.h: No such file or directory
> In file included from  
> /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:62:
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:44:20: stddef.h:  
> No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:45:19: float.h: No  
> such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:76:20: stdarg.h:  
> No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:79:19: stdio.h: No  
> such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:82:23:  
> sys/types.h: No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:85:19: errno.h: No  
> such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:92:20: string.h:  
> No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:93:20: stdlib.h:  
> No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:94:20: unistd.h:  
> No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:97:20: limits.h:  
> No such file or directory
> /usr/src/gnu/lib/csu/../../../contrib/gcc/tsystem.h:100:18: time.h: No  
> such file or directory
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/gnu/lib/csu.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> myhost#
>
> Any thoughts?
>
> Thanks
> Chad
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to  
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B013556-3088-11D9-BFDF-003065A70D30>