Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571284 - app-doc/eclass-manpages-99999999: Error emulating 'portageq get_repos /' (with paludis)
Summary: app-doc/eclass-manpages-99999999: Error emulating 'portageq get_repos /' (wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on: 612424
Blocks:
  Show dependency tree
 
Reported: 2016-01-08 15:22 UTC by Alex Brandt (RETIRED)
Modified: 2019-03-14 12:39 UTC (History)
5 users (show)

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


Attachments
build output (1452264989-install-app-portage_eclass-manpages-20150814-r1:0::gentoo.out,1.79 KB, text/plain)
2016-01-08 15:22 UTC, Alex Brandt (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Brandt (RETIRED) gentoo-dev 2016-01-08 15:22:31 UTC
Build fails due to possibly a bug in portageq:

!!! In portageq at line 1647
!!! portageq emulation for get_repos not implemented



Reproducible: Always

Steps to Reproduce:
1. use paludis
2. cave resolve -1 app-portage/eclass-manpages
3. failed build
Actual Results:  
See attached build log.

Expected Results:  
Successful build.

Is it kosher to use portageq from inside of an ebuild?  I may be reading the output incorrectly as well, just wondering.
Comment 1 Alex Brandt (RETIRED) gentoo-dev 2016-01-08 15:22:59 UTC
Created attachment 422308 [details]
build output
Comment 2 Mike Gilbert gentoo-dev 2016-01-08 15:59:51 UTC
> Is it kosher to use portageq from inside of an ebuild?  I may be reading the output incorrectly as well, just wondering.

Previously, it referred to PORTDIR_OVERLAY, which is also portage-specific. That variable has been deprecated for several months.

eclass-manpages has never really been PMS-compliant. I believe there no supported way of generating a list of enabled repositories without relying on package manager implementation details.
Comment 3 SpanKY gentoo-dev 2016-01-08 20:36:07 UTC
not a whole lot to be done here.  tools can't rely on PORTAGE_OVERLAY anymore as everything is migrating to `portageq get_repos`.  i guess ask the paludis guys to implement that.
Comment 4 Ulrich Müller gentoo-dev 2017-03-13 16:47:33 UTC
Why does the ebuild even scan overlays? That isn't the behaviour I would expect. If I add an overlay to layman because I need one specific package from it, then I don't want it to influence other packages by some side effects.

In other words, eclass-manpages in the main tree should only install man pages for eclasses in the main tree. Anything overlay specific should be installed by a dedicated package in that overlay.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-21 18:26:14 UTC
The problem now applies to keyword-masked live ebuild only. Do you think it'd be reasonable to have a USE flag to control this behavior?
Comment 6 Ulrich Müller gentoo-dev 2019-03-14 09:07:06 UTC
(In reply to Michał Górny from comment #5)
> The problem now applies to keyword-masked live ebuild only. Do you think
> it'd be reasonable to have a USE flag to control this behavior?

Simply drop the live ebuild. Its days are counted anyway, since ECLASSDIR is gone in EAPI 7. (Plus, it currently fails to build.)
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-14 12:23:14 UTC
Hmm, or I guess I could make it a git live ebuild, with new git-r3 features.
Comment 8 Larry the Git Cow gentoo-dev 2019-03-14 12:39:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dded1c44940fa37150be78ea1ae4cc0cf5bbf95

commit 0dded1c44940fa37150be78ea1ae4cc0cf5bbf95
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-14 12:35:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-14 12:35:21 +0000

    app-doc/eclass-manpages: Switch the live ebuild to use git
    
    Closes: https://bugs.gentoo.org/571284
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../eclass-manpages-99999999.ebuild                | 35 +++++++---------------
 1 file changed, 10 insertions(+), 25 deletions(-)