9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchovski@gmail.com>
To: Skip Tavakkolian <skip.tavakkolian@gmail.com>
Cc: minux <minux.ma@gmail.com>,
	Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>,
	golang-nuts <golang-nuts@googlegroups.com>
Subject: Re: [9fans] [go-nuts] mercurial poisoning
Date: Sun, 14 Apr 2013 16:30:02 -0600	[thread overview]
Message-ID: <CAK4xykUoj2ZnevuG_p1hZ6=gtYyFJGFoX_ZDjU75nQzXB-6jRA@mail.gmail.com> (raw)
In-Reply-To: <CAJSxfmK7M2zt+XHeOrg5Nn55xZjPiFWf1=6daWS7Caov-w63iA@mail.gmail.com>

it's "$GOROOT/VERSION.cache". just put whatever you want in there or
bind it from /tmp if you don't want to pollute the non-plan9 side of
things.

On Sun, Apr 14, 2013 at 3:53 PM, Skip Tavakkolian
<skip.tavakkolian@gmail.com> wrote:
> Unfortunately doesn't seem to help:
>
> cpue% ./all.rc
> # Building C bootstrap tool.
> cmd/dist
> go tool dist: FAILED: /bin/hg identify -b:
> '/n/zotac/usr/local/go/VERSION.cache' does not exist
> abort:: '/bin/abort:' directory entry not found
> cpue%
>
>
>
>
> On Sun, Apr 14, 2013 at 12:32 PM, minux <minux.ma@gmail.com> wrote:
>>
>>
>> On Monday, April 15, 2013, Skip Tavakkolian wrote:
>>>
>>> I can build Go from tip on Plan 9 using a local repo clone.  I want to
>>> build it using a repo exported from a Linux box (via u9fs) -- because of
>>> codereview extensions and keeping a consistent repo.  Trying to build a
>>> remotely mounted clone, I get:
>>>
>>> cpue% ./all.rc
>>> # Building C bootstrap tool.
>>> cmd/dist
>>>
>>> # Building compilers and Go bootstrap tool for host, plan9/386.
>>> *** failed to import extension codereview from
>>> $GOROOT/lib/codereview/codereview.py: [Errno 12] Invalid argument
>>> abort: There is no Mercurial repository here (.hg not found)
>>
>> you should disable the codereview plugin in .hg/hgrc.
>>
>> another workaround is to create $GOROOT/VERSION file manually so that
>> the build process won't need mercurial.
>>>
>>>
>>> go tool dist: FAILED: /bin/hg identify -b:
>>> '/n/zotac/usr/local/go/VERSION.cache' does not exist
>>> cpue%
>>>
>>> /n/zotac is the Linux filesystem that is served by u9fs. Any hints?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



  reply	other threads:[~2013-04-14 22:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-14 19:27 [9fans] " Skip Tavakkolian
     [not found] ` <CA+db=n1c-aA=N9Zj+dJ5kjup_07C3kp_QxEMjSkhoohZBSU_MQ@mail.gmail.com>
2013-04-14 21:53   ` [9fans] [go-nuts] " Skip Tavakkolian
2013-04-14 22:30     ` andrey mirtchovski [this message]
2013-04-14 23:05       ` Skip Tavakkolian
2013-04-15  4:21 ` [9fans] " lucio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK4xykUoj2ZnevuG_p1hZ6=gtYyFJGFoX_ZDjU75nQzXB-6jRA@mail.gmail.com' \
    --to=mirtchovski@gmail.com \
    --cc=9fans@9fans.net \
    --cc=golang-nuts@googlegroups.com \
    --cc=minux.ma@gmail.com \
    --cc=skip.tavakkolian@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).