From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <58c97d8f1de4f8e697a9a7771e5f976a@proxima.alt.za> To: 9fans@9fans.net Date: Mon, 15 Apr 2013 06:21:36 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] mercurial poisoning Topicbox-Message-UUID: 4146bb90-ead8-11e9-9d60-3106f5b1d025 > go tool dist: FAILED: /bin/hg identify -b: > '/n/zotac/usr/local/go/VERSION.cache' does not exist > cpue% If you have a VERSION file (not VERSION.cache), the build won't look for VERSION.cache, nor try to build it. It's not the ideal solution, nor is aliasing hg to "echo" with some arbitrary string as argument. I tend to build Go on the host computer, specially after a recent "hg sync" (or "hg pull"), then reanme VERSIOn.cache to CACHE. If you delete VERSION* before the build: $ cd $GOROOT/src $ rm -f $GOROOT/VERSION $ ./all.bash && mv $GOROOT/VERSION.cache $GOROOT/VERSION then subsequent Plan 9 builds will work. Also, while you're at it, add an arbitrary "echo" at the end of make.rc and remove the leading dot in ". ./make.rc" in all.rc to allow the procedure to run without interruption. The tests are still incomplete, though, in my experience. ++L PS: This works for me for 386 and arm. Let me know if you encounter any further problems, by now I ought to know all possible tricks :-)