Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662658 - games-strategy/warmux-11.04.1-r1 : /.../fribidi-types.h:31:11: fatal error: config.h: No such file or directory
Summary: games-strategy/warmux-11.04.1-r1 : /.../fribidi-types.h:31:11: fatal error: c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
: 662962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-02 16:14 UTC by Toralf Förster
Modified: 2019-10-13 08:24 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2018-08-02 16:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.83 KB, text/plain)
2018-08-02 16:14 UTC, Toralf Förster
Details
environment (environment,88.96 KB, text/plain)
2018-08-02 16:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.33 KB, application/x-bzip)
2018-08-02 16:14 UTC, Toralf Förster
Details
games-strategy:warmux-11.04.1-r1:20180802-090554.log (games-strategy:warmux-11.04.1-r1:20180802-090554.log,12.45 KB, text/plain)
2018-08-02 16:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.53 KB, application/x-bzip)
2018-08-02 16:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.50 KB, application/x-bzip)
2018-08-02 16:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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) *
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"
Comment 1 Toralf Förster gentoo-dev 2018-08-02 16:14:22 UTC
Created attachment 542134 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-02 16:14:25 UTC
Created attachment 542136 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-02 16:14:28 UTC
Created attachment 542138 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-02 16:14:31 UTC
Created attachment 542140 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-02 16:14:34 UTC
Created attachment 542142 [details]
games-strategy:warmux-11.04.1-r1:20180802-090554.log
Comment 6 Toralf Förster gentoo-dev 2018-08-02 16:14:37 UTC
Created attachment 542144 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-02 16:14:40 UTC
Created attachment 542146 [details]
temp.tbz2
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:

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
Comment 10 Fernando B. Nascimento 2019-03-30 05:49:38 UTC
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.
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: 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.
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:
#696786
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):

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(+)