Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663706 - app-portage/euses-2.5.9 cannot obtain $PORTDIR from portageq
Summary: app-portage/euses-2.5.9 cannot obtain $PORTDIR from portageq
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 546210
  Show dependency tree
 
Reported: 2018-08-15 17:58 UTC by Viktor Levin
Modified: 2020-12-13 18:36 UTC (History)
4 users (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 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