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) * java-config: 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"
Created attachment 542134 [details] emerge-info.txt
Created attachment 542136 [details] emerge-history.txt
Created attachment 542138 [details] environment
Created attachment 542140 [details] etc.portage.tbz2
Created attachment 542142 [details] games-strategy:warmux-11.04.1-r1:20180802-090554.log
Created attachment 542144 [details] logs.tbz2
Created attachment 542146 [details] temp.tbz2
I can confirm this error. Building with USE="-unicode" is a workaround. Perhaps the #include should point to fribidi-config.h instead?
looks like this is fribidi issue: https://github.com/fribidi/fribidi/issues/85 ... but no new version, containing the fix, hasn't been released yet :-( this is the corresponding commit: https://github.com/fribidi/fribidi/commit/b534ab2642f694c3106d5bc8d0a8beae60bf60d3 in case Gentoo wants to patch it meanwhile
According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906418#44 Debian has a file called no-config-h.diff that, I think, do the job.
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: https://github.com/fribidi/fribidi/issues/85 Easily backportable fix in VCS repo: https://github.com/fribidi/fribidi/commit/b534ab2642f694c3106d5bc8d0a8beae60bf60d3 TLDR: fribidi shouldn't export config.h usage in its API in the first place.
*** Bug 662962 has been marked as a duplicate of this bug. ***
Version bump of fribidi would close this bug report: #696786
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f628f98e81f5a15a33fd01b6b4e8ee3a8bb34dc commit 6f628f98e81f5a15a33fd01b6b4e8ee3a8bb34dc Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2019-10-13 08:05:40 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2019-10-13 08:23:35 +0000 dev-libs/fribidi: bump to 1.0.7 Closes: https://bugs.gentoo.org/696786 Closes: https://bugs.gentoo.org/662658 Package-Manager: Portage-2.3.69, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> dev-libs/fribidi/Manifest | 1 + dev-libs/fribidi/fribidi-1.0.7.ebuild | 37 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+)