Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674754 - media-fonts/font-misc-misc-1.1.2-r1 should DEPEND on x11-apps/mkfontdir
Summary: media-fonts/font-misc-misc-1.1.2-r1 should DEPEND on x11-apps/mkfontdir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-07 06:00 UTC by William Throwe
Modified: 2019-03-17 19:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2019-01-07 06:00:22 UTC
checking for directory for misc files... "/usr/share/fonts/misc"
checking for fc-cache... /usr/bin/fc-cache
checking for mkfontdir... no
configure: error: mkfontdir is required to build font-misc-misc.


It currently only RDEPENDS on it.

(I'm guessing this should actually be added in xorg-2.eclass, but I've only tested this one package.)


Full build log:

 * font-misc-misc-1.1.2.tar.bz2 BLAKE2B SHA512 size ;-) ...              [ ok ]
>>> Unpacking source...
>>> Unpacking font-misc-misc-1.1.2.tar.bz2 to /var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work
 * Detected font directory: misc
>>> Source unpacked in /var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work
>>> Preparing source in /var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2 ...
 * Running elibtoolize in: font-misc-misc-1.1.2/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2_build"
 * econf: updating font-misc-misc-1.1.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating font-misc-misc-1.1.2/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --docdir=/usr/share/doc/font-misc-misc-1.1.2-r1 --with-fontdir="/usr/share/fonts/misc"
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking for root directory for font files... /usr/share/fonts
checking for directory for misc files... "/usr/share/fonts/misc"
checking for fc-cache... /usr/bin/fc-cache
checking for mkfontdir... no
configure: error: mkfontdir is required to build font-misc-misc.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2_build/config.log
 * ERROR: media-fonts/font-misc-misc-1.1.2-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 2836:  Called xorg-2_src_configure
 *             environment, line 3782:  Called autotools-utils_src_configure
 *             environment, line  631:  Called econf '--docdir=/usr/share/doc/font-misc-misc-1.1.2-r1' '--with-fontdir="/usr/share/fonts/misc"'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *     die "$@"
 * 
 * If you need support, post the output of `emerge --info '=media-fonts/font-misc-misc-1.1.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-fonts/font-misc-misc-1.1.2-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/media-fonts/font-misc-misc-1.1.2-r1:20190107-053703.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2_build'
 * S: '/var/tmp/portage/media-fonts/font-misc-misc-1.1.2-r1/work/font-misc-misc-1.1.2'
Comment 1 Matt Turner gentoo-dev 2019-01-28 00:52:42 UTC
(In reply to William Throwe from comment #0)
> (I'm guessing this should actually be added in xorg-2.eclass, but I've only
> tested this one package.)

Do you have time to analyze the others as well? I wouldn't want to fix it only in on place if the problem exists elsewhere.
Comment 2 Larry the Git Cow gentoo-dev 2019-03-17 19:20:07 UTC
The bug has been closed via the following commit(s):

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

commit a6599bf1b0a2cabbe748d4220ebc59984fc44e37
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-03-17 19:19:19 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-03-17 19:19:19 +0000

    xorg-2.eclass: Depend on x11-apps/mkfontdir for fonts
    
    Closes: https://bugs.gentoo.org/674754
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 eclass/xorg-2.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)