vifino / vifino-overlay

My personal overlay for Gentoo. Contains openrazer ebuilds and friends mostly.
MIT License
10 stars 4 forks source link

Unsupported EAPI=5 (too old) for distutils-r1 #49

Closed JulienDlq closed 2 years ago

JulienDlq commented 3 years ago

I have the following error messages during « calculating dependencies ».

Calculating dependencies / * ERROR: dev-python/d2to1-0.2.12_p1-r1::vifino-overlay failed (depend phase):
 *   Unsupported EAPI=5 (too old) for distutils-r1
 * 
 * Call stack:
 *                   ebuild.sh, line 609:  Called source '/var/lib/layman/vifino-overlay/dev-python/d2to1/d2to1-0.2.12_p1-r1.ebuild'
 *   d2to1-0.2.12_p1-r1.ebuild, line   8:  Called inherit 'distutils-r1'
 *                   ebuild.sh, line 314:  Called __qa_source '/var/db/repos/gentoo/eclass/distutils-r1.eclass'
 *                   ebuild.sh, line 112:  Called source '/var/db/repos/gentoo/eclass/distutils-r1.eclass'
 *         distutils-r1.eclass, line  48:  Called die
 * The specific snippet of code:
 *              die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/d2to1-0.2.12_p1-r1::vifino-overlay'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/d2to1-0.2.12_p1-r1::vifino-overlay'`.
 * Working directory: '/usr/lib/python3.8/site-packages'
 * S: '/var/tmp/portage/dev-python/d2to1-0.2.12_p1-r1/work/d2to1-0.2.12_p1'
C-Entropy commented 3 years ago

Come into this too.

zen2 commented 3 years ago

I got the problem too. I suppose it's since sys-apps/portage was updated to 3.0.18 version.

List of involved ebuilds:

$ grep -Hri "EAPI=[12345]" vifino-overlay
vifino-overlay/sys-fs/cpmtools/cpmtools-2.20.ebuild:EAPI=5
vifino-overlay/x11-misc/gromit-mpx/gromit-mpx-9999.ebuild:EAPI=5
vifino-overlay/x11-misc/wmutils-core/wmutils-core-9999.ebuild:EAPI=5
vifino-overlay/x11-misc/disputils/disputils-9999.ebuild:EAPI=5
vifino-overlay/x11-misc/xrq/xrq-9999.ebuild:EAPI=5
vifino-overlay/x11-misc/wmutils-opt/wmutils-opt-9999.ebuild:EAPI=5
vifino-overlay/www-client/luakit/luakit-9999.ebuild:EAPI=5
vifino-overlay/dev-python/d2to1/d2to1-0.2.12_p1-r1.ebuild:EAPI=5
vifino-overlay/sci-libs/liquid-dsp/liquid-dsp-9999.ebuild:EAPI=5
vifino-overlay/sci-libs/volk/volk-9999.ebuild:EAPI=5
vifino-overlay/dev-lang/rubinius/rubinius-3.43.ebuild:EAPI=5
vifino-overlay/dev-lang/rubinius/rubinius-3.69.ebuild:EAPI=5
vifino-overlay/net-wireless/luaradio/luaradio-9999.ebuild:EAPI=5
vifino-overlay/net-misc/batman-adv/batman-adv-2016.5.ebuild:EAPI=4
vifino-overlay/net-misc/batman-adv/batman-adv-2020.0.ebuild:EAPI=4
vifino-overlay/net-misc/batctl/batctl-2016.5.ebuild:EAPI=4
vifino-overlay/net-misc/batctl/batctl-2020.0.ebuild:EAPI=4
vifino-overlay/games-action/minetest/minetest-9999.ebuild:EAPI=5
vifino-overlay/dev-util/radare2/radare2-9999.ebuild:EAPI=5
vifino-overlay/dev-util/rebar3/rebar3-3.14.3.ebuild:EAPI=5
vifino-overlay/dev-util/rebar3/rebar3-9999.ebuild:EAPI=5
vifino-overlay/dev-util/rebar3/rebar3-3.3.4.ebuild:EAPI=5
vifino-overlay/net-libs/wvstreams/wvstreams-4.6.1-r4.ebuild:EAPI=5
zen2 commented 3 years ago

I've replace EAPI=5 by EAPI=6 in dev-python/d2to1/d2to1-0.2.12_p1-r1.ebuild to fix this error message. In fact you got this message for any ebuild installed on your system if ebuild EAPI < 6.

Zeroneca commented 3 years ago

I just checked the complete list of old EAPI ebuilds in this overlay.

=dev-python/d2to1-0.2.12_p1-r1 and =net-misc/batctl-2016.5

could be successfully built on my machine with replacing EAPI=[45] with EAPI=6.

Every other ebuild did NOT build with updated EAPI, so I guess more work needs to be done with them.

vifino commented 3 years ago

Oh boy, I'll attempt to modernize some of those outdated ebuilds this evening.

Zeroneca commented 3 years ago

@vifino If you report your progress on this here (to prevent duplicate work) I may find the time to help you out a little bit with some of those ebuilds

vifino commented 3 years ago

Sorry, something came up, I've had no time to work on the ebuilds. :(