Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832062 - sys-apps/portage::prefix: latest prefix portage update reports -r0X.Y release numbers as invalid (inter-revisions)
Summary: sys-apps/portage::prefix: latest prefix portage update reports -r0X.Y release...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-01-25 19:00 UTC by hsk17
Modified: 2022-01-26 22:27 UTC (History)
1 user (show)

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


Attachments
r0X.Y prefix release numbers patch for portage 3.0.30 (portage-3.0.30-prefix-versions.patch,2.15 KB, patch)
2022-01-25 21:28 UTC, hsk17
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hsk17 2022-01-25 19:00:43 UTC
after emerging latest prefix portage update (3.0.30.1) i am getting errors about invalid atom / invalid ebuild name, e.g. "dev-libs/boost-1.77.0-r03.1" or "dev-lang/python-exec-2.4.8-r00.1", in my private overlay trees.

has the prefix feature of allowing r0X.Y release numbers been dropped?

in portage-3.0.21, NN-r0X.Y ebuilds were accepted.
Comment 1 Fabian Groffen gentoo-dev 2022-01-25 19:03:50 UTC
eh, yes, I did, I didn't know they were still in use ...

Is it possible to use normal revisions (or sub-versions) for these overlays?
Comment 2 hsk17 2022-01-25 19:10:21 UTC
hmm.  have to think about that.  i made really heavy use (>80 ebuilds) of that r0X.Y feature to adjust gx86 or prefix ebuilds to our local needs.
Comment 3 Fabian Groffen gentoo-dev 2022-01-25 19:25:48 UTC
The feature really is obscure (since whenever I introduced it) and with overlays weights one can even override the same versions these days.

It's annoying it had to go, but the maintenance and resistance from gx86 didn't work in its favour.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-25 19:38:25 UTC
(In reply to hsk17 from comment #2)
> hmm.  have to think about that.  i made really heavy use (>80 ebuilds) of
> that r0X.Y feature to adjust gx86 or prefix ebuilds to our local needs.

Without comment on maintenance of subrevisions as I'm not going to make more work for grobian, is there something we can do to just make ::gentoo or ::prefix better for you?

Can we get a lot of this upstreamed?
Comment 5 Fabian Groffen gentoo-dev 2022-01-25 19:48:19 UTC
example from musl, I have in /etc/portage/repos.conf/*

[gentoo]
location = bla
sync-type = rsync
sync-uri = rsync://dont-sync-here/gentoo-portage
auto-sync = no

[musl]
priority = 50
location = bla/overlays/musl
sync-type = rsync
sync-uri = rsync://donotsync
auto-sync = no

[musl-grobian]
priority = 51
location = bla/overlays/musl-grobian
sync-type = rsync
sync-uri = rsync://donotsync
auto-sync = no


This allows to override versions from gentoo in musl overlay, and musl-grobian to override musl (and gentoo).
Comment 6 hsk17 2022-01-25 21:28:54 UTC
Created attachment 763634 [details, diff]
r0X.Y prefix release numbers patch for portage 3.0.30

anything else needed besides the attached patch?
Comment 7 Larry the Git Cow gentoo-dev 2022-01-26 07:22:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=78bc2780900963532f21545b65fe0c6a91379fa7

commit 78bc2780900963532f21545b65fe0c6a91379fa7
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-01-26 07:21:40 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-01-26 07:21:40 +0000

    sys-apps/portage-3.0.30.1: add interrevisions patch
    
    Closes: https://bugs.gentoo.org/832062
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 .../files/portage-3.0.30-interrevisions.patch      | 68 ++++++++++++++++++++++
 sys-apps/portage/portage-3.0.30.1.ebuild           |  1 +
 2 files changed, 69 insertions(+)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-26 22:27:19 UTC
Thanks. I'd still be very happy to merge respective ebuild fixes though.