/var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0/src/x/xglx_config.c: In function ‘create_context_new’: /var/tmp/portage/media-libs/allegro-5.2.4.0/work/allegro-5.2.4.0/src/x/xglx_config.c:495:42: error: ‘glXCreateContextAttribsARB’ undeclared (first use in this function); did you mean ‘_xglx_glXCreateContextAttribsARB’? _xglx_glXCreateContextAttribsARB = glXCreateContextAttribsARB; ^~~~~~~~~~~~~~~~~~~~~~~~~~ _xglx_glXCreateContextAttribsARB ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-systemd_libressl_20181204-170128 ------------------------------------------------------------------- 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) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby24 (with Rubygems) * [3] ruby25 (with Rubygems) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.9.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO media-libs/allegro [ebuild N ] media-libs/allegro-5.2.4.0 USE="X alsa flac gtk jpeg opengl png pulseaudio truetype vorbis -dumb -openal -opus -oss -physfs -test -webp -xinerama" ABI_X86="(64) -32 (-x32)"
Created attachment 557168 [details] emerge-info.txt
Created attachment 557170 [details] emerge-history.txt
Created attachment 557172 [details] environment
Created attachment 557174 [details] etc.portage.tbz2
Created attachment 557176 [details] logs.tbz2
Created attachment 557178 [details] media-libs:allegro-5.2.4.0:20181206-082233.log
Created attachment 557180 [details] temp.tbz2
I get the same error. Trying 5.2.5, it works (compiles, at least). git bisect blames this commit for fixing it: https://github.com/liballeg/allegro5/commit/a40d30e21802ecf5c9382cf34af9b01bd3781e47.patch
Could emerge and seems to work, after saving the patch to /etc/portage/patches/media-libs/allegro-5.2.4.0/
Created attachment 568166 [details, diff] adjusted for 4.4.2 The patch almost applies against 4.4.2-r2, except that the paths are different. 4.4.2: /addons/allegrogl/include/alleggl.h /addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h 5.0.11 and 5.2.4.0: /include/allegro5/allegro_opengl.h /include/allegro5/opengl/GLext/glx_ext_defs.h
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(+)