Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85261 - pyopengl-2.0.0.44 missing symbols during merge
Summary: pyopengl-2.0.0.44 missing symbols during merge
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 14:05 UTC by Kory Stiffler
Modified: 2007-06-04 14:41 UTC (History)
3 users (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 Kory Stiffler 2005-03-14 14:05:13 UTC
when I try to emerge gnome, gcc fails with exit status 1

Reproducible: Always
Steps to Reproduce:
1.type '#emerge gnome'
2.wait
3.

Actual Results:  
this function)
src/interface_util/interface_util.c: In function `SetupPixelWrite':
src/interface_util/interface_util.c:528: error: `GL_UNPACK_SWAP_BYTES'
undeclared (first use in this function)
src/interface_util/interface_util.c:529: error: `GL_UNPACK_LSB_FIRST' undeclared
(first use in this function)
src/interface_util/interface_util.c:540: error: `GL_UNPACK_ROW_LENGTH'
undeclared (first use in this function)
src/interface_util/interface_util.c:541: error: `GL_UNPACK_SKIP_ROWS' undeclared
(first use in this function)
src/interface_util/interface_util.c:542: error: `GL_UNPACK_ALIGNMENT' undeclared
(first use in this function)
src/interface_util/interface_util.c:544: error: `GL_UNPACK_SKIP_PIXELS'
undeclared (first use in this function)
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/pyopengl-2.0.0.44 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
'gnome emerged successfully' or something of the like

have had problems with gcc on an identical machine to this one

emerging gimp fails with a similar exit status

KDE has been emerged successfully on this machine, but the aforementioned 'twin
machine' has had problems emerging kde as well as gnome

hardware info:
Dell Dimension XPS D233
Pentium II 266 Mhz processor
378 MB 66MHz SDRAM
Comment 1 Joe McCann (RETIRED) gentoo-dev 2005-03-14 14:46:32 UTC
Don't assign bugs directly unless you know where they go
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-19 20:27:39 UTC
Can you pleasse give all the error messages rather than just the last one (paste the log beginning with the last call to gcc).

Also, please run 'opengl-update xorg-x11' before the emerge.
Comment 3 Fabian Svara 2005-03-23 17:43:23 UTC
I've had the same problem, it happens when xorg-x11 is built without opengl in USE. The pyopengl ebuild actually says something about missing GL/gl.h before it breaks.
Comment 4 Fabian Svara 2005-03-23 17:54:24 UTC
Those are the relevant lines:

i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=pentium3 -pipe -fomit-frame-pointer -fPIC -DGLX_PLATFORM -I/usr/include/python2.3 -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -c src/interface_util/interface_util.c -o build/temp.linux-i686-2.3/src/interface_util/interface_util.o
In file included from src/interface_util/interface_util.c:1:
src/config.h:59:20: GL/glx.h: No such file or directory
src/config.h:73:19: GL/gl.h: No such file or directory
src/config.h:74:20: GL/glu.h: No such file or directory

On a side note: Did Kory post additional information to the bug just when I did? Because Bugzilla said something along those lines, and I chose the option to revert my changes to double check what I had written. But now there's no new comment by Kory, but mine's still there. Either I'm confused, or it's a bug in bugzilla. Considering that name, it's probably the former;)
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2005-04-20 09:23:08 UTC
have you tried running 'opengl-update xorg' and trying again? seems like you might of installed X but the GL headers weren't placed in the right place? also env-update probably wouldn't hurt either.
Comment 6 Marco Lazzeri 2005-06-23 02:21:02 UTC
I get the same error while trying to emerge dev-python/pyopengl-2.0.0.44;
anyway, "opengl-update xorg-x11" resolves the problem.

running build_clib
building 'interface_util' library
creating build/temp.linux-i686-2.3
creating build/temp.linux-i686-2.3/src
creating build/temp.linux-i686-2.3/src/interface_util
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=pentium3 -O2
-pipe -fomit-frame-pointer -fPIC -DGLX_PLATFORM -I/usr/include/python2.3
-I/usr/include -I/usr/local/include -I/usr/X11R6/include
-I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include -I/usr/local/include
-I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -c
src/interface_util/interface_util.c -o
build/temp.linux-i686-2.3/src/interface_util/interface_util.o
In file included from src/interface_util/interface_util.c:1:
src/config.h:59:20: GL/glx.h: No such file or directory
src/config.h:73:19: GL/gl.h: No such file or directory
In file included from src/config.h:74,
                 from src/interface_util/interface_util.c:1:
/usr/include/GL/glu.h:35:19: GL/gl.h: No such file or directory
In file included from src/config.h:74,
                 from src/interface_util/interface_util.c:1:
/usr/include/GL/glu.h:262: error: syntax error before '*' token
/usr/include/GL/glu.h:262: error: `GLvoid' declared as function returning a function
/usr/include/GL/glu.h:269: error: syntax error before "gluBuild1DMipmapLevels"
[..cut..]
src/interface_util/interface_util.c: In function `SetupPixelWrite':
src/interface_util/interface_util.c:528: error: `GL_UNPACK_SWAP_BYTES'
undeclared (first use in this function)
src/interface_util/interface_util.c:529: error: `GL_UNPACK_LSB_FIRST' undeclared
(first use in this function)
src/interface_util/interface_util.c:540: error: `GL_UNPACK_ROW_LENGTH'
undeclared (first use in this function)
src/interface_util/interface_util.c:541: error: `GL_UNPACK_SKIP_ROWS' undeclared
(first use in this function)
src/interface_util/interface_util.c:542: error: `GL_UNPACK_ALIGNMENT' undeclared
(first use in this function)
src/interface_util/interface_util.c:544: error: `GL_UNPACK_SKIP_PIXELS'
undeclared (first use in this function)
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pyopengl-2.0.0.44 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 7 Kurt Guenther 2005-06-23 08:43:35 UTC
(In reply to comment #5)
> have you tried running 'opengl-update xorg' and trying again? seems like you
might of installed X but the GL headers weren't placed in the right place? also
env-update probably wouldn't hurt either.

I had the exact same problem and gleaned enough info from this thread to fix it.
 I did: 

1) Added 'opengl' to my use flags. 
2) Re-emerged xorg-x11 
3) ran 'opengl-update xorg-x11'
4) emerged dev-python/pyopengl

I also did a 'revdep-rebuild' earlier for good measure.  Not sure if all of
these are necessary, but this is what I did. 


Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2005-11-06 21:08:55 UTC
please try to re-emerge glut first.
Comment 9 W.klein 2006-09-15 10:11:20 UTC
(In reply to comment #8)
> please try to re-emerge glut first.
> 

wich glut would that be i have 2 of em ??

    media-libs/glut
    virtual/glut
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-09-16 09:22:59 UTC
Virtuals aren't actual packages, but rather an abstraction that says multiple packages can resolve that given dependency.

In this case, you may have either media-libs/freeglut or media-libs/glut installed.  See which one you have and re-merge it.

I have had issues with media-libs/glut before, so try freeglut if you have glut installed.  You'll have to unmerge glut first.