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

Bug 662658

Summary: games-strategy/warmux-11.04.1-r1 : /.../fribidi-types.h:31:11: fatal error: config.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Severity: normal CC: fcoiffie, tuupic
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2018-08-02 16:14:19 UTC
                 from /usr/include/fribidi/fribidi.h:31,
                 from ./base/i18n.cpp:31:
/usr/include/fribidi/fribidi-types.h:31:11: fatal error: config.h: No such file or directory
 # include <config.h>
compilation terminated.


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_20180727-195601


gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv games-strategy/warmux
[ebuild  N    ] games-strategy/warmux-11.04.1-r1  USE="nls unicode -debug"
Comment 1 Toralf Förster gentoo-dev 2018-08-02 16:14:22 UTC
Created attachment 542134 [details]
Comment 2 Toralf Förster gentoo-dev 2018-08-02 16:14:25 UTC
Created attachment 542136 [details]
Comment 3 Toralf Förster gentoo-dev 2018-08-02 16:14:28 UTC
Created attachment 542138 [details]
Comment 4 Toralf Förster gentoo-dev 2018-08-02 16:14:31 UTC
Created attachment 542140 [details]
Comment 5 Toralf Förster gentoo-dev 2018-08-02 16:14:34 UTC
Created attachment 542142 [details]
Comment 6 Toralf Förster gentoo-dev 2018-08-02 16:14:37 UTC
Created attachment 542144 [details]
Comment 7 Toralf Förster gentoo-dev 2018-08-02 16:14:40 UTC
Created attachment 542146 [details]
Comment 8 Martin Doucha 2018-12-14 14:56:31 UTC
I can confirm this error. Building with USE="-unicode" is a workaround. Perhaps the #include should point to fribidi-config.h instead?
Comment 9 kavol 2019-03-15 13:05:35 UTC
looks like this is fribidi issue:

... but no new version, containing the fix, hasn't been released yet :-(

this is the corresponding commit:

in case Gentoo wants to patch it meanwhile
Comment 10 Fernando B. Nascimento 2019-03-30 05:49:38 UTC
According to Debian has a file called no-config-h.diff that, I think, do the job.
Comment 11 Mihai Moldovan 2019-09-26 07:31:02 UTC
Known and fixed (for more than a year; though fribidi hasn't seen a new release version with that fix) bug in fribidi.

Issue report:

Easily backportable fix in VCS repo:

TLDR: fribidi shouldn't export config.h usage in its API in the first place.
Comment 12 James Le Cuirot gentoo-dev 2019-09-26 20:44:01 UTC
*** Bug 662962 has been marked as a duplicate of this bug. ***
Comment 13 Samuel Bauer 2019-10-10 20:21:44 UTC
Version bump of fribidi would close this bug report:
Comment 14 Larry the Git Cow gentoo-dev 2019-10-13 08:24:44 UTC
The bug has been closed via the following commit(s):

commit 6f628f98e81f5a15a33fd01b6b4e8ee3a8bb34dc
Author:     Mart Raudsepp <>
AuthorDate: 2019-10-13 08:05:40 +0000
Commit:     Mart Raudsepp <>
CommitDate: 2019-10-13 08:23:35 +0000

    dev-libs/fribidi: bump to 1.0.7
    Package-Manager: Portage-2.3.69, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <>

 dev-libs/fribidi/Manifest             |  1 +
 dev-libs/fribidi/fribidi-1.0.7.ebuild | 37 +++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)