GenPi64 / genpi64-overlay

Gentoo overlay for the Raspberry Pi 3 and 4
GNU General Public License v3.0
7 stars 13 forks source link

rpi3-bluetooth eclass - EAPI 6 not supported: needs revbump #212

Open S4enL0ng opened 1 month ago

S4enL0ng commented 1 month ago

Describe the bug

Some ebuilds are build with EAPI=6 and uses git-r3 eclass which no longer support EAPI=6.

To Reproduce Steps to reproduce the behavior:

  1. emerge -pe @world in my case but using emerge -pe @system does work too

Expected behavior

Screenshots

$ sudo -i -- emerge -pe @world > /dev/null
 * ERROR: net-wireless/rpi3-bluetooth-1.2::genpi64 failed (depend phase):
 *   git-r3: EAPI 6 not supported
 * 
 * Call stack:
 *                   ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.2.ebuild'
 *   rpi3-bluetooth-1.2.ebuild, line   2:  Called inherit 'git-r3'
 *                   ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                   ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *               git-r3.eclass, line  30:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/rpi3-bluetooth-1.2::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/rpi3-bluetooth-1.2::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/net-wireless/rpi3-bluetooth-1.2/work/rpi3-bluetooth-1.2'
 * ERROR: sys-firmware/bcm4340a1-firmware-1.2-r1::genpi64 failed (depend phase):
 *   git-r3: EAPI 6 not supported
 * 
 * Call stack:
 *                          ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/sys-firmware/bcm4340a1-firmware/bcm4340a1-firmware-1.2-r1.ebuild'
 *   bcm4340a1-firmware-1.2-r1.ebuild, line   2:  Called inherit 'git-r3'
 *                          ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                          ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                      git-r3.eclass, line  30:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=sys-firmware/bcm4340a1-firmware-1.2-r1::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=sys-firmware/bcm4340a1-firmware-1.2-r1::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-firmware/bcm4340a1-firmware-1.2-r1/work/bcm4340a1-firmware-1.2'
 * ERROR: sys-apps/rpi-onetime-startup-1.0-r5::genpi64 failed (depend phase):
 *   systemd: EAPI 6 not supported
 * 
 * Call stack:
 *                           ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/sys-apps/rpi-onetime-startup/rpi-onetime-startup-1.0-r5.ebuild'
 *   rpi-onetime-startup-1.0-r5.ebuild, line   6:  Called inherit 'systemd'
 *                           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/systemd.eclass'
 *                           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/systemd.eclass'
 *                      systemd.eclass, line  32:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=sys-apps/rpi-onetime-startup-1.0-r5::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/rpi-onetime-startup-1.0-r5::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-apps/rpi-onetime-startup-1.0-r5/work/rpi-onetime-startup-1.0'
 * ERROR: net-wireless/rpi3-bluetooth-1.2::genpi64 failed (depend phase):
 *   git-r3: EAPI 6 not supported
 * 
 * Call stack:
 *                   ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.2.ebuild'
 *   rpi3-bluetooth-1.2.ebuild, line   2:  Called inherit 'git-r3'
 *                   ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                   ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *               git-r3.eclass, line  30:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/rpi3-bluetooth-1.2::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/rpi3-bluetooth-1.2::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/net-wireless/rpi3-bluetooth-1.2/work/rpi3-bluetooth-1.2'
 * ERROR: net-wireless/rpi3-bluetooth-1.1-r7::genpi64 failed (depend phase):
 *   git-r3: EAPI 6 not supported
 * 
 * Call stack:
 *                      ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.1-r7.ebuild'
 *   rpi3-bluetooth-1.1-r7.ebuild, line   6:  Called inherit 'git-r3'
 *                      ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                      ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                  git-r3.eclass, line  30:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/rpi3-bluetooth-1.1-r7::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/rpi3-bluetooth-1.1-r7::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/net-wireless/rpi3-bluetooth-1.1-r7/work/rpi3-bluetooth-1.1'
 * ERROR: net-wireless/rpi3-bluetooth-1.1-r5::genpi64 failed (depend phase):
 *   git-r3: EAPI 6 not supported
 * 
 * Call stack:
 *                      ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.1-r5.ebuild'
 *   rpi3-bluetooth-1.1-r5.ebuild, line   6:  Called inherit 'git-r3'
 *                      ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                      ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                  git-r3.eclass, line  30:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/rpi3-bluetooth-1.1-r5::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/rpi3-bluetooth-1.1-r5::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/net-wireless/rpi3-bluetooth-1.1-r5/work/rpi3-bluetooth-1.1'
 * ERROR: net-wireless/rpi3-bluetooth-1.1-r4::genpi64 failed (depend phase):
 *   git-r3: EAPI 6 not supported
 * 
 * Call stack:
 *                      ebuild.sh, line 632:  Called source '/var/db/repos/genpi64/net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.1-r4.ebuild'
 *   rpi3-bluetooth-1.1-r4.ebuild, line   6:  Called inherit 'git-r3'
 *                      ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                      ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/git-r3.eclass'
 *                  git-r3.eclass, line  30:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 * 
 * If you need support, post the output of `emerge --info '=net-wireless/rpi3-bluetooth-1.1-r4::genpi64'`,
 * the complete build log and the output of `emerge -pqv '=net-wireless/rpi3-bluetooth-1.1-r4::genpi64'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/net-wireless/rpi3-bluetooth-1.1-r4/work/rpi3-bluetooth-1.1'

!!! All ebuilds that could satisfy "net-wireless/rpi3-bluetooth" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-wireless/rpi3-bluetooth-1.2::genpi64 (masked by: corruption)
- net-wireless/rpi3-bluetooth-1.1-r7::genpi64 (masked by: corruption)
- net-wireless/rpi3-bluetooth-1.1-r5::genpi64 (masked by: corruption)
- net-wireless/rpi3-bluetooth-1.1-r4::genpi64 (masked by: corruption)

(dependency required by "@profile" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Image details (please complete the following information):

Additional context

I'm trying to update my genpi64 with profile update to 23.0 profile version. And the to be expected emerge -pe @world fails with above messages. But a quick grep through the overlay reveals several more "old EAPI" ebuilds

/var/db/repos/genpi64 $ grep -r EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-1.5.0-r9.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-1.5.1-r7.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-1.5.2-r8.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-1.5.3-r4.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-1.5.4-r7.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-1.6.0-r6.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-2.0.0-r1.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-2.0.0-r2.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-2.0.0-r3.ebuild:EAPI=6
dev-embedded/rpi-64bit-meta/rpi-64bit-meta-2.0.0-r4.ebuild:EAPI=6
dev-embedded/rpi3-64bit-meta/rpi3-64bit-meta-1.4.2.ebuild:EAPI=6
dev-embedded/rpi3-64bit-meta/rpi3-64bit-meta-1.4.2-r1.ebuild:EAPI=6
dev-embedded/rpi3-64bit-meta/rpi3-64bit-meta-1.4.2-r2.ebuild:EAPI=6
dev-embedded/rpi3-64bit-meta/rpi3-64bit-meta-1.4.2-r3.ebuild:EAPI=6
net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.1-r4.ebuild:EAPI=6
net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.1-r5.ebuild:EAPI=6
net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.1-r7.ebuild:EAPI=6
net-wireless/rpi3-bluetooth/rpi3-bluetooth-1.2.ebuild:EAPI=6
net-wireless/rpi3-wifi-regdom/rpi3-wifi-regdom-1.1-r1.ebuild:EAPI=6
sys-apps/rpi-gpio/rpi-gpio-1.0.0-r1.ebuild:EAPI=6
sys-apps/rpi-i2c/rpi-i2c-1.0.0-r3.ebuild:EAPI=6
sys-apps/rpi-onetime-startup/rpi-onetime-startup-1.0-r4.ebuild:EAPI=6
sys-apps/rpi-onetime-startup/rpi-onetime-startup-1.0-r5.ebuild:EAPI=6
sys-apps/rpi-serial/rpi-serial-1.0.0-r1.ebuild:EAPI=6
sys-apps/rpi-spi/rpi-spi-1.0.0-r2.ebuild:EAPI=6
sys-apps/rpi-video/rpi-video-1.0.0-r1.ebuild:EAPI=6
sys-apps/rpi3-i2cdev/rpi3-i2cdev-1.0.0-r1.ebuild:EAPI=6
sys-apps/rpi3-i2cdev/rpi3-i2cdev-1.0.1-r3.ebuild:EAPI=6
sys-apps/rpi3-ondemand-cpufreq/rpi3-ondemand-cpufreq-1.1.1-r1.ebuild:EAPI=6
sys-apps/rpi3-spidev/rpi3-spidev-1.0.0.ebuild:EAPI=6
sys-firmware/bcm4340a1-firmware/bcm4340a1-firmware-1.1.ebuild:EAPI=6
sys-firmware/bcm4340a1-firmware/bcm4340a1-firmware-1.2-r1.ebuild:EAPI=6
sys-firmware/bcm4340a1-firmware/bcm4340a1-firmware-1.2.ebuild:EAPI=6
x11-misc/rpi3-safecompositor/rpi3-safecompositor-1.0.0.ebuild:EAPI=6
x11-misc/rpi3-safecompositor/rpi3-safecompositor-1.0.1.ebuild:EAPI=6
x11-misc/rpi3-safecompositor/rpi3-safecompositor-1.0.2.ebuild:EAPI=6
x11-misc/rpi3-safecompositor/rpi3-safecompositor-1.0.3-r1.ebuild:EAPI=6
x11-misc/twofing/twofing-0.1.2-r2.ebuild:EAPI=6
xfce-extra/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.0.5-r3.ebuild:EAPI=6
xfce-extra/xfce4-fixups-rpi3/xfce4-fixups-rpi3-1.0.0.ebuild:EAPI=6
xfce-extra/xfce4-fixups-rpi3/xfce4-fixups-rpi3-1.0.1.ebuild:EAPI=6
xfce-extra/xfce4-fixups-rpi3/xfce4-fixups-rpi3-1.0.2.ebuild:EAPI=6
xfce-extra/xfce4-fixups-rpi3/xfce4-fixups-rpi3-1.0.3.ebuild:EAPI=6
xfce-extra/xfce4-fixups-rpi3/xfce4-fixups-rpi3-1.0.4-r1.ebuild:EAPI=6
xfce-extra/xfce4-fixups-rpi3/xfce4-fixups-rpi3-1.0.5-r1.ebuild:EAPI=6
xfce-extra/xfce4-keycuts-pitop/xfce4-keycuts-pitop-1.0.0.ebuild:EAPI=6
xfce-extra/xfce4-keycuts-pitop/xfce4-keycuts-pitop-1.0.1.ebuild:EAPI=6
xfce-extra/xfce4-keycuts-pitop/xfce4-keycuts-pitop-1.0.2-r1.ebuild:EAPI=6
xfce-extra/xfce4-noblank/xfce4-noblank-1.0.0-r3.ebuild:EAPI=6
samip5 commented 1 month ago

Yeah, we came across this recently: https://ci.genpi64.com/blue/organizations/jenkins/GenPi64%2FBuild.Dist/detail/master/101/pipeline/72#step-73-log-1683