Date: Fri, 11 Mar 2005 13:49:52 +0100 From: Willem Jan Withagen <wjw@digiware.nl> To: Doug White <dwhite@gumbysoft.com> Cc: amd64@freebsd.org Subject: Re: [Fwd: Re: Make install{world,kernel} borked??] Message-ID: <423193F0.3060208@digiware.nl> In-Reply-To: <423058C3.8000902@digiware.nl> References: <423058C3.8000902@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423193F0.3060208>