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)"
Created attachment 547780 [details] emerge-info.txt
Created attachment 547782 [details] emerge-history.txt
Created attachment 547784 [details] environment
Created attachment 547786 [details] etc.portage.tbz2
Created attachment 547788 [details] logs.tbz2
Created attachment 547790 [details] media-libs:allegro-5.2.4.0:20180924-083706.log
Created attachment 547792 [details] temp.tbz2
Seems "-DWANT_PRIMITIVES=$(usex opengl)" solves the problem.
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(+)