Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 576172

Summary: sys-fs/aufs4-0_pre20160223: eapply_user (or default) must be called in src_prepare()!
Product: Gentoo Linux Reporter: Tianon <admwiggin>
Component: [OLD] UnspecifiedAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal CC: jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tianon 2016-03-01 22:01:02 UTC
Due to the EAPI bump, the sys-fs/aufs4 ebuild currently fails to prepare:

 * ERROR: sys-fs/aufs4-0_pre20160223::gentoo failed (prepare phase):
 *   eapply_user (or default) must be called in src_prepare()!

(The issue is also present in 0_pre20160219.)

I've verified in my local overlay that the following simple patch fixes the issue in both versions:

diff --git a/usr/portage/sys-fs/aufs4/aufs4-0_pre20160223.ebuild b/aufs4-0_pre20160223.ebuild
index 391d3e9..5e2437d 100644
--- a/usr/portage/sys-fs/aufs4/aufs4-0_pre20160223.ebuild
+++ b/aufs4-0_pre20160223.ebuild
@@ -125,6 +125,8 @@ set_config() {
 }
 
 src_prepare() {
+	default
+
 	local module_branch=origin/${PN}.${PATCH_BRANCH}
 
 	einfo "Using for module creation branch ${module_branch}"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-03-02 20:47:40 UTC
commit 6e6da0de5bc66d54e90ddfadf0032ff438fd6b2a
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Mar 2 20:20:38 2016 +0000

    sys-fs/aufs4: Add missing to eapply_user in EAPI=6

    Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=576172

    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e6da0de5bc66d54e90ddfadf0032ff438fd6b2a