Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83246 - media-libs/glitz-0.3.0.20050115 Fails to Emerge With Compilation Error glitz_glx_drawable.lo] Error 1
Summary: media-libs/glitz-0.3.0.20050115 Fails to Emerge With Compilation Error glitz_...
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:
Depends on:
Blocks:
 
Reported: 2005-02-24 17:19 UTC by Derek Berube
Modified: 2005-02-24 18:44 UTC (History)
1 user (show)

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


Attachments
Console output of emerge media-libs/glitz (glitz_emerge.out,46.39 KB, text/plain)
2005-02-24 17:19 UTC, Derek Berube
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Berube 2005-02-24 17:19:01 UTC
When I try to emerge media-libs/glitz-0.3.0.20050115, I get the following seris of errors:

In file included from glitz_glx_format.c:30:
glitz_glxint.h:34:19: GL/gl.h: No such file or directory
glitz_glxint.h:35:20: GL/glx.h: No such file or directory
In file included from glitz_glxint.h:37,
                 from glitz_glx_format.c:30:
glitz_glxext.h:110: error: parse error before "GLXDrawable"
glitz_glxext.h:111: warning: function declaration isn't a prototype
glitz_glxext.h:113: error: parse error before "GLXDrawable"
glitz_glxext.h:113: warning: function declaration isn't a prototype
glitz_glxext.h:114: error: parse error before '*' token
glitz_glxext.h:116: error: parse error before "GLXContext"
glitz_glxext.h:116: warning: type defaults to `int' in declaration of `GLXContext'
glitz_glxext.h:116: warning: function declaration isn't a prototype
glitz_glxext.h:116: error: `GLXContext' declared as function returning a function
glitz_glxext.h:116: warning: function declaration isn't a prototype
In file included from glitz_glx_format.c:30:
glitz_glxint.h:59: error: parse error before "glitz_glx_create_new_context_t"
glitz_glxint.h:59: warning: no semicolon at end of struct or union
glitz_glxint.h:60: warning: type defaults to `int' in declaration of `glitz_glx_static_proc_address_list_t'
glitz_glxint.h:60: warning: data definition has no type or storage class
glitz_glxint.h:83: error: field `context' declared as a function
glitz_glxint.h:104: error: field `root_context' declared as a function
glitz_glxint.h:107: error: parse error before "glitz_glx_static_proc_address_list_t"
glitz_glxint.h:107: warning: no semicolon at end of struct or union
glitz_glxint.h:109: error: parse error before '}' token
glitz_glxint.h:116: error: parse error before "GLXDrawable"
glitz_glxint.h:116: warning: no semicolon at end of struct or union
glitz_glxint.h:117: warning: type defaults to `int' in declaration of `pbuffer'
glitz_glxint.h:117: warning: data definition has no type or storage class
glitz_glxint.h:126: warning: `__visibility__' attribute ignored on non-class types
glitz_glxint.h:134: warning: `__visibility__' attribute ignored on non-class types
glitz_glxint.h:159: warning: `__visibility__' attribute ignored on non-class types
glitz_glxint.h:167: warning: `__visibility__' attribute ignored on non-class types
glitz_glx_format.c: In function `_glitz_add_format':
glitz_glx_format.c:92: error: dereferencing pointer to incomplete type
glitz_glx_format.c:93: error: dereferencing pointer to incomplete type
glitz_glx_format.c:96: error: dereferencing pointer to incomplete type
glitz_glx_format.c:98: error: dereferencing pointer to incomplete type
glitz_glx_format.c:99: error: dereferencing pointer to incomplete type
glitz_glx_format.c:101: error: dereferencing pointer to incomplete type
glitz_glx_format.c:102: error: dereferencing pointer to incomplete type
glitz_glx_format.c:104: error: dereferencing pointer to incomplete type
glitz_glx_format.c:104: error: dereferencing pointer to incomplete type
glitz_glx_format.c:105: error: dereferencing pointer to incomplete type
glitz_glx_format.c:106: error: dereferencing pointer to incomplete type
glitz_glx_format.c:107: error: dereferencing pointer to incomplete type
glitz_glx_format.c:108: error: dereferencing pointer to incomplete type
glitz_glx_format.c: In function `_glitz_glx_query_formats':
glitz_glx_format.c:122: error: dereferencing pointer to incomplete type
glitz_glx_format.c:124: error: dereferencing pointer to incomplete type
glitz_glx_format.c:136: warning: implicit declaration of function `glXGetConfig'
glitz_glx_format.c:136: warning: nested extern declaration of `glXGetConfig'
glitz_glx_format.c:136: error: `GLX_USE_GL' undeclared (first use in this function)
glitz_glx_format.c:136: error: (Each undeclared identifier is reported only once
glitz_glx_format.c:136: error: for each function it appears in.)
glitz_glx_format.c:140: error: `GLX_RGBA' undeclared (first use in this function)
glitz_glx_format.c:145: error: `GLX_STEREO' undeclared (first use in this function)
glitz_glx_format.c:149: error: `GLX_RED_SIZE' undeclared (first use in this function)
glitz_glx_format.c:151: error: `GLX_GREEN_SIZE' undeclared (first use in this function)
glitz_glx_format.c:153: error: `GLX_BLUE_SIZE' undeclared (first use in this function)
glitz_glx_format.c:155: error: `GLX_ALPHA_SIZE' undeclared (first use in this function)
glitz_glx_format.c:157: error: `GLX_DEPTH_SIZE' undeclared (first use in this function)
glitz_glx_format.c:159: error: `GLX_STENCIL_SIZE' undeclared (first use in this function)
glitz_glx_format.c:161: error: `GLX_DOUBLEBUFFER' undeclared (first use in this function)
glitz_glx_format.c:164: error: dereferencing pointer to incomplete type
glitz_glx_format.c: In function `_glitz_glx_query_formats_using_fbconfigs':
glitz_glx_format.c:184: error: `glx' undeclared (first use in this function)
glitz_glx_format.c:184: error: dereferencing pointer to incomplete type
glitz_glx_format.c:191: error: dereferencing pointer to incomplete type
glitz_glx_format.c:193: error: dereferencing pointer to incomplete type
glitz_glx_format.c:196: error: dereferencing pointer to incomplete type
glitz_glx_format.c:197: error: dereferencing pointer to incomplete type
glitz_glx_format.c:211: error: `GLX_STEREO' undeclared (first use in this function)
glitz_glx_format.c:227: error: `GLX_RED_SIZE' undeclared (first use in this function)
glitz_glx_format.c:229: error: `GLX_GREEN_SIZE' undeclared (first use in this function)
glitz_glx_format.c:231: error: `GLX_BLUE_SIZE' undeclared (first use in this function)
glitz_glx_format.c:233: error: `GLX_ALPHA_SIZE' undeclared (first use in this function)
glitz_glx_format.c:235: error: `GLX_DEPTH_SIZE' undeclared (first use in this function)
glitz_glx_format.c:237: error: `GLX_STENCIL_SIZE' undeclared (first use in this function)
glitz_glx_format.c:239: error: `GLX_DOUBLEBUFFER' undeclared (first use in this function)
glitz_glx_format.c:242: error: dereferencing pointer to incomplete type
glitz_glx_format.c:250: error: dereferencing pointer to incomplete type
glitz_glx_format.c: In function `glitz_glx_query_formats':
glitz_glx_format.c:275: error: dereferencing pointer to incomplete type
glitz_glx_format.c:281: error: dereferencing pointer to incomplete type
glitz_glx_format.c:284: error: dereferencing pointer to incomplete type
glitz_glx_format.c:284: error: dereferencing pointer to incomplete type
glitz_glx_format.c:290: error: dereferencing pointer to incomplete type
glitz_glx_format.c:292: error: dereferencing pointer to incomplete type
glitz_glx_format.c:296: error: dereferencing pointer to incomplete type
glitz_glx_format.c:297: error: dereferencing pointer to incomplete type
glitz_glx_format.c:297: error: dereferencing pointer to incomplete type
glitz_glx_format.c:298: error: dereferencing pointer to incomplete type
glitz_glx_format.c:301: error: dereferencing pointer to incomplete type
glitz_glx_format.c:302: error: dereferencing pointer to incomplete type
glitz_glx_format.c: In function `glitz_glx_find_drawable_format':
glitz_glx_format.c:315: error: dereferencing pointer to incomplete type
glitz_glx_format.c:316: error: dereferencing pointer to incomplete type
glitz_glx_format.c: In function `glitz_glx_get_visual_info_from_format':
glitz_glx_format.c:329: error: `glx' undeclared (first use in this function)
glitz_glx_format.c:329: error: dereferencing pointer to incomplete type
glitz_glx_format.c:331: error: dereferencing pointer to incomplete type
glitz_glx_format.c:334: error: dereferencing pointer to incomplete type
glitz_glx_format.c:356: error: dereferencing pointer to incomplete type
make[3]: *** [glitz_glx_format.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from glitz_glx_drawable.c:30:
glitz_glxint.h:34:19: GL/gl.h: No such file or directory
glitz_glxint.h:35:20: GL/glx.h: No such file or directory
In file included from glitz_glxint.h:37,
                 from glitz_glx_drawable.c:30:
glitz_glxext.h:110: error: parse error before "GLXDrawable"
glitz_glxext.h:111: warning: function declaration isn't a prototype
glitz_glxext.h:113: error: parse error before "GLXDrawable"
glitz_glxext.h:113: warning: function declaration isn't a prototype
glitz_glxext.h:114: error: parse error before '*' token
glitz_glxext.h:116: error: parse error before "GLXContext"
glitz_glxext.h:116: warning: type defaults to `int' in declaration of `GLXContext'
glitz_glxext.h:116: warning: function declaration isn't a prototype
glitz_glxext.h:116: error: `GLXContext' declared as function returning a function
glitz_glxext.h:116: warning: function declaration isn't a prototype
In file included from glitz_glx_drawable.c:30:
glitz_glxint.h:59: error: parse error before "glitz_glx_create_new_context_t"
glitz_glxint.h:59: warning: no semicolon at end of struct or union
glitz_glxint.h:60: warning: type defaults to `int' in declaration of `glitz_glx_static_proc_address_list_t'
glitz_glxint.h:60: warning: data definition has no type or storage class
glitz_glxint.h:83: error: field `context' declared as a function
glitz_glxint.h:104: error: field `root_context' declared as a function
glitz_glxint.h:107: error: parse error before "glitz_glx_static_proc_address_list_t"
glitz_glxint.h:107: warning: no semicolon at end of struct or union
glitz_glxint.h:109: error: parse error before '}' token
glitz_glxint.h:116: error: parse error before "GLXDrawable"
glitz_glxint.h:116: warning: no semicolon at end of struct or union
glitz_glxint.h:117: warning: type defaults to `int' in declaration of `pbuffer'
glitz_glxint.h:117: warning: data definition has no type or storage class
glitz_glxint.h:126: warning: `__visibility__' attribute ignored on non-class types
glitz_glxint.h:134: warning: `__visibility__' attribute ignored on non-class types
glitz_glxint.h:159: warning: `__visibility__' attribute ignored on non-class types
glitz_glxint.h:167: warning: `__visibility__' attribute ignored on non-class types
glitz_glx_drawable.c:42: error: parse error before "GLXDrawable"
glitz_glx_drawable.c:46: warning: function declaration isn't a prototype
glitz_glx_drawable.c: In function `_glitz_glx_create_drawable':
glitz_glx_drawable.c:49: error: `width' undeclared (first use in this function)
glitz_glx_drawable.c:49: error: (Each undeclared identifier is reported only once
glitz_glx_drawable.c:49: error: for each function it appears in.)
glitz_glx_drawable.c:49: error: `height' undeclared (first use in this function)
glitz_glx_drawable.c:52: error: invalid application of `sizeof' to incomplete type `glitz_glxint.h'
glitz_glx_drawable.c:56: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:57: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:57: error: `screen_info' undeclared (first use in this function)
glitz_glx_drawable.c:58: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:58: error: `context' undeclared (first use in this function)
glitz_glx_drawable.c:59: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:59: error: `glx_drawable' undeclared (first use in this function)
glitz_glx_drawable.c:60: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:60: error: `glx_pbuffer' undeclared (first use in this function)
glitz_glx_drawable.c:61: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:61: error: `format' undeclared (first use in this function)
glitz_glx_drawable.c:62: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:64: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c: In function `_glitz_glx_create_pbuffer_drawable':
glitz_glx_drawable.c:114: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c: In function `glitz_glx_create_pbuffer':
glitz_glx_drawable.c:125: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c: In function `glitz_glx_create_drawable_for_window':
glitz_glx_drawable.c:155: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c: In function `glitz_glx_destroy':
glitz_glx_drawable.c:182: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:183: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:189: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:190: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:194: warning: implicit declaration of function `glXGetCurrentDrawable'
glitz_glx_drawable.c:194: warning: nested extern declaration of `glXGetCurrentDrawable'
glitz_glx_drawable.c:194: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:195: warning: implicit declaration of function `glXMakeCurrent'
glitz_glx_drawable.c:195: warning: nested extern declaration of `glXMakeCurrent'
glitz_glx_drawable.c:195: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:197: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:198: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:198: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c: In function `glitz_glx_swap_buffers':
glitz_glx_drawable.c:208: warning: implicit declaration of function `glXSwapBuffers'
glitz_glx_drawable.c:208: warning: nested extern declaration of `glXSwapBuffers'
glitz_glx_drawable.c:208: error: dereferencing pointer to incomplete type
glitz_glx_drawable.c:209: error: dereferencing pointer to incomplete type
make[3]: *** [glitz_glx_drawable.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/glitz-0.3.0.20050115/work/glitz-0.3.0/src/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glitz-0.3.0.20050115/work/glitz-0.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glitz-0.3.0.20050115/work/glitz-0.3.0'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. At the command prompt, type emerge media-libs/glitz


Actual Results:  
glitz fails to emerge as a result of the aforementioned compilation errors.

Expected Results:  
glitz should emerge successfully.

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Feb 17 2005, 23:55:16)]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main
/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl dvd emboss encode esd f77 fam flac foomaticdb fortran gdbm gif gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg
junit kerberos krb4 ldap libg++ libwww mad mikmod motif mozilla mpeg mysql nas
ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png postgres python
quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Derek Berube 2005-02-24 17:19:48 UTC
Created attachment 52080 [details]
Console output of emerge media-libs/glitz
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2005-02-24 17:27:52 UTC
Looks more like a openGL header issue than a glitz issue; assigning to x11, but CCing me.

What does "ls -l /usr/include/GL/" show? Can you try running "opengl-update xorg-x11" or the equivalant for whatever GL you are using, and emerging glitz again? Thanks.
Comment 3 Derek Berube 2005-02-24 18:15:04 UTC
wildstar ~ # ls -l /usr/include/GL
total 220
-r--r--r--  1 root root  7946 Feb 11 18:40 GLwDrawA.h
-r--r--r--  1 root root  4433 Feb 11 18:40 GLwDrawAP.h
-r--r--r--  1 root root  2309 Feb 11 18:40 GLwMDrawA.h
-r--r--r--  1 root root  2311 Feb 11 18:40 GLwMDrawAP.h
-rw-r--r--  1 root root 10381 Jan 15  2004 gle.h
-r--r--r--  1 root root 15981 Feb 11 18:40 glu.h
-rw-r--r--  1 root root 30192 Jan 15  2004 glut.h
-rw-r--r--  1 root root  4109 Jan 15  2004 glutf90.h
-r--r--r--  1 root root 29020 Feb 11 18:40 glxext.h
-r--r--r--  1 root root  4257 Feb 11 18:40 glxint.h
-r--r--r--  1 root root  2453 Feb 11 18:40 glxmd.h
-r--r--r--  1 root root 71034 Feb 11 18:40 glxproto.h
-r--r--r--  1 root root  8349 Feb 11 18:40 osmesa.h
wildstar ~ #
Comment 4 Derek Berube 2005-02-24 18:17:11 UTC
running opengl-update nvidia did the trick.  After doing that, I was able to emerge media-libs/glitz.
Comment 5 Derek Berube 2005-02-24 18:18:22 UTC
Should this be resolved and have a resolution set to invalid?
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2005-02-24 18:44:13 UTC
Yuppo. That resolution works for me.