With the move from EAPI=4 to EAPI=7 =net-wireless/wireless-tools-30_pre9 fails to emerge: * ERROR: net-wireless/wireless-tools-30_pre9::gentoo failed (prepare phase): * eapply_user (or default) must be called in src_prepare()! Adding a 'default' entry to the src_prepare function fixes things. Reproducible: Always
Created attachment 601512 [details, diff] wireless-tools-30_pre9 EAPI=7 patch Trivial patch
(In reply to Adrian Bassett from comment #0) > With the move from EAPI=4 to EAPI=7 =net-wireless/wireless-tools-30_pre9 > fails to emerge: > > * ERROR: net-wireless/wireless-tools-30_pre9::gentoo failed (prepare phase): > * eapply_user (or default) must be called in src_prepare()! > > Adding a 'default' entry to the src_prepare function fixes things. > > Reproducible: Always So, I did a bit more digging and found as a result of a 'git checkout' of the ebuild from the portage tree that EAPI is now set to 4. I don't know where the EAPI=7 came from which caused the problem. (I haven't edited the ebuild locally and, indeed, only looked at it when it failed as part of a general re-building of packages that hadn't been emerged with gcc-9.x). Curious.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04704f9d6dc577876b5fcafd39bf7a0150b3372c commit 04704f9d6dc577876b5fcafd39bf7a0150b3372c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-03-22 08:48:22 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-03-22 08:48:37 +0000 net-wireless/wireless-tools: update to EAPI=7 Reported-by: Adrian Bassett Closes: https://bugs.gentoo.org/704068 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> .../wireless-tools-30_pre9-r1.ebuild | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+)