Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913349 - dev-lang/python fails to emerge inside eprefix
Summary: dev-lang/python fails to emerge inside eprefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-30 20:13 UTC by Maciej Barć
Modified: 2023-09-16 13:41 UTC (History)
0 users

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


Attachments
satge3 log (stage3.log.txt.xz,920.72 KB, application/x-xz)
2023-08-30 20:21 UTC, Maciej Barć
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Barć gentoo-dev 2023-08-30 20:13:21 UTC
* eprefixing shebang of home/maciej.barc.0.local/.var/lib/gentoo/prefix/gentoo-amd64-gnu-gcc-stable-prefix-0/usr/bin/python3.11-config
 * QA Notice: the following files use invalid (possible non-prefixed) shebangs:
 *   /home/maciej.barc.0.local/.var/lib/gentoo/prefix/gentoo-amd64-gnu-gcc-stable-prefix-0/etc/init.d/pydoc-3.11:/sbin/openrc-run (script pydoc-3.11 installed in PATH but interpreter /sbin/openrc-run not found)
 * ERROR: dev-lang/python-3.11.5::gentoo failed:
 *   Aborting due to QA concerns: invalid shebangs found
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-30 20:20:17 UTC
grobian, a few people have reported this now, but it should've been fixed in bug 640658. But this report is from today (they only tried bootstrapping earlier on today).

Is there some outdated snapshot or what? Or is the fix incomplete and I'm barking up the wrong tree?
Comment 2 Maciej Barć gentoo-dev 2023-08-30 20:21:18 UTC
Created attachment 869068 [details]
satge3 log
Comment 3 Fabian Groffen gentoo-dev 2023-08-31 06:10:08 UTC
So this should be fixed in 3.0.50 committed at 2023-08-09, right?

RAP uses LATEST_TREE_YES=1 so that pull in the latest prefix tree snapshot from http://distfiles.prefix.bitzolder.nl.  Oh gosh, perhaps there is a latest.tar.bz2 around there.  I think it should use distfiles.gentoo.org for RAP.  Let me see if I can cook something up.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-31 06:17:42 UTC
(In reply to Fabian Groffen from comment #3)
> So this should be fixed in 3.0.50 committed at 2023-08-09, right?
> 

yes - and I backported it in 3.0.49-r2 as well

> RAP uses LATEST_TREE_YES=1 so that pull in the latest prefix tree snapshot
> from http://distfiles.prefix.bitzolder.nl.  Oh gosh, perhaps there is a
> latest.tar.bz2 around there.  I think it should use distfiles.gentoo.org for
> RAP.  Let me see if I can cook something up.

Ah! Thank you :)
Comment 5 Fabian Groffen gentoo-dev 2023-08-31 06:28:39 UTC
removed portage-latest.tar.bz2 from the prefix mirror, need to ensure this doesn't happen again.
Comment 6 Larry the Git Cow gentoo-dev 2023-08-31 06:28:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=550477e81aeb878d4f28cf2095a3be8e2f21c995

commit 550477e81aeb878d4f28cf2095a3be8e2f21c995
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-08-31 06:25:46 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-08-31 06:28:15 +0000

    scripts/bootstrap-prefix: ensure RAP pulls tree snapshot from gentoo mirrors
    
    prefix redirection mirror might use local (prefix) copies, which means
    portage-latest.tar.bz2 might come from an old (cached) archive.  Ensure
    RAP uses gentoo mirrors for the snapshot instead.
    
    While at it, just use prefix mirrors for the snapshots instead of
    dev.gentoo.org.  Saves a copy step and makes it easier to bump the
    snapshot.
    
    Bug: https://bugs.gentoo.org/913349
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2023-08-31 06:36:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=85746654ac4a284323d36cf8d8d3ce4dc5c08abf

commit 85746654ac4a284323d36cf8d8d3ce4dc5c08abf
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2023-08-31 06:35:29 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2023-08-31 06:35:29 +0000

    scripts/auto-bootstraps/update_distfiles: skip portage-latest.tar.*
    
    Bit of a kludge, but avoid portage-latest.tar.* to be made public, so as
    not to serve an outdated copy.
    
    Bug: https://bugs.gentoo.org/913349
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/auto-bootstraps/update_distfiles.py | 3 +++
 1 file changed, 3 insertions(+)
Comment 8 Fabian Groffen gentoo-dev 2023-09-16 13:41:39 UTC
I think this bug should be fixed now, thanks