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

Bug 663706

Summary: app-portage/euses-2.5.9 cannot obtain $PORTDIR from portageq
Product: Gentoo Linux Reporter: Viktor Levin <viklevin2>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: bkohler, esigra, kingjon3377, viklevin2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 546210    

Description Viktor Levin 2018-08-15 17:58:44 UTC
If I add PORTDIR="/usr/portage" to /etc/portage/make.conf, euses works properly. But if I remove this line, euses doesn't work:

$ euses vdpau
PORTDIR not found

app-portage/euses-2.5.9 cannot obtain $PORTDIR from portageq. But $PORTDIR in make.conf is obsolete and deprecated.
Comment 1 Viktor Levin 2018-08-15 18:00:48 UTC
This bug also blocks bug https://bugs.gentoo.org/662982
Comment 2 Viktor Levin 2019-03-19 02:00:24 UTC
Any progress here?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-19 07:40:37 UTC
euses checks for an environment variable PORTDIR. Does this help?
Comment 4 Ben Kohler gentoo-dev 2019-09-23 16:09:40 UTC
This tool needs to be updated to not depend on the deprecated PORTDIR variable
Comment 5 Arfrever Frehtes Taifersar Arahesis 2019-09-24 02:32:09 UTC
Since euses is written in C language, you can implement similar solution as was done in portage-utils project, i.e. using dev-libs/iniparser to parse repos.conf:

https://gitweb.gentoo.org/proj/portage-utils.git/log/?qt=grep&q=repos.conf