Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662962 - media-libs/quesoglc-0.7.2 : /.../fribidi-types.h:31:11: fatal error: config.h: No such file or directory
Summary: media-libs/quesoglc-0.7.2 : /.../fribidi-types.h:31:11: fatal error: config.h...
Status: RESOLVED DUPLICATE of bug 662658
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-06 17:18 UTC by Toralf Förster
Modified: 2019-09-26 20:44 UTC (History)
8 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.80 KB, text/plain)
2018-08-06 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,307.64 KB, text/plain)
2018-08-06 17:18 UTC, Toralf Förster
Details
environment (environment,75.03 KB, text/plain)
2018-08-06 17:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.43 KB, application/x-bzip)
2018-08-06 17:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.19 KB, application/x-bzip)
2018-08-06 17:19 UTC, Toralf Förster
Details
media-libs:quesoglc-0.7.2:20180806-023615.log (media-libs:quesoglc-0.7.2:20180806-023615.log,26.37 KB, text/plain)
2018-08-06 17:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.43 KB, application/x-bzip)
2018-08-06 17:19 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-06 17:18:54 UTC
                 from /usr/include/fribidi/fribidi.h:31,
                 from ../src/unicode.c:28:
/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-no-multilib_20180727-201201

  -------------------------------------------------------------------

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.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv media-libs/quesoglc
[ebuild  N    ] media-libs/quesoglc-0.7.2  USE="-doc -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2018-08-06 17:18:57 UTC
Created attachment 542578 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-06 17:18:59 UTC
Created attachment 542580 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-06 17:19:02 UTC
Created attachment 542582 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-06 17:19:05 UTC
Created attachment 542584 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-06 17:19:08 UTC
Created attachment 542586 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-06 17:19:11 UTC
Created attachment 542588 [details]
media-libs:quesoglc-0.7.2:20180806-023615.log
Comment 7 Toralf Förster gentoo-dev 2018-08-06 17:19:14 UTC
Created attachment 542590 [details]
temp.tbz2
Comment 8 Thomas Capricelli 2018-08-24 13:14:26 UTC
i have the same problem here. unmerge/re-emerge dev-libs/fribidi did NOT solve the problem.
Comment 9 Daniel Rozsnyo 2018-11-20 23:19:21 UTC
I have the same issue. The media-libs/quesoglc-0.7.2 will compile when I comment out the failure causing include in /usr/include/fribidi/fribidi-types.h :


   #ifdef HAVE_CONFIG_H
-- # include <config.h>
++ //# include <config.h>
   #endif

Probably some issue with HAVE_CONFIG_H being defined from outside ?
Comment 10 Nikita Zlobin 2019-05-09 07:25:00 UTC
I'm sure, it is caused by these lines:

src_prepare() {
    rm -rf src/fribidi
}

At least it builds manually, where I don't remove src/fribidi.
This package uses include/qglc_config.h instead if just config.h.
Comment 11 Nick Pershyn 2019-05-16 15:04:54 UTC
Debian had a similar bug(which is solved):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906506

It seems they have a newer version of fribidi.
Comment 12 Nick Pershyn 2019-05-16 15:31:40 UTC
(In reply to Daniel Rozsnyo from comment #9)
> I have the same issue. The media-libs/quesoglc-0.7.2 will compile when I
> comment out the failure causing include in
> /usr/include/fribidi/fribidi-types.h :
> 
> 
>    #ifdef HAVE_CONFIG_H
> -- # include <config.h>
> ++ //# include <config.h>
>    #endif
> 
> Probably some issue with HAVE_CONFIG_H being defined from outside ?

That's odd, since the compile line clearly has that '-DHAVE_CONFIG_H' option:
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../src -D_REENTRANT -DGLEW_MX -pthread -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/freetype2 -pthread -pthread -I/usr/include/fribidi -O2 -pipe -march=native -c ../src/unicode.c  -fPIC -DPIC -o .libs/libGLC_la-unicode.o
Comment 13 Nick Pershyn 2019-05-17 10:46:30 UTC
It solved in the newer version of fribidi. They just commented out that "#include <config.h>" as was suggested in one of the comments above. Seems like quesoglc should depend on the newer version of fribidi, which is not in portage yet.
https://github.com/fribidi/fribidi/issues/85

I encountered the issue when I was doing a complete system rebuild with "emerge -e @world". Both packages were and are installed on the system right now, so I wonder what exactly broke them.
Comment 14 Mihai Moldovan 2019-09-26 07:27:54 UTC
This is a bug in fribidi and also a duplicate of #662658. Please close.
Comment 15 James Le Cuirot gentoo-dev 2019-09-26 20:44:01 UTC

*** This bug has been marked as a duplicate of bug 662658 ***