Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570476 - app-portage/gentoolkit: EAPI 6 ebuilds scramble equery command output (SLOT number missing)
Summary: app-portage/gentoolkit: EAPI 6 ebuilds scramble equery command output (SLOT n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-01 11:27 UTC by Patrice Clement
Modified: 2016-01-01 17:02 UTC (History)
2 users (show)

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


Attachments
emerge --info gentoolkit (info,6.73 KB, text/plain)
2016-01-01 16:39 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrice Clement gentoo-dev 2016-01-01 11:27:38 UTC
$ equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [ ~] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:

The SLOT isn't showing up for GD-2.560. Further investigations are showing that this ebuild uses the latest EAPI. Apparently, equery doesn't seem to be supporting EAPI 6 ebuilds (yet?).

$ pwd
/home/monsieurp/gentoo/dev-perl/GD
$ grep SLOT *.ebuild
GD-2.460.0-r1.ebuild:SLOT="0"
GD-2.500.0-r1.ebuild:SLOT="0"
GD-2.560.0.ebuild:SLOT="0"
$ grep EAPI *.ebuild      
GD-2.460.0-r1.ebuild:EAPI=5
GD-2.500.0-r1.ebuild:EAPI=5
GD-2.560.0.ebuild:EAPI=6

Reproducible: Always
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2016-01-01 16:20:49 UTC
hmm.

professor-x gentoolkit # python2.7 bin/equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [  ] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:0
professor-x gentoolkit # python3.3 bin/equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [  ] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:0
professor-x gentoolkit # python3.4 bin/equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [  ] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:0
professor-x gentoolkit # python3.5 bin/equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [  ] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:0
professor-x gentoolkit # 


It works for me, all python versions...  What python version? what portage version?
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2016-01-01 16:34:41 UTC
And I even am getting the correct slot info in porthole for EAPI-6.

Both equery and porthole get the information from portage api's.

This makes me think you have an old version of portage installed.  Perhaps one with only preliminary EAPI 6 support.

Please try with portage-2.2.26 which is the first version with complete EAPI 6 final support.  It is in the process of being stabilized.
Comment 3 Coacher 2016-01-01 16:39:38 UTC
Created attachment 421498 [details]
emerge --info gentoolkit

(In reply to Brian Dolbec from comment #1)
> It works for me, all python versions...  What python version? what portage
> version?

Hello.

I have exactly the same problem as in the OP:

coacher@Photon /usr $ python2.7 bin/equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [ ~] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:
coacher@Photon /usr $ python3.4 bin/equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [ ~] dev-perl/GD-2.500.0-r1:0
[-P-] [  ] dev-perl/GD-2.560.0:

Please find the relevant info is in the attachment.
gentoolkit-9999 is at 4e06e9f032ed.
Comment 4 Patrice Clement gentoo-dev 2016-01-01 16:57:34 UTC
I've just installed portage-2.2.26 as you suggested:
$ equery b $(type -P repoman)
 * Searching for /usr/bin/repoman ... 
sys-apps/portage-2.2.26 (/usr/bin/repoman -> ../lib/python-exec/python-exec2)

It does show the correct SLOT number now:
$ equery l -p GD
 * Searching for GD ...
[-P-] [  ] dev-perl/GD-2.460.0-r1:0
[-P-] [ ~] dev-perl/GD-2.500.0-r1:0
[-P-] [ ~] dev-perl/GD-2.560.0:0

Coacher confirmed it as well on IRC. Sorry for the noise! Thank you dolsen for troubleshooting. Cheers.
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2016-01-01 17:02:03 UTC
ok, good to know