From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 11 12:50:01 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2856016A4CF for ; Fri, 11 Mar 2005 12:50:01 +0000 (GMT) Received: from freebee.digiware.nl (dsl439.iae.nl [212.61.63.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E1743D3F for ; Fri, 11 Mar 2005 12:49:59 +0000 (GMT) (envelope-from wjw@digiware.nl) Received: from [212.61.27.67] (opteron.digiware.nl [212.61.27.67]) by freebee.digiware.nl (8.13.1/8.13.1) with ESMTP id j2BCnrda097381; Fri, 11 Mar 2005 13:49:53 +0100 (CET) (envelope-from wjw@digiware.nl) Message-ID: <423193F0.3060208@digiware.nl> Date: Fri, 11 Mar 2005 13:49:52 +0100 From: Willem Jan Withagen Organization: Digiware User-Agent: Mozilla Thunderbird 1.0 (X11/20050127) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug White References: <423058C3.8000902@digiware.nl> In-Reply-To: <423058C3.8000902@digiware.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: amd64@freebsd.org Subject: Re: [Fwd: Re: Make install{world,kernel} borked??] X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: wjw@digiware.nl List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 12:50:01 -0000 Willem Jan Withagen wrote: > |Doug White wrote: > |> > |> On Mar 8, 2005, at 5:05 AM, Willem Jan Withagen wrote: > |> > |>> > |>> With this mornings sources on RELENG_5: > |>> > |>> ============ > |>> cd /usr/share/man; set - `grep "^[a-zA-Z]" /home1/src/etc/man.alias`; > |>> while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; > |>> shift; done > |>> cd /usr/share/openssl/man; set - `grep "^[a-zA-Z]" > |>> /home1/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln > |>> -s "$2" "$1"; shift; shift; done > |>> cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . > |>> cd /usr/share/nls; set - `grep "^[a-zA-Z]" /home1/src/etc/nls.alias`; > |>> while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; > |>> shift; done > |>> shift: can't shift that many > |> > |> > |> This implies there are missing files on your system. You should have a > |> src/etc/nls.alias that looks like > |> > |> # $FreeBSD: src/etc/nls.alias,v 1.5 2003/06/10 01:22:30 ache Exp $ > |> > |> POSIX C > |> en_US.US-ASCII C > |> > |> If not then re-cvsup. > | > |It does exist. > | > |But I'm currently also having bigger problems: > |building world fails misserably because ar does not grok the output of > |`lorder ${OBJS} | tsort -q`. And I get zero-size AR-files > | Killing this line into ${AR} ${OBJS} ${ADDAR} (in the bsd.lib.mk) gets > me a > |lot further, but in the end there are also AR make targets in other > makefiles > |and I get again empty *.a files. > | > |So I'm at the point of killing my whole src/obj tree and cvsup to start > | again. If that still crashes the lot, I'll be back. > > Well I'm back 'cause it did not fix the problem. > I'm again able to buildworld/kernel but installing them still gives the > same problem. > > Running the grep gives: > [/home1/usr/src] root@opteron> grep "^[a-zA-Z]" > /home1/usr/src/etc/nls.alias > POSIX CFreeBSD 5.4-PRERELEASE #284: Fri Mar 4 > en_US.US-ASCII C > > Which seems oke to me... > shift is buildin, even in /bin/sh > > So whereelse do I look. It must be something in the shell that's being used..... Running AMD64: FreeBSD 5.4-PRERELEASE #284: Fri Mar 4, I get cd /usr/share/nls; set - `grep "^[a-zA-Z]" /home1/usr/src/etc/nls.alias`; while[ $# -gt 0 ] ; do echo "arg1 = $1, arg2 = $2"; rm -rf "$1"; ln -s "$2" "$1";echo "all args are: $*"; shift; shift; done arg1 = POSIX, arg2 = C barf all args are: POSIX C barf C en_US_US-ASCII C arg1 = C en_US_US-ASCII, arg2 = C all args are: C en_US_US-ASCII C [ I did mess a little with the file contect of nls.alias to test] Which is absolutely different from running it on i386: FreeBSD 5.3-STABLE #1: Fri Nov 26: cd /usr/share/nls; set - `grep "^[a-zA-Z]" /usr/src5/src/etc/nls.alias`; while[ $# -gt 0 ] ; do echo "arg1=$1, arg2=$2"; rm -rf "$1"; ln -s "$2" "$1"; echo "remaning: $*"; shift; shift; done arg1=POSIX, arg2=C remaning: POSIX C en_US.US-ASCII C arg1=en_US.US-ASCII, arg2=C remaning: en_US.US-ASCII C So the question are: - What shell is being used during makeworld?? - And why is mine acting up. - why does it not crash in the exact same piece of code a few lines earlier? I'll see how far I get if I comment this part. --WjW