Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 746203

Summary: app-portage/pgo: -b does not work, it seems
Product: Gentoo Linux Reporter: Georgy Yakovlev <gyakovlev>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: arzano
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georgy Yakovlev archtester gentoo-dev 2020-10-03 06:55:53 UTC
built with go 1.15.2 on ppc64 and 1.14.7 on amd64


pgo -b net-dns/dnscrypt-proxy

[ Results for search key :  net-dns/dnscrypt-proxy  ]
Searching...





                                      acct-group/dnscrypt-proxy

                                  Group for net-dns/dnscrypt-proxy
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/arzano/pgo/cmd.showPackage(0x7fffebfcd0d6, 0x16, 0x1)
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/cmd/packages.go:40 +0x10dc
github.com/arzano/pgo/cmd.glob..func2(0x10738c20, 0xc00000e780, 0x1, 0x2)
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/cmd/root.go:29 +0x54
github.com/spf13/cobra.(*Command).execute(0x10738c20, 0xc000020190, 0x2, 0x2, 0x10738c20, 0xc000020190)
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/vendor/github.com/spf13/cobra/command.go:846 +0x208
github.com/spf13/cobra.(*Command).ExecuteC(0x10738c20, 0xc000355f18, 0x1, 0x1)
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/vendor/github.com/spf13/cobra/command.go:950 +0x29c
github.com/spf13/cobra.(*Command).Execute(...)
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/vendor/github.com/spf13/cobra/command.go:887
github.com/arzano/pgo/cmd.Execute()
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/cmd/root.go:58 +0x4f4
main.main()
        /var/tmp/portage/app-portage/pgo-0.0.3/work/pgo-0.0.3/pgo.go:6 +0x24
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-10-03 06:56:33 UTC
ah forgot, version 0.0.3
Comment 2 Georgy Yakovlev archtester gentoo-dev 2020-10-03 06:59:51 UTC
same goes for 
-q
-c
-m
-p


so looks like presense of acct-* packages triggers it.

fails with 

pgo -q qemu

and basically anything that has matching acct-user/group package, it seems.