Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672858 - media-libs/allegro-4.4.2-r1 - .../work/allegro-4.4.2/addons/allegrogl/src/x.c:653:55: error: ‘GLX_RGBA_FLOAT_BIT’ undeclared
Summary: media-libs/allegro-4.4.2-r1 - .../work/allegro-4.4.2/addons/allegrogl/src/x.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
Depends on:
Blocks:
 
Reported: 2018-12-10 05:49 UTC by Christopher Head
Modified: 2019-09-30 21:34 UTC (History)
10 users (show)

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


Attachments
build log (build.log,139.86 KB, application/octet-stream)
2019-01-07 10:03 UTC, Xavier Miller (RETIRED)
Details
allegro_GLX_RGBA_FLOAT_BIT_fix.patch (allegro_GLX_RGBA_FLOAT_BIT_fix.patch,700 bytes, patch)
2019-01-27 19:41 UTC, Pablo Yanez Trujillo
Details | Diff
patch (allegro_GLX_RGBA_FLOAT_BIT_fix.patch,701 bytes, patch)
2019-01-30 03:27 UTC, Bill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Head 2018-12-10 05:49:06 UTC
Here’s the error:

/tmp/portage/media-libs/allegro-4.4.2-r1/work/allegro-4.4.2/addons/allegrogl/src/x.c: In function ‘decode_fbconfig’:
/tmp/portage/media-libs/allegro-4.4.2-r1/work/allegro-4.4.2/addons/allegrogl/src/x.c:653:55: error: ‘GLX_RGBA_FLOAT_BIT’ undeclared (first use in this function); did you mean ‘GLX_RGBA_FLOAT_BIT_ARB’?
  if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT)) {
                                                       ^~~~~~~~~~~~~~~~~~
                                                       GLX_RGBA_FLOAT_BIT_ARB
Comment 1 Christopher Head 2018-12-10 05:49:23 UTC
$ emerge --info media-libs/allegro
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    16414020 total,    439120 free
KiB Swap:   12362176 total,  12362176 free
Head commit of repository steam-overlay: f8ff6ae3cb2cec7f98becb6ed40a27f5bbe9fd31

Timestamp of repository gentoo: Sat, 08 Dec 2018 19:04:42 +0000
Head commit of repository gentoo: 79aa6b106bfc0d763bc29ad570dee0bfa562788a

[irrelevant overlay elided]

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

steam-overlay
    location: /var/cache/repos/steam
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 1

gentoo
    location: /var/cache/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    sync-user: chead
    priority: 3
    sync-git-verify-commit-signature: true

[irrelevant overlays elided]

Installed sets: @admin, @android, @datacenter, @desktop, @dev, @emulation, @fonts, @games, @lisp, @magicalgame, @media, @net, @office, @vim, @web
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 4 --load-average 8 --with-bdeps y --complete-graph y -1"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles http://gentoo.osuosl.org/"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_CA"
MAKEOPTS="--jobs 4 --load-average 8"
PKGDIR="/var/cache/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 bzip2 cairo caps cli cxx dbus dri ffmpeg flac fontconfig fortran gtk iconv icu idn ipv6 joystick libnotify libsamplerate libtirpc multilib ncurses nls nptl ogg opengl openmp opus pam pcre readline seccomp ssl startup-notification svg theora threads truetype udev unicode vaapi vdpau vim-syntax vorbis xattr xinerama xscreensaver xv xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="logout menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-libs/allegro-4.4.2-r1::gentoo was built with the following:
USE="X alsa opengl vorbis -fbcon -jack -jpeg -oss -png (-svga) -test -vga" ABI_X86="(64)"
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2019-01-07 09:58:59 UTC
hi, 

same error with media-libs/allegro-4.4.2-r2, while  -r1 compiled fine:

[ 53%] Building C object addons/allegrogl/CMakeFiles/allegrogl.dir/src/x.c.o
cd /var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl && /usr/bin/x86_64-pc-linux-gnu-gcc -Dallegrogl_EXPORTS -I/var/tmp/
portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/include -I/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/inclu
de -isystem /usr/include/alsa   -DNDEBUG -O2 -pipe -fomit-frame-pointer -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -msse4.1 -mfxsr --
param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2 -W -Wall -Wno-unused-parameter -Wdeclaration-after-stateme
nt -fPIC   -DALLEGRO_GL_SRC_BUILD -o CMakeFiles/allegrogl.dir/src/x.c.o -c /var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/alleg
rogl/src/x.c
/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/src/x.c: In function ‘decode_fbconfig’:
/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/src/x.c:653:55: error: ‘GLX_RGBA_FLOAT_BIT’ undeclared (first use in this function); did you mean ‘GLX_RGBA_FLOAT_BIT_ARB’?
  if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT)) {
                                                       ^~~~~~~~~~~~~~~~~~
                                                       GLX_RGBA_FLOAT_BIT_ARB
/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/src/x.c:653:55: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/src/x.c: In function ‘allegro_gl_x_vsync’:
/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/src/x.c:1607:3: warning: implicit declaration of function ‘glXGetVideoSyncSGI’ [-Wimplicit-function-declaration]
   glXGetVideoSyncSGI(&count);
   ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2/addons/allegrogl/src/x.c:1608:3: warning: implicit declaration of function ‘glXWaitVideoSyncSGI’ [-Wimplicit-function-declaration]
   glXWaitVideoSyncSGI(2, (count+1) & 1, &count);
   ^~~~~~~~~~~~~~~~~~~
make[2]: *** [addons/allegrogl/CMakeFiles/allegrogl.dir/build.make:193: addons/allegrogl/CMakeFiles/allegrogl.dir/src/x.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2'
make[1]: *** [CMakeFiles/Makefile2:239: addons/allegrogl/CMakeFiles/allegrogl.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/allegro-4.4.2-r2/work/allegro-4.4.2'
make: *** [Makefile:130: all] Error 2
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2019-01-07 10:00:33 UTC
emerge --info '=media-libs/allegro-4.4.2-r2::gentoo'
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.6
KiB Mem:     3970908 total,   2218176 free
KiB Swap:    4194300 total,   4194300 free
Head commit of repository gentoo: 702bfe266bdd300e9c1a31fed6a56f0555d17a3a

Head commit of repository local: f979a43fd4153e8f501f91b41686fcafdee9b9cb

sh bash 4.4_p23
ld GNU gold (Gentoo 2.31.1 p5 2.31.1) 1.16
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.13.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r4::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

local
    location: /usr/local/portage
    sync-type: git
    sync-uri: /data/nas/xavier/git_repos/local_overlay.git/
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -msse4.1 -mfxsr --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core2"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr fr_FR fr_BE nl nl_BE nl_NL"
MAKEOPTS="-j5 -l3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 apng branding bzip2 cairo cdda cli crossdev crypt css cups cxx dbus dlna dri dts dvd exif flac gif glamor gpm gtk gudev iconv imagemagick jpeg lcms libcanberra libinput libnotify libtirpc mad mmx mng mp3 mpeg ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf png printsupport python3 qt5 readline sane scanner sdl seccomp sna sndfile snmp spell sqlite sse sse2 ssl startup-notification svg symlink tcpd tiff truetype udev unicode upnp usb vorbis wmf x264 xattr xcb xinerama xkb xml xosd xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse libinput" KERNEL="linux" L10N="fr nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm i386" QEMU_USER_TARGETS="arm i386" RUBY_TARGETS="ruby25" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Xavier Miller (RETIRED) gentoo-dev 2019-01-07 10:03:21 UTC
Created attachment 560174 [details]
build log
Comment 5 Lee Trager 2019-01-22 17:47:38 UTC
Same here

Portage 2.3.57 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.2.0, glibc-2.28-r5, 4.20.3-gentoo x86_64)
=================================================================
System uname: Linux-4.20.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    16396468 total,   2405692 free
KiB Swap:   15624188 total,  15334956 free
Timestamp of repository gentoo: Tue, 22 Jan 2019 17:00:01 +0000
Head commit of repository gentoo: c8fcac400708dbe252ac8c710ca702dde49ba290
sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p2::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.13.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Google-TOS google-chrome NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -pipe -march=native"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/mnt/disk/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aim alsa amd64 apm apng applet autoipd avahi avx avx2 bash-completion bashcompletion berkdb bluetooth bluray branding btrfs bzip2 cairo call caps cdda cddb cli clutter colord crypt cuda cups cxx daap dbus dconf device-mapper dga dhcpcd dirac djvu dri dts dv dvb dvd dvdnav dvdr eds efi egl emacs emboss encode espeak evo exif faac faad fam fat ffmpeg firefox flac fluidsynth fontconfig foomaticdb fortran ftp fuse g3dvl gconf gcrypt gd gdbm gdu geoip gif gimp glade glamor glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtk3 gtkspell gudev gui guile gzip gzip-el hddtemp hpijs http hwaccel hwdb iconv id3tag idn ieee1394 imagemagick imap imlib introspection ipv6 irc jabber java java6 javascript jingle jit joystick jpeg jpeg2k kate kerberos kms kqemu kvm lame latex lcms ldap libass libnotify libsecret libtiger libtirpc libv4l libv4l2 live lm_sensors lxc lzma lzo mad matroksa md5sum mdnsresponder-compat midi mikmod mime minizip mmap mmx mmxext mng mod modemmanager mozilla mp3 mp4 mpeg mpeg123 mplayer mtp multilib musepack native-headset nautilus ncat ncurses ndiff netapi network networking networkmanager nfs nls nmap-update nntp nocd nping nptl nsplugin numa offensive office ofono-headset ogg openal opencl openexr opengl openmp openssl openvg opus oscar osdmenu pam pango parted pcap pcre pcre16 pcre32 pdf pdfimport perl pgo playlist png policykit posix postproc ppds ppp prediction pulseaudio python qemu qt qt4 qt5 quicktime quvi rar raw readline real realtime rtc rtmp rtsp s3tc samba scanner schroedinger script sdl sdl-image sdl2 seamonkey seccomp shine smbclient smp snmp sound sox speex spell spice sqlite ss34_2 sse sse2 sse3 sse4 sse4_1 ssh ssl ssse3 startup-notification stream subversion svg syslog systemd tcpd telepathy templates theora threads tiff toolkit-scroll-bars tracker transcode truetype twopack udev udisks uefi uefi_labels uml unicode unlock-notify upnp upnp-av upower usb usbredir utp uvm v4l v4l2 vaapi vala vdpau videos vim-syntax virgl virt-network virtfs vlc vorbis vpx vte wav wavpack webkit webm webp wireshark-plugins wmf wxwidgets x264 x265 xattr xcb xcomposite xft xml xosd xpm xscreensaver xv xvfb xvid xvmc youtube zenmap zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev mouse keyboard joystick libinput" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer nlpsolver wiki-publisher" LLVM_TARGETS="X86 BPF NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Pablo Yanez Trujillo 2019-01-27 19:41:06 UTC
I can confirm that, had the same problem.

Changing GLX_RGBA_FLOAT_BIT to GLX_RGBA_FLOAT_BIT_ARB in addons/allegrogl/src/x.c seems to fix it.

# emerge --info '=media-libs/allegro-4.4.2-r2::gentoo'
Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    16298108 total,   8276292 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sun, 27 Jan 2019 17:00:01 +0000
Head commit of repository gentoo: d205485ce4d780391775ba99b65bafa7832dcb4a
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles keepwork merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB ja"
MAKEOPTS="-j9"
PKGDIR="/export/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli crypt cups cxx dbus directfb dri dts dvd dvdr elogind emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp spell sqlite ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vim-pager vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en_GB ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Pablo Yanez Trujillo 2019-01-27 19:41:47 UTC
Created attachment 563012 [details, diff]
allegro_GLX_RGBA_FLOAT_BIT_fix.patch
Comment 8 Bill 2019-01-30 03:27:59 UTC
Created attachment 563256 [details, diff]
patch

I had to change the path file slightly and then place it in a folder named /etc/portage/patches/media-libs/allegro-4.4.2-2
Comment 9 farmboy0 2019-02-04 22:19:04 UTC
Happens with -r2 as well.
Comment 10 Gerry Gauthier 2019-03-04 22:21:13 UTC
hi, 

same error with media-libs/allegro-4.4.2-r2, while  -r1 compiled fine:
emerge --info '=media-libs/allegro-4.4.2-r2::gentoo'
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-8.2.0, glibc-2.27-r6, 4.19.23-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.23-gentoo-x86_64-AMD_A10-5750M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.6
KiB Mem:     7323172 total,    146260 free
KiB Swap:    4194300 total,   4193524 free
Timestamp of repository gentoo: Thu, 28 Feb 2019 20:00:01 +0000
Head commit of repository gentoo: 4b211c07382b00b2f639d9c58bf7b3283d74a012
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

brother-overlay
    location: /var/lib/layman/brother-overlay
    masters: gentoo
    priority: 50

chaos
    location: /var/lib/layman/chaos
    masters: gentoo
    priority: 50

foxiverlay
    location: /var/lib/layman/foxiverlay
    masters: gentoo
    priority: 50

mv
    location: /var/lib/layman/mv
    masters: gentoo
    priority: 50

rage
    location: /var/lib/layman/rage
    masters: gentoo
    priority: 50

rasdark
    location: /var/lib/layman/rasdark
    masters: gentoo
    priority: 50

ring-overlay
    location: /var/lib/layman/ring-overlay
    masters: gentoo
    priority: 50

salfter
    location: /var/lib/layman/salfter
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config/kdm /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LANG="fr_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib accessibility acl acpi aiglx aim alsa amd64 artswrappersuid artworkextra audiofile avahi avi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection crypt css cups cxx dbus dga djvu dri dts dv dvb dvd dvdr dvdread dvi dxr3 emacs emboss encode exif extensions extras fam fame fat fdk ffmpeg firefox flac foomatic-db fortran freetype fuse galago gcj gdbm gdu gif gimpprint git glamor gmp gmplayer gnutls gphoto2 gpm gsm gstreamer gtk gtk3 hal hfs iconv icq ieee1394 imagemagick imap inotify introspection iphone iplayer ipod ipv6 irc irda jabber jack java jfs joystick jpeg jpeg2k kdeenablefinal kdehiddenvisibility kdrive kerberos lame lcd lcms ldap legacy-systray libnotify libtirpc libv4l libv4l2 lirc live lm_sensors lzma lzo mad mail matroska mdnsresponder-compat midi mjpeg mmx mng modplug mozdevelop mp3 mp3rtp mp4 mpeg msn multilib musepack musicbrainz mysql mythtv ncurses network networkmanager nls nptl nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf png podcast policykit ppds profile pulseaudio qt3support qt4 qt5 quicktime radio rar raw rdesktop readline real reiserfs rss samba scanner sdl seccomp sensors sip skins slp speex spell sqlite ssl ssse3 startup-notification stream subversion svg sysfs tcpd theora tiff truetype udev udisks unicode upower usb userlocales v4l v4l2 vaapi vdpau vdr visualization vorbis wav wifi win32codecs wma-fixed wmf wxwidgets x264 x265 xattr xcb xfs xine xinerama xml xpm xprint xrandr xulrunner xv xvid xvmc yahoo youtube zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 sse4_1 sse4a sse4_2 fma4 3dnow 3dnowprefetch mmxext avx" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="default" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv '=media-libs/allegro-4.4.2-r2::gentoo'

[ebuild     U ] media-libs/allegro-4.4.2-r2 [4.4.2-r1] USE="X alsa jack jpeg opengl png vorbis -fbcon -oss (-svga) -test -vga"
Comment 11 Ilja ”Zucca” Sara 2019-03-19 23:58:57 UTC
(In reply to Bill from comment #8)
> Created attachment 563256 [details, diff] [details, diff]
> patch
> 
> I had to change the path file slightly and then place it in a folder named
> /etc/portage/patches/media-libs/allegro-4.4.2-2

This worked for me, although I used /etc/portage/patches/media-libs/allegro-4.4.2-r2 -directory.

(I guess it was a typo)
Comment 12 Gerry Gauthier 2019-03-20 01:20:41 UTC
(In reply to Ilja ”Zucca” Sara from comment #11)
> (In reply to Bill from comment #8)
> > Created attachment 563256 [details, diff] [details, diff] [details, diff]
> > patch
> > 
> > I had to change the path file slightly and then place it in a folder named
> > /etc/portage/patches/media-libs/allegro-4.4.2-2
> 
> This worked for me, although I used
> /etc/portage/patches/media-libs/allegro-4.4.2-r2 -directory.
> 
> (I guess it was a typo)

I can confirm it work for me to

 mkdir -p /etc/portage/patches/media-libs/allegro-4.4.2-r2
 cd /etc/portage/patches/media-libs/allegro-4.4.2-r2
 
 and just put the  allegro_GLX_RGBA_FLOAT_BIT_fix.patch
Comment 13 Larry Pyeatt 2019-03-21 18:57:17 UTC
I had the same problem.  Gerry Gauthier's post fixed it.
Comment 14 Larry the Git Cow gentoo-dev 2019-09-30 21:34:06 UTC
The bug has been closed via the following commit(s):

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

commit cb16966c9885f4a3f8a9f257dc890853bd1e46de
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-09-30 21:00:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-09-30 21:33:46 +0000

    media-libs/allegro: Patch around GLX_RGBA_FLOAT_BIT issue in 4.4.2
    
    Thanks to Pablo Yanez Trujillo for the patch.
    
    Closes: https://bugs.gentoo.org/672858
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-libs/allegro/allegro-4.4.2-r2.ebuild           |  1 +
 .../files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch     | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)