Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236958 - x11-base/xorg-server-1.5.0 fails to build, glapitable.h expected declaration specifiers GLint64EXT
Summary: x11-base/xorg-server-1.5.0 fails to build, glapitable.h expected declaration ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 236962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-07 13:06 UTC by Dennis Nowa
Modified: 2009-10-09 10:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Nowa 2008-09-07 13:06:43 UTC
x11-base/xorg-server-1.5.0 fails to build

Reproducible: Always

Steps to Reproduce:
1. emerge x11-base/xorg-server



i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -DGLX_USE_TLS -DPTHREADS -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT indirect_dispatch_swap.lo -MD -MP -MF .deps/indirect_dispatch_swap.Tpo -c indirect_dispatch_swap.c  -fPIC -DPIC -o .libs/indirect_dispatch_swap.o
In file included from indirect_dispatch_swap.c:40:
glapitable.h:812: Fehler: expected declaration specifiers or »...« before »GLint64EXT«
glapitable.h:813: Fehler: expected declaration specifiers or »...« before »GLuint64EXT«
In file included from indirect_dispatch.c:40:
glapitable.h:812: Fehler: expected declaration specifiers or »...« before »GLint64EXT«
glapitable.h:813: Fehler: expected declaration specifiers or »...« before »GLuint64EXT«
make[1]: *** [indirect_dispatch_swap.lo] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [indirect_dispatch.lo] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.0/work/xorg-server-1.5.0/glx'
make: *** [all-recursive] Fehler 1
 * 
 * ERROR: x11-base/xorg-server-1.5.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3122:  Called x-modular_src_compile
 *             environment, line 3936:  Called x-modular_src_make
 *             environment, line 3972:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed


Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo i686)
=================================================================
System uname: 2.6.26-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Sun, 07 Sep 2008 11:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="intel8x0"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
CAMERAS="canon fuji stv0680"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-3IX8sJMMu2,guid=3fa7ccae86911993c832f2a848c39a2d"
DESKTOP_SESSION="gnome"
DESKTOP_STARTUP_ID=""
DISPLAY=":0.0"
DISTDIR="/usr/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/getdelta.sh ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GDMSESSION="gnome"
GDM_LANG="de_DE.UTF-8"
GDM_XSERVER_LOCATION="local"
GENERATION="2"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
GNOME_DESKTOP_SESSION_ID="Default"
GNOME_KEYRING_SOCKET="/tmp/keyring-Q7BvKi/socket"
GPG_AGENT_INFO="/tmp/seahorse-obUbDe/S.gpg-agent:6463:1"
GREP_COLOR="31"
GTK_MODULES="gnomebreakpad:gail:atk-bridge"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/den/.gtkrc-1.2-gnome2"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="mouse keyboard wacom synaptics"
JAVAC="/home/den/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVA_HOME="/home/den/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/den/.gentoo/java-config-2/current-user-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
USE="X acl acpi alsa ao berkdb bluetooth branding buffysize bzip2 cairo cdr cli cracklib crypt cups curl dbus djvu dri dvb dvd dvdr dvdread dvi eds emboss encode evo expat fam ffmpeg flac fortran gdbm gif gimp glitz glut gnome gnome-keyring gnutls gpgme gpm gstreamer gtk gtk+ gtk2 gtkhtml hal howl iconv idn imap ipv6 isdnlog java jpeg latex libnotify mad mbox midi mikmod mono mozilla moznoirc moznomail moznoxft mp3 mpeg mudflap nautilus ncurses nls nntp nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcre pdf perl png pop ppds pppd python qt3support quicktime readline real reflection sasl sdk sdl session smime spell spl sqlite sqlite3 ssl startup-notification svg svga sysfs t1lib tcltk tcpd tetex threads tiff truetype unicode usb userlocales v4l v4l2 vorbis win32codecs x264 x86 xine xml xorg xulrunner xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-07 14:46:18 UTC
*** Bug 236962 has been marked as a duplicate of this bug. ***
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-09-08 22:09:34 UTC
Which version of eselect-opengl do you have installed? It provides glext.h where GLint64EXT is defined. It's possible that an older glext.h doesn't define this. Could you run this, please:

emerge portage-utils
qlist eselect-opengl | xargs grep -i glint64
Comment 3 Dennis Nowa 2008-09-09 17:24:03 UTC
app-admin/eselect-opengl-1.0.6-r1 

qlist eselect-opengl | xargs grep -i glint64
/usr/lib/opengl/global/include/glext.h:typedef int64_t GLint64EXT;
/usr/lib/opengl/global/include/glext.h:GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint, GLenum, GLint64EXT *);
/usr/lib/opengl/global/include/glext.h:typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2008-09-09 23:29:35 UTC
Also `eselect opengl show`
Comment 5 Dennis Nowa 2008-09-10 05:53:39 UTC
eselect opengl show
xorg-x11
Comment 6 Calum 2008-09-18 20:51:45 UTC
Isn't this what dependencies are for? :)
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-03-06 14:58:41 UTC
Any news here? Isn't the bug fixed in xorg-server 1.5.3 by any chance?

Thanks
Comment 8 Derrier Dominique 2009-04-13 19:17:34 UTC
there's no update.
glapitable.h:812: error: expected declaration specifiers or '...' before 'GLint64EXT'
glapitable.h:813: error: expected declaration specifiers or '...' before 'GLuint64EXT'

It's look like :
glext.h is not read by gcc
Comment 9 Derrier Dominique 2009-04-13 19:56:55 UTC
Sorry .... I found.
There was a previous version into /usr/local/GL/glext.h from a "warrior install of the nvidia drivers".

Dominique

Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-04-19 16:02:17 UTC
Alright, let's close this bug then.

Thanks for the follow up.
Comment 11 Honza 2009-10-09 10:48:32 UTC
I've found this bug with app-admin/eselect-opengl-1.0.3 and it disappeared after update to app-admin/eselect-opengl-1.0.8-r1 ... just noting that adding some dependencies might be good idea.