On Feb 4, 2005, at 8:33 AM, Chad Leigh -- Shire.Net LLC wrote:
When 5.3-RELEASE first became available in November, there was a problem building a jail (% make world DESTDIR="). That problem was fixed in -STABLE and I had hoped that fix would make its way into the -RELEASE errata/bug-fix stream as well. I had a -STABLE system from early November where this was fixed (but early enough that there were barely any changes from -RELEASE), and updated to -RELEASE-p5 last night using cvsup.
I tried to build a jail and I get an error early on. However, the error is much earlier than with the older bug and I am not sure if they are related.
I can do a make buildworld for the system but as soon as I add a DESTDIR= to it it fails.
I "solved" this for me, but don't know if others have a problem and need to get this fixed in the source tree. (I have also not tried to run the jail yet)
I did a cvsup of stable into a different directory structure, copied the main Makefile and Makefile.inc1 from the root of the source tree over to my release source tree and then tried the build. That worked.
I did a diff on the Makefiles but there are lots of other changes besides this so I do not know which part exactly was the cause.
For someone familiar with the make system, it would be nice to get the fixes into the -RELEASE source errata branch as well so that people who track -RELEASE won't have this problem.
Thanks Chad
Here is the complete log of what is happening (where D = /local/jails/m which was created with mkdir -p $D -- line by line following man jail instructions)
host# make world DESTDIR=$D -------------------------------------------------------------- >>> make world started on Fri Feb 4 01:32:28 MST 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=/local/jails/m -m /usr/src/share/mk" 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; make buildincludes; 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/m -m /usr/src/share/mk" 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/m/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/m/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.
host#
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"