pkgsrc-Users archive

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

pkglint issue



Hi,

for a while, I have been getting the following error when invoking 
pkglint on netbsd-10:

% pkglint
panic: Pkglint internal error: user.Current: user: lookup userid 100: 
permission denied [recovered]
        panic: interface conversion: interface {} is string, not 
pkglint.pkglintFatal

goroutine 1 [running]:
github.com/rillig/pkglint/v23.(*Pkglint).Main.func1()
        
/var/obj/pkgsrc/pkgtools/pkglint/work/pkglint-23.2.5/v23/pkglint.go:111 
+0x54
panic({0x745940?, 0xc0022c2e10?})
        /usr/pkg/go121/src/runtime/panic.go:914 +0x21f
github.com/rillig/pkglint/v23.assertNil({0x866d40, 0xc0022c2e00}, 
{0x7b3f3e?, 0x863bf0?}, {0x0?, 0x7b0683?, 0x7b1022?})
        
/var/obj/pkgsrc/pkgtools/pkglint/work/pkglint-23.2.5/v23/util.go:264 
+0xb4
github.com/rillig/pkglint/v23.(*Pkglint).prepareMainLoop(0xa8a180)
        
/var/obj/pkgsrc/pkgtools/pkglint/work/pkglint-23.2.5/v23/pkglint.go:218 
+0x52c
github.com/rillig/pkglint/v23.(*Pkglint).Main(0xa8a180, {0x866b40?, 
0xc000048030}, {0x866b40?, 0xc000048038}, {0xc0000160d0, 0x1, 0x1})
        
/var/obj/pkgsrc/pkgtools/pkglint/work/pkglint-23.2.5/v23/pkglint.go:124 
+0x245
main.main()
        
/var/obj/pkgsrc/pkgtools/pkglint/work/pkglint-23.2.5/v23/cmd/pkglint/main.go:11 
+0x47
%

Ripping out all of go* and rebuilding didn't help.

What am I missing?

Cheerio,
Hauke

-- 
Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany


Home | Main Index | Thread Index | Old Index