pkgsrc-Users archive

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

Re: pkglint issue



> It would seem that go121 has a problem with NIS, and so does go120.
> OTOH, go118 runs the sample without an error.
> 
> Where to go from here?

I think I know what this may be.

go120 and go121 don't install compiled versions of the standard library. 
pkgsrc might not configure a C compiler for every Go build because that was 
never necessary. In your case however, a missing C compiler means that os/user 
is built without cgo support, so it does not use libc to look up the user -- 
which means no NIS support.

Try adding

USE_LANGUAGES=c

to pkglint/Makefile and see if that fixes the problem.

-- 
Benny





Home | Main Index | Thread Index | Old Index