pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkglint issue
On Thu, 04 Jan 2024 08:01:16 +0100, Benny Siegert wrote:
>> 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?
>
> 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.
Yes, but...
The ktrace clearly indicates that the code successfully accesses NIS
data, it retrieves the passwd entry from passwd.byname. Between the
return from recvfrom and the panic output there is only a raft of
[...]
3136 3136 u RET recvfrom 88/0x58
3136 3136 u CALL __sigprocmask14(3,0x7f7fffffde30,0)
3136 3136 u RET __sigprocmask14 0
3136 3136 u CALL __gettimeofday50(0x7f7fffffdef0,0)
3136 3136 u RET __gettimeofday50 0
3136 3136 u CALL
__sigprocmask14(3,0x7f7fffffdeb0,0x7f7fffffdea0)
3136 3136 u RET __sigprocmask14 0
3136 3136 u CALL close(3)
3136 3136 u RET close 0
3136 3136 u CALL __sigprocmask14(3,0x7f7fffffdea0,0)
3136 3136 u RET __sigprocmask14 0
3136 3136 u CALL __nanosleep50(0x7f7fffffe3a0,0)
3136 14161 u RET __nanosleep50 0
3136 14161 u CALL __clock_gettime50(3,0x7f7fb00ffe78)
3136 14161 u RET __clock_gettime50 0
3136 14161 u CALL __clock_gettime50(3,0x7f7fb00ffe00)
3136 14161 u RET __clock_gettime50 0
3136 14161 u CALL __clock_gettime50(3,0x7f7fb00ffda0)
3136 14161 u RET __clock_gettime50 0
3136 14161 u CALL __clock_gettime50(3,0x7f7fb00ffda0)
3136 14161 u RET __clock_gettime50 0
3136 14161 u CALL
___lwp_park60(3,0,0x7f7fb00ffe00,0,0xc00004c748,0)
17128 20557 go121 RET __nanosleep50 0
17128 20557 go121 CALL __clock_gettime50(3,0xc00006bec8)
17128 20557 go121 RET __clock_gettime50 0
17128 20557 go121 CALL __clock_gettime50(3,0xc00006be50)
17128 20557 go121 RET __clock_gettime50 0
17128 20557 go121 CALL __clock_gettime50(3,0xc00006bdf0)
17128 20557 go121 RET __clock_gettime50 0
17128 20557 go121 CALL __clock_gettime50(3,0xc00006bdf0)
17128 20557 go121 RET __clock_gettime50 0
17128 20557 go121 CALL
___lwp_park60(3,0,0xc00006be50,0,0xc00005a348,0)
3136 3136 u RET __nanosleep50 0
3136 3136 u CALL __nanosleep50(0x7f7fffffe3a0,0)
3136 3136 u RET __nanosleep50 0
3136 3136 u CALL write(2,0x49919d,7)
3136 3136 u GIO fd 2 wrote 7 bytes
"panic: "
3136 3136 u RET write 7
3136 3136 u CALL write(2,0xc00001e1b0,0x2a)
3136 3136 u GIO fd 2 wrote 42 bytes
"user: lookup userid 100: permission denied"
[...]
And
> Try adding USE_LANGUAGES=c
> to pkglint/Makefile and see if that fixes the problem.
didn't make any difference - no C code compiled in the process.
Cheerio,
Hauke
--
Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany
Home |
Main Index |
Thread Index |
Old Index