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

Bug 776412

Summary: font.eclass: use BDEPEND with EAPI 7
Product: Gentoo Linux Reporter: David Michael <fedora.dm0>
Component: EclassesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal CC: x11
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20027
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 776415    
Attachments: fix.patch

Description David Michael 2021-03-15 18:19:46 UTC
The X11 dependencies are used in the native root during src_install.  This requires them to be listed in BDEPEND, or they won't be found when cross-compiling.
Comment 1 David Michael 2021-03-15 18:20:13 UTC
Created attachment 691623 [details, diff]
fix.patch
Comment 2 Larry the Git Cow gentoo-dev 2021-03-26 21:32:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a4b74e3d586f78bfdad802aaf313541f26fb62

commit 60a4b74e3d586f78bfdad802aaf313541f26fb62
Author:     David Michael <fedora.dm0@gmail.com>
AuthorDate: 2021-03-15 18:11:26 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-03-26 21:32:03 +0000

    font.eclass: use BDEPEND with EAPI 7
    
    The mkfontscale program and encodings paths are used in the native
    root during src_install, so they need to be in BDEPEND.
    
    Also stop documenting DOCS as an eclass variable since it is a part
    of EAPI 6 and only used in eutils.eclass for EAPI 5 support.
    
    Closes: https://bugs.gentoo.org/776412
    Signed-off-by: David Michael <fedora.dm0@gmail.com>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/font.eclass | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)