Subject: Re: freebsd bootstrap problem
To: None <pkgsrc-users@netbsd.org>
From: George Georgalis <george@galis.org>
List: pkgsrc-users
Date: 05/30/2006 18:02:22
On Tue, May 30, 2006 at 09:20:13PM +0200, joerg@britannica.bec.de wrote:
>On Tue, May 30, 2006 at 02:29:24PM -0400, George Georgalis wrote:
>> is this bootstrap problem obvious to anyone?
>> 
>> FreeBSD 6.0-RELEASE jail
>> 
>> MD5 (/usr/local/dist/pkgsrc-2006Q1.tar.bz2) = 64dfb4f1486b5a126d63ca69c4985963
>> 
>> 
>> cd /usr/ && tar xjf /usr/local/dist/pkgsrc-2006Q1.tar.bz2
>> cd /usr/pkgsrc && cvs -q upd -dP
>> cd /usr/pkgsrc/bootstrap && ./bootstrap
>
>OK, this is the problem we have been discussing all day.
>Does it work when you apply the attached patch in devel/bmake/files?

Didn't see the discussion... the ./bootstrap process seems to
overwrite the change by the patch.  Result is same problem and old
file.


Stop in /usr/pkgsrc/bootstrap/work/bmake/FreeBSD.
===> exited with status 1
aborted.
jail3# cd  /usr/pkgsrc/bootstrap/work/bmake && grep DEFAULT_MAKESYSPATH makefile.boot.in
DEFAULT_MAKESYSPATH=/usr/share/mk:/usr/local/share/mk:/opt/share/mk
BMAKE_ENV= CC="$(CC)" LIBC= MAKEFLAGS= MAKESYSPATH=`pwd`/mk:${MKSRC}:${MK}:${DEFAULT_MAKESYSPATH}

I did verify the patch went in okay before I tried to bootstrap again.

// George


>$NetBSD$
>
>--- makefile.boot.in.orig	2005-11-10 00:00:00.000000000 +0100
>+++ makefile.boot.in
>@@ -13,14 +13,14 @@ MKDEP=$(srcdir)/mkdeps.sh -n -i/usr/incl
> MKDEP_OPTS=-A
> MK=${prefix}/share/mk
> MKSRC=@mksrc@
>-DEFAULT_MAKESYSPATH=/usr/share/mk:/usr/local/share/mk:/opt/share/mk
>+DEFAULT_MAKESYSPATH=@default_sys_path@
> CFLAGS=-I. -I$(srcdir) @DEFS@ @CPPFLAGS@ ${XDEFS} -D_PATH_DEFSYSPATH=\"@default_sys_path@\"
> MDEFS="-D@force_machine@MACHINE=\"@machine@\"" "-DMACHINE_ARCH=\"@machine_arch@\""
> 
> OBJ=arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o \
>     parse.o str.o suff.o targ.o trace.o var.o util.o getopt.o sigcompat.o @LIBOBJS@
> 
>-BMAKE_ENV= CC="$(CC)" LIBC= MAKEFLAGS= MAKESYSPATH=`pwd`/mk:${MKSRC}:${MK}:${DEFAULT_MAKESYSPATH}
>+BMAKE_ENV= CC="$(CC)" LIBC= MAKEFLAGS= MAKESYSPATH=${DEFAULT_MAKESYSPATH}
> 
> bootstrap:	bmake.boot .mk.done
> 	${BMAKE_ENV} ./bmake.boot -f Makefile 


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org