Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 746203 - app-portage/pgo: -b does not work, it seems
Summary: app-portage/pgo: -b does not work, it seems
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Max Magorsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-03 06:55 UTC by Georgy Yakovlev
Modified: 2020-10-03 06:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.