Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907428 - musl overlay has invalid ebuilds due to unsupported python versions
Summary: musl overlay has invalid ebuilds due to unsupported python versions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-30 18:30 UTC by Erik Dannenberg
Modified: 2023-05-31 00:39 UTC (History)
0 users

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 Erik Dannenberg 2023-05-30 18:30:54 UTC
couple ebuilds reference no longer avail python versions which causes a hard portage crash if it is used anywhere (as a dep for example):

```
ebuild failed with status 1
     Reading category  17|168 ( 10): app-emulation...
cannot properly execute /var/db/repos/musl/app-emulation/libvirt/libvirt-6.8.0-r3.ebuild
     Reading category  17|168 ( 10): app-emulation... * ERROR: app-emulation/libvirt-7.0.0-r2::musl failed (depend phase):
 *   No supported implementation in PYTHON_COMPAT.
 *
 * Call stack:
 *                 ebuild.sh, line 628:  Called source '/var/db/repos/musl/app-emulation/libvirt/libvirt-7.0.0-r2.ebuild'
 *   libvirt-7.0.0-r2.ebuild, line   8:  Called inherit 'meson' 'bash-completion-r1' 'eutils' 'linux-info' 'python-any-r1' 'readme.gentoo-r1' 'tmpfiles'
 *                 ebuild.sh, line 308:  Called __qa_source '/var/db/repos/gentoo/eclass/python-any-r1.eclass'
 *                 ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/python-any-r1.eclass'
 *      python-any-r1.eclass, line 201:  Called _python_any_set_globals
 *      python-any-r1.eclass, line 173:  Called _python_set_impls
 *    python-utils-r1.eclass, line 171:  Called die
 * The specific snippet of code:
 *   	        die "No supported implementation in PYTHON_COMPAT."
 *
 * If you need support, post the output of `emerge --info '=app-emulation/libvirt-7.0.0-r2::musl'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-7.0.0-r2::musl'`.
 * Working directory: '/usr/lib/python3.11/site-packages'
 * S: '/libvirt-7.0.0'
```

Reproducible: Always

Steps to Reproduce:
1. add musl ebuild repo
2. rebuild eix cache or emerge a package that has an outdated ebuild in it's dep tree
Actual Results:  
ebuild failed with status 1
     Reading category  17|168 ( 10): app-emulation...
cannot properly execute /var/db/repos/musl/app-emulation/libvirt/libvirt-6.8.0-r3.ebuild
     Reading category  17|168 ( 10): app-emulation... * ERROR: app-emulation/libvirt-7.0.0-r2::musl failed (depend phase):
 *   No supported implementation in PYTHON_COMPAT.
 *
 * Call stack:
 *                 ebuild.sh, line 628:  Called source '/var/db/repos/musl/app-emulation/libvirt/libvirt-7.0.0-r2.ebuild'
 *   libvirt-7.0.0-r2.ebuild, line   8:  Called inherit 'meson' 'bash-completion-r1' 'eutils' 'linux-info' 'python-any-r1' 'readme.gentoo-r1' 'tmpfiles'
 *                 ebuild.sh, line 308:  Called __qa_source '/var/db/repos/gentoo/eclass/python-any-r1.eclass'
 *                 ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/python-any-r1.eclass'
 *      python-any-r1.eclass, line 201:  Called _python_any_set_globals
 *      python-any-r1.eclass, line 173:  Called _python_set_impls
 *    python-utils-r1.eclass, line 171:  Called die
 * The specific snippet of code:
 *   	        die "No supported implementation in PYTHON_COMPAT."
 *
 * If you need support, post the output of `emerge --info '=app-emulation/libvirt-7.0.0-r2::musl'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libvirt-7.0.0-r2::musl'`.
 * Working directory: '/usr/lib/python3.11/site-packages'
 * S: '/libvirt-7.0.0'

Expected Results:  
doesn't crash :P
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-31 00:39:07 UTC
I've cleaned up a bunch of obsolete stuff. Nowadays we're trying to support musl as much as possible in ::gentoo so ::musl tends to rot unless we need to do a quick workaround.

I suspect you may be able to drop the overlay entirely.