Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776412 - font.eclass: use BDEPEND with EAPI 7
Summary: font.eclass: use BDEPEND with EAPI 7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: 776415
  Show dependency tree
 
Reported: 2021-03-15 18:19 UTC by David Michael
Modified: 2021-03-26 21:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix.patch (0001-font.eclass-use-BDEPEND-with-EAPI-7.patch,1.43 KB, patch)
2021-03-15 18:20 UTC, David Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)