Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 491678

Summary: Multiple ebuilds failing, "error: unknown type name ‘GLXContextID’"
Product: Gentoo Linux Reporter: brent <brent.saner>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description brent 2013-11-19 16:11:42 UTC
Currently when trying to build the following:

[ebuild     U  ] games-fps/warsow-1.03 [1.02-r1] USE="angelscript irc server -debug -dedicated -openal" 0 kB
[ebuild  r  U  ] x11-base/xorg-server-1.14.4:0/1.14.4 [1.14.3-r2:0/1.14.3] USE="dmx ipv6 nptl suid udev xnest xorg -doc -kdrive -minimal (-selinux) -static-libs -tslib -xvfb" 0 kB
[ebuild  rR    ] x11-drivers/xf86-input-evdev-2.8.2  0 kB
[ebuild  rR    ] x11-drivers/xf86-input-mouse-1.9.0  0 kB
[ebuild  rR    ] x11-drivers/xf86-input-keyboard-1.7.0  0 kB
[ebuild  rR    ] x11-drivers/xf86-input-synaptics-1.7.1  0 kB
[ebuild  rR    ] x11-drivers/xf86-video-nouveau-1.0.10  0 kB
[ebuild  rR    ] x11-drivers/xf86-video-fbdev-0.4.4  0 kB
[ebuild  rR    ] x11-drivers/xf86-video-vesa-2.3.3  0 kB
[ebuild     U  ] mail-client/thunderbird-24.1.0-r2 [24.1.0-r1] USE="alsa crypt dbus gstreamer jit ldap libnotify lightning minimal pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -mozdom (-selinux) -system-cairo -system-icu -system-jpeg -system-sqlite -wifi" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW" 0 kB
[ebuild     U  ] www-client/firefox-25.0.1 [25.0-r1] USE="alsa dbus gstreamer jit libnotify minimal pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug (-pgo) (-selinux) -system-cairo -system-icu -system-jpeg -system-sqlite -wifi" LINGUAS="-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 0 kB
[ebuild   R    ] x11-apps/mesa-progs-8.1.0  USE="-egl -gles1 -gles2" 0 kB
etc.

(and possibly also:
[ebuild     U  ] gnome-base/gnome-session-3.8.4-r1 [3.8.4] USE="ipv6 systemd -debug -doc -gconf" 0 kB
[ebuild     U  ] gnome-base/gnome-control-center-3.8.6:2 [3.8.5-r1:2] USE="bluetooth colord cups gnome-online-accounts i18n kerberos socialweb v4l -debug -modemmanager" INPUT_DEVICES="-wacom" 0 kB)

The following error(s) occur:


In file included from /usr/include/GL/glx.h:332:0,
                 from unix/x11.h:11,
                 from unix/unix_input.c:28:
/usr/include/GL/glxext.h:682:24: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/include/GL/glxext.h:683:67: error: unknown type name ‘GLXContextID’
x86_64-pc-linux-gnu-gcc -I. -I/usr/local/include -I/usr/X11R6/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wno-unused-function -fvisibility=hidden -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG -O2 -pipe -c unix/unix_qgl.c -o buildx86_64/client/unix_qgl.o 
make: *** [buildx86_64/client/unix_input.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/GL/glx.h:332:0,
                 from unix/x11.h:11,
                 from unix/unix_qgl.c:51:
/usr/include/GL/glxext.h:682:24: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/include/GL/glxext.h:683:67: error: unknown type name ‘GLXContextID’
make: *** [buildx86_64/client/unix_qgl.o] Error 1


Reproducible: Always

Steps to Reproduce:
1. Try to build the above packages.
Actual Results:  
The thing happens.

Expected Results:  
The thing doesn't happen.

build.log available for any of the above if so desired.

This seems to be related to http://eab.abime.net/showthread.php?t=71416
Specifically, http://www.mail-archive.com/mesa-commit@lists.freedesktop.org/msg43825.html


emerge --info:

Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.12.0-gentoo x86_64)
=================================================================
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32881880 total,  18857260 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 19 Nov 2013 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.5-r4, 3.1.5-r1, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.22-r1, 2.22.90, 2.23, 2.23.1, 2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.6.4, 4.7.2-r1, 4.7.3-r1, 4.8.1-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise games steam-overlay gamerlay stuff sabayon x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://gentoo.osuosl.org/ ftp://mirror.datapipe.net/gentoo http://mirror.the-best-hosting.net"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/games /var/lib/layman/steam /var/lib/layman/gamerlay /var/lib/layman/stuff /var/lib/layman/sabayon /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi akamaru alsa amd64 animgif ao applet ares async asyncns atmo audit automount avahi banshee bash-completion berkdb bidi bluetooth bonjour bookmarks branding bzip2 cairo caps cdda cddax cddb cdinstall cdio cdr cli colordiff cpulimit cracklib crypt css cuda cups curl cxx dbus dc1394 device-mapper dga dirac directfb disk-partition diskio djvu doom doom1 doom2 doomsday double-precision dri dts dv dvb dvd dvdr dvdread eds elf emboss emerald empathy encode esd evo exif extensible extra-tools extras faac faad fam fbcon fbcondecor festival ffmpeg firefox flac flash fluidsynth fontconfig freetts fuse gajim games gcrypt gdbm gedit ggi gif gimp glitz gnome gnome-keyring gnomecd gnutls gpg gphoto2 gpm gsm gstreamer gtk h323 hdaps hddtemp heretic hexen howl-compat html httpd iconv icu id3tag idn ieee1394 imagemagick imap introspection ipc ipod iproute2 ipv6 irda jack java jpeg jpeg2k kerberos krb5 kvm lame lcms ldap libass libcaca libnotify libsamplerate libssh2 libsysfs libv4l2 libwww live lm_sensors loop-aes lua lzo mad maps matroska mbrola mdnsresponder-compat mfd-rewrites mikmod mmap mmx mng modplug modules mono motif mp3 mp4 mpeg mudflap multilib multislot mumble musepack nautilus ncurses network nls nntp nptl nsplugin nss nvidia offensive ogg openexr opengl openmp openssl openstreetmap optimisememory overlays pam pango pcap pcapnav pcre pda pdf php pic pidgin plutonia png policykit ppds pulseaudio pvr qt3 qt3support qt4 quicktime quotas radius raster raw rawio readline remoteosd rtsp samba sasl scanner schroedinger scripting sdl sdl-image seamonkey session shout sip skey skins smbkrb5passwd smp smux socks5 sounds speex spell sse sse2 ssl startup-notification stream svg syslog systemd taglib tcpd theora threads tiff timezone tk tnt tools tpctlir truetype twolame udev udisks unicode upnp upower usb utils v4l v4l2 vala vcdinfo vcdx vde videos vim-pager vim-syntax vim-with-x vlm voice vorbis webkit wicd win32codecs winbind wmf wxwidgets x264 xattr xext xinerama xinetd xml xosd xpm xulrunner xv xvid xvmc zeroconf zlib zsh-completion zvbi" ABI_X86="64 32" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="directory enigma13 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="biosdevname bootchart btrfs caps cifs crypt crypt-gpg crypt-loop dmraid dmsquash-live iscsi livenet lvm mdraid nbd nfs ssh-client syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition cache_purge fancyindex flv gunzip headers_more image_filter lua metrics mp4 naxsi perl push random_index realip secure_link spdy stub_status sub upload_progress upstream_check xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_1 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="apple canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net epjitsu epson epson2 fujitsu genesys hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p ibm kodak lexmark magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 16:12:58 UTC

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