On 2024/01/15 14:48, void wrote:
> On Sun, Jan 14, 2024 at 05:46:50PM +0000, void wrote:
> > Hello list,
> > 
> > I've been trying to upgrade 'go' on a mips64 machine running OpenBSD 7.3 
> > and after completely deinstalling, then running pkg_check, then attempting 
> > to install afresh, get "Premature end of file" for this one port.
> > 
> > Ustar 
> > [https://mirror.exonetric.net/pub/OpenBSD/7.3/packages/mips64/go-1.20.1.tgz][go/bin/go]:
> >  Premature end of archive
> > Adjusting sha for /usr/local/go/bin/go from 
> > dqK0FY9V0ckVANe6jP094Tk5uEp8aubvetRIci7ovdM= to 
> > 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
> > Read shared items: ok

Try downloading the file first and pkg_add from local disk in case
there's some network issue preventing it from being fetched properly
(where "network issue" can include some OS problem with the nic, or
an issue on the network path, I have no idea how stable mips64 is
at the moment..)

> > Have tried other installurls with the same result. There's plenty of space:
> > 
> > # df -h
> > Filesystem     Size    Used   Avail Capacity  Mounted on
> > /dev/sd0a      986M    116M    820M    13%    /
> > /dev/sd0l      7.3G    340M    6.6G     5%    /home
> > /dev/sd0d      1.5G   38.0K    1.4G     1%    /tmp
> > /dev/sd0f      3.1G    1.6G    1.4G    53%    /usr
> > /dev/sd0g      902M    349M    507M    41%    /usr/X11R6
> > /dev/sd0h      3.6G    507M    2.9G    15%    /usr/local
> > /dev/sd0k      5.5G    761M    4.5G    15%    /usr/obj
> > /dev/sd0j      1.8G    1.4G    322M    82%    /usr/src
> > /dev/sd0e      2.3G   34.0M    2.2G     2%    /var
> 
> Seems the port is "in limbo" on mips64 because of syscall-related issues
> https://github.com/golang/go/issues/61546

I _think_ that it should still work on 7.3, though it's not uncommon for
go software to fail to build on "exotic" OS+arch combos (which is often
anything other than amd64 and possibly arm64).

Reply via email to