pkgsrc-Users archive

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

Re: remove coyim?



On Tue, Aug 6, 2024 at 8:08 PM nia <nia%netbsd.org@localhost> wrote:
>
> It's been broken for ages now. It's not clear to me if people
> trying to fix it months ago were doing so because they use it
> or for other reasons.
>

I could not make coyim to link successfully for versions beyond 0.3.11
in NetBSD,

I always got the following error during link

github.com/coyim/coyim
# github.com/coyim/coyim
/usr/pkg/go120/pkg/tool/netbsd_amd64/link: running gcc failed: exit status 1
/tmp/go-link-3181332492/000000.o: file not recognized: file format not
recognized

Since I do not have much experience with linkers, I could not get much
further with the debugging. This was also reproducible in the FreeBSD
package I maintain, and hence I never bumped the version in the
FreeBSD package too.

I know bsiegert@ helped update the package to 0.4.1 and he said it was
building correctly in MacOS in pkgsrc, but could not verify if it
works.

I could verify that coyim (independent of pkgsrc) builds correctly in
MacOS, I saw a very similar message but it did not error out.

 ld: warning: ignoring file
/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/go-link-846869687/000000.o,
building for macOS-x86_64 but attempting to link with file built for
unknown-unsupported file format ( 0x64 0x86 0x01 0x00 0x00 0x00 0x00
0x00 0x63 0xC9 0x00 0x00 0x01 0x00 0x00 0x00 )

Any help regarding the above linker messages and how to handle it is
much appreciated, as it will help me bump and maintain the package
also in FreeBSD.

> AFAIK this package was once maintained by someone close to
> upstream who is no longer working on it.

It is still maintained by that person, which would be me.

--
Santhosh


Home | Main Index | Thread Index | Old Index