Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666996 - media-libs/allegro-5.2.4.0 : /.../allegro_opengl.h:107:10: fatal error: GL/gl.h: No such file or directory
Summary: media-libs/allegro-5.2.4.0 : /.../allegro_opengl.h:107:10: fatal error: GL/gl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-24 17:30 UTC by Toralf Förster
Modified: 2019-05-24 10:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.61 KB, text/plain)
2018-09-24 17:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.27 KB, text/plain)
2018-09-24 17:30 UTC, Toralf Förster
Details
environment (environment,131.35 KB, text/plain)
2018-09-24 17:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.43 KB, application/x-bzip)
2018-09-24 17:30 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.11 KB, application/x-bzip)
2018-09-24 17:30 UTC, Toralf Förster
Details
media-libs:allegro-5.2.4.0:20180924-083706.log (media-libs:allegro-5.2.4.0:20180924-083706.log,57.85 KB, text/plain)
2018-09-24 17:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.34 KB, application/x-bzip)
2018-09-24 17:30 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-09-24 17:30:06 UTC
cd /var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0-abi_x86_64.amd64/addons/primitives && /usr/bin/x86_64-pc-linux-gnu-gcc -Dallegro_primitives_EXPORTS -I/var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0/include -I/var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0-abi_x86_64.amd64/include   -DNDEBUG -O2 -pipe -march=native -msse -W -Wall -Wpointer-arith -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -fPIC   -DALLEGRO_PRIMITIVES_SRC  -DALLEGRO_LIB_BUILD -o CMakeFiles/allegro_primitives.dir/prim_opengl.c.o -c /var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0/addons/primitives/prim_opengl.c
In file included from /var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0/addons/primitives/prim_opengl.c:23:
/var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0/include/allegro5/allegro_opengl.h:107:10: fatal error: GL/gl.h: No such file or directory
 #include <GL/gl.h>
          ^~~~~~~~~
compilation terminated.

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)




emerge -qpv media-libs/allegro
[ebuild  N    ] media-libs/allegro-5.2.4.0  USE="vorbis -X -alsa -dumb -flac -gtk -jpeg -openal -opengl -opus -oss -physfs -png -pulseaudio -test -truetype -webp -xinerama" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-09-24 17:30:09 UTC
Created attachment 547780 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-09-24 17:30:12 UTC
Created attachment 547782 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-09-24 17:30:15 UTC
Created attachment 547784 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-09-24 17:30:18 UTC
Created attachment 547786 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-09-24 17:30:22 UTC
Created attachment 547788 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-09-24 17:30:25 UTC
Created attachment 547790 [details]
media-libs:allegro-5.2.4.0:20180924-083706.log
Comment 7 Toralf Förster gentoo-dev 2018-09-24 17:30:28 UTC
Created attachment 547792 [details]
temp.tbz2
Comment 8 Stefan Strogin gentoo-dev 2019-05-24 09:41:32 UTC
Seems "-DWANT_PRIMITIVES=$(usex opengl)" solves the problem.
Comment 9 Larry the Git Cow gentoo-dev 2019-05-24 10:08:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81cf1a0cfd9db6aee35b2a6a3d2e973d1d87dda2

commit 81cf1a0cfd9db6aee35b2a6a3d2e973d1d87dda2
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2019-05-24 07:46:40 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2019-05-24 10:08:00 +0000

    media-libs/allegro: bump version to 5.2.5.0
    
    Closes: https://bugs.gentoo.org/666996
    Closes: https://bugs.gentoo.org/672634
    Closes: https://bugs.gentoo.org/678002
    Closes: https://bugs.gentoo.org/684808
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 media-libs/allegro/Manifest               |  1 +
 media-libs/allegro/allegro-5.2.5.0.ebuild | 88 +++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)