Re: premature end of data for lang/go package (mips64)

2022-12-13 Thread Stuart Henderson
On 2022-12-13, Janne Johansson wrote: > Den sön 11 dec. 2022 kl 17:42 skrev void : >> Alternatively, is it feasible to build an amd64 vm and cross-compile >> there, for mips64/octeon? > > I think it is. I think I have tried it for simpler stuff but unless I > am very mistaken you just set GOARCH a

Re: premature end of data for lang/go package (mips64)

2022-12-12 Thread Janne Johansson
Den sön 11 dec. 2022 kl 17:42 skrev void : > Alternatively, is it feasible to build an amd64 vm and cross-compile > there, for mips64/octeon? I think it is. I think I have tried it for simpler stuff but unless I am very mistaken you just set GOARCH and fire off the build, then move the binary over

Re: premature end of data for lang/go package (mips64)

2022-12-12 Thread void
On Mon, Dec 12, 2022 at 08:52:28AM -, Stuart Henderson wrote: Or you maybe able to workaround by downloading the package and installing it from local atorage rather than over the network. Yes this worked. After downloading it, ran "pkg_add -v -v -m go-1.19.1p0.tgz" which installed it. man

Re: premature end of data for lang/go package (mips64)

2022-12-12 Thread void
On Mon, Dec 12, 2022 at 08:52:28AM -, Stuart Henderson wrote: This *shouldn't* break like this, but it's possible that if writing to the filesystem is very slow you have a timeout fetching the file. (The go package has a *lot* of small files and with the default mount options, creating a lot

Re: premature end of data for lang/go package (mips64)

2022-12-12 Thread Stuart Henderson
On 2022-12-11, void wrote: > Hello misc@ > > I get the following error when trying to install go (for mips64/octeon): > > # pkg_add go > quirks-6.42 signed on 2022-10-08T21:12:07Z > Ustar > [http://cdn.openbsd.org/pub/OpenBSD/7.2/packages/mips64/go-1.19.1p0.tgz][go/pkg/openbsd_mips64/cmd/compile/i

premature end of data for lang/go package (mips64)

2022-12-11 Thread void
Hello misc@ I get the following error when trying to install go (for mips64/octeon): # pkg_add go quirks-6.42 signed on 2022-10-08T21:12:07Z Ustar [http://cdn.openbsd.org/pub/OpenBSD/7.2/packages/mips64/go-1.19.1p0.tgz][go/pkg/openbsd_mips64/cmd/compile/internal/reflectdata.a]: Premature end of