I was experimenting with --root-deps=rdeps to find bad dependencies for sysroot builds, and this package was an issue. It needs its build-time dependencies installed in /. Reproducible: Always Steps to Reproduce: 1. emerge --root-deps=rdeps media-fonts/encodings # configured with a sysroot Actual Results: The configure script fails to find the mkfontscale program. Expected Results: It should work with proper ROOT dependencies. Here is a patch that I tested to fix it, but I realize this is a special-case package, so I might be missing something. The only difference in package contents seems to be from xorg-3.eclass no longer automatically including ChangeLog in docs. --- media-fonts/encodings/encodings-1.0.5.ebuild +++ media-fonts/encodings/encodings-1.0.5.ebuild @@ -1,26 +1,14 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -# font eclass is inherited directly, since this package is a special case that -# would greatly complicate the fonts logic of xorg-2 -inherit font xorg-2 +inherit font xorg-3 DESCRIPTION="X.Org font encodings" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="" -DEPEND="x11-apps/mkfontscale +BDEPEND="x11-apps/mkfontscale >=media-fonts/font-util-1.1.1-r1" - -pkg_postinst() { - xorg-2_pkg_postinst - font_pkg_postinst -} - -pkg_postrm() { - xorg-2_pkg_postrm - font_pkg_postrm -}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06344c1f2aa6bf2e112d764a8d8993b21bccf9af commit 06344c1f2aa6bf2e112d764a8d8993b21bccf9af Author: Henrik Pihl <ahvenas@gmail.com> AuthorDate: 2020-08-01 15:06:24 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-08-06 19:11:02 +0000 media-fonts/encodings: EAPI 5->7 change Closes: https://bugs.gentoo.org/711894 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Henrik Pihl <ahvenas@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16974 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-fonts/encodings/encodings-1.0.5-r1.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+)