Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631980 - media-libs/fontconfig-2.12.6 needs to depend on dev-util/gperf
Summary: media-libs/fontconfig-2.12.6 needs to depend on dev-util/gperf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-25 07:53 UTC by Fabian Groffen
Modified: 2017-10-02 07:00 UTC (History)
2 users (show)

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 Fabian Groffen gentoo-dev 2017-09-25 07:53:00 UTC
Without gperf on the system, the build fails like this:

mv -f fcobjshash.h.tmp fcobjshash.h || ( rm -f fcobjshash.h.tmp && false )
/gentoo/prefix64/var/tmp/portage/media-libs/fontconfig-2.12.6/work/fontconfig-2.12.6/missing: line 81: gperf: command not found
WARNING: 'gperf' is missing on your system.
         You might have modified some files without having the proper
         tools for further handling them.  Check the 'README' file, it
         often tells you about the needed prerequisites for installing
         this package.  You may also peek at any GNU archive site, in
         case some other package contains this missing 'gperf' program.
make[2]: *** [Makefile:916: fcobjshash.h] Error 1
make[2]: *** Waiting for unfinished jobs....

With an incompatible version of gperf installed, bugs like #631920 occur (for which the workaround is simple)

fontconfig should depend on gperf, please add this dependency.

Thanks,
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-09-28 15:46:49 UTC
Older ebuilds contain the following line of code in src_prepare:

  export GPERF=$(type -P true)


Can you please check if that would fix your issue as well?
Comment 2 Fabian Groffen gentoo-dev 2017-09-28 18:15:35 UTC
That fixes the issue for me, likely also the gperf-version-mismatch problem.
Comment 3 Fabian Groffen gentoo-dev 2017-10-02 07:00:52 UTC
I've pushed the change, thanks.