From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 7877 invoked from network); 10 Jan 2021 21:05:19 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 10 Jan 2021 21:05:19 -0000 Received: from mail2.protonmail.ch ([185.70.40.22]) by 1ess; Sun Jan 10 15:33:33 -0500 2021 Date: Sun, 10 Jan 2021 20:33:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1610310801; bh=TPnR40gIdJ0wFohuXJ5bDuM2MMsvNYHnUA4GWU2Yf+c=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=PXaKcuA42PenmpNH/wCITZxibMQONzENELLah24TL2r9hpFFJ449h2GhMNOlG/FQC dswT35jb2/5pI7rDcsO2yhYAS3WJOBv08+kp8sxX5hxT2wRWVN2JS2cOXQZWiKLrCU m00oCq6BYT9vlkIK+xw+/pISMS2zzA6A7+oV/RZ0= To: "9front@9front.org" <9front@9front.org> From: Philip Silva Message-ID: In-Reply-To: <15FCAE441BA9B51FD261B7CDD1696A7E@hera.eonet.ne.jp> References: <15FCAE441BA9B51FD261B7CDD1696A7E@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: browser cloud service-oriented controller Subject: Re: [9front] Patch to update Go to 1.14.6 (and ca-certificates while here) Reply-To: 9front@9front.org Precedence: bulk Nice! Yes the dependency management is quite a breeze! I definitely need to try that method together with some patching and updati= ng. I like putting stuff in the home folder though but I guess that might j= ust result in more work :) =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Am Sonntag, 10. Januar 2021 00:24 schrieb : > I tried both of 9legacy's bootstrap and that for 9front, and got > success for both without any patches. > > Your method looks difficult to me.=E2=98=BA > > 1. follow the method by kylejnusbaum@gmail.com > 2. put 1.14.1 bootstrap files to /sys/lib/go/go-plan9-amd64-bootstrap= , > and go-plan9-1.15.6 to /sys/lib/go/amd64-1.15.6 (which is written = by sl's FAQ) > set GOROOT_BOOTSTRAP=3D/sys/lib/go/go-plan9-amd64-bootstrap, > GOROOT=3D/sys/lib/go/amd64-1.15.6, > GOPAS=3D$home/Go > then, cd to /sys/lib/go/amd64-1.15.6, and ./make.rc > > By the way, I'm looking your opossum source now, which looks like > very compact, because many are hidden under the $home/Go/git.hub e= tc... > Go is beautiful to me. > > Kenji > For me bootstrapping also worked with the 9legacy Go1.14.1 when do= ing this on the amd64 iso of 9front - although I had problems in the beginn= ing, maybe because of the env vars. So in the end I've been putting the boo= tstrapped Go into /usr/glenda/go-plan9-amd64-bootstrap, set the /usr/glenda= /env/GOROOT_BOOTSTRAP (bind -a /usr/glenda/env /env) permanently to /usr/gl= enda/go-plan9-amd64-bootstrap with GOROOT - and I believe also GOPROXY - be= ing unset. Also I've then set: bind -a $home/go-plan9-amd64-bootstrap/bin /= bin > > Afterwards: cd $home/go1.15.6/src and all.rc. Still need to try th= e patch though. > > By the way, there are also scripts for that, like here: http://shi= thub.us/git/fulton/rc-scripts/HEAD/install/install-go.rc/f.html > > Greetings, Philip > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Or= iginal Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90= =E2=80=90 > Am Mittwoch, 6. Januar 2021 21:45 schrieb kylejnusbaum@gmail.com: > > > > I am using my own amd64 bootstrap tarball for Go built from 1.15.= 3. > > (http://9project.net/go-plan9-amd64-bootstrap.tar.gz) > > Using this, I am able to bootstrap Go on 9front. > > As a side note, I used to have trouble using the bootstrap packag= e to > > cross-compile (i.e. using my amd64 bootstrap tarball on amd64 to > > compile plan9 386) so I instead built for plan9 amd64 first, and = then > > use that as a bootstrap for any other arches I want, like this: > > > > 1. go-plan9-amd64-bootstrap.tar.gz to bootstrap Plan9 Go amd64 > > > > 2. Plan9 Go amd64 to bootstrap other arches (386, arm) > > I just tried it again, and that doesn't seem to be an issue f= or me > > anymore, but I thought I'd mention it. > > With the bootstrap unpacked into /sys/lib/go/amd64, my comman= d > > and output (building 1.15.6 for 386 on amd64) look like this: > > GOOS=3Dplan9 GOARCH=3D386 GOHOSTARCH=3Damd64 GOROOT_FINAL=3D/= sys/lib/go/386 GOROOT_BOOTSTRAP=3D/sys/lib/go/amd64 ./make.rc > > Building Go cmd/dist using /sys/lib/go/amd64 > > Building Go toolchain1 using /sys/lib/go/amd64. > > Building Go bootstrap cmd/go (go_bootstrap) using Go toolchai= n1. > > Building Go toolchain2 using go_bootstrap and Go toolchain1. > > Building Go toolchain3 using go_bootstrap and Go toolchain2. > > Building packages and commands for host, plan9/amd64. > > Building packages and commands for target, plan9/386. > > > > > > Installed Go for plan9/386 in /9bps/buildroot/go-1.15.6_1/build/g= o-go1.15.6 > > Installed commands in /9bps/buildroot/go-1.15.6_1/build/go-go1.15= .6/bin > > The binaries expect /9bps/buildroot/go-1.15.6_1/build/go-go1.15.6= to be copied or moved to /sys/lib/go/386