pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: syncthing on NetBSD i386



On Thu, 10 Apr 2025 at 20:43, Matthew Widup <widupmm%proton.me@localhost> wrote:
>
> syncthing in pkgsrc does not build on i386, and possibly other ports besides amd64 and arm64.
>
> I found that this is due to gopsutil looking unnecessarily for NetBSD code that uses data unique to different architectures.  At least, the amd64 code works in i386; and I suspect universally.
>
> I am very unfamiliar with go.  I managed to make a localpatch which makes i386 work but probably breaks amd64 and arm64.
>
> If someone who does understand go could either make a proper patch, or, communicate to the gopsutil developers how to avert this problem; it would be much appreciated.

Hi Matthew,

I'm not a go developer, but I do use syncthing heavily on amd64 - I'm
happy to take a look at your patch and see if I can get a variant
which is happy with i386 & amd64 into pkgsrc :)

David


Home | Main Index | Thread Index | Old Index