Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176537 - freeglut-2.4.0-r1 can"t compile when trying upgrade xorg 7.1 -> 7.2
Summary: freeglut-2.4.0-r1 can"t compile when trying upgrade xorg 7.1 -> 7.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 08:35 UTC by Luka Blaskovic
Modified: 2007-10-08 20:35 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,38.45 KB, text/plain)
2007-04-30 08:36 UTC, Luka Blaskovic
Details
emerge --info (emerge.info,3.30 KB, text/plain)
2007-04-30 08:39 UTC, Luka Blaskovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luka Blaskovic 2007-04-30 08:35:26 UTC
make[4]: Entering directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos/CallbackMaker'
source='CallbackMaker.c' object='CallbackMaker-CallbackMaker.o' libtool=no \
        depfile='.deps/CallbackMaker-CallbackMaker.Po' tmpdepfile='.deps/CallbackMaker-CallbackMaker.TPo' \
        depmode=gcc3 /bin/sh ../../../depcomp \
        i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I../../../include  -O2 -march=prescott -pipe -fomit-frame-pointer -Wall -pedantic -Werror -c -o CallbackMaker-CallbackMaker.o `test -f CallbackMaker.c || echo './'`CallbackMaker.c
/bin/sh ../../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=prescott -pipe -fomit-frame-pointer -Wall -pedantic -Werror   -o CallbackMaker -export-dynamic ../../../src/libglut.la CallbackMaker-CallbackMaker.o
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -Wall -pedantic -Werror -o .libs/CallbackMaker CallbackMaker-CallbackMaker.o -Wl,--export-dynamic  ../../../src/.libs/libglut.so -lm -L/usr/lib /usr/lib/libGLU.so /usr/lib/libGL.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXmu.so /usr/lib/libXt.so /usr/lib/libXi.so -lpthread /usr/lib/libXxf86vm.so /usr/lib/libX11.so /usr/lib/libXext.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl
/usr/lib/libGL.so: undefined reference to `drmOpenOnce'
/usr/lib/libGL.so: undefined reference to `drmCloseOnce'
collect2: ld returned 1 exit status
make[4]: *** [CallbackMaker] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos/CallbackMaker'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0'
make: *** [all] Error 2

!!! ERROR: media-libs/freeglut-2.4.0-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3299:   Called src_compile
  ebuild.sh, line 645:   Called die



Reproducible: Always

Steps to Reproduce:
emerge xorg-x11
Comment 1 Luka Blaskovic 2007-04-30 08:36:29 UTC
Created attachment 117703 [details]
build.log
Comment 2 Luka Blaskovic 2007-04-30 08:39:26 UTC
Created attachment 117705 [details]
emerge --info
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-04-30 08:43:02 UTC
All I see is a build failure of freeglut. That is not a crash. Your comments about xorg are also confusing. Did you mean to say that after upgrading xorg, freeglut no longer emerges?
Comment 4 Luka Blaskovic 2007-04-30 09:03:37 UTC
(In reply to comment #3)
> All I see is a build failure of freeglut. That is not a crash. Your comments
> about xorg are also confusing. Did you mean to say that after upgrading xorg,
> freeglut no longer emerges?
> 

I can"t complete new xorg-7.2 upgrade. Freeglut fails to compile. Crash is wrong expression, sorry.
Comment 5 Paul Bredbury 2007-04-30 10:23:10 UTC
Try:  emerge =libdrm-2.3.0

Do a proper upgrade:  emerge -uDN world
Comment 6 Luka Blaskovic 2007-04-30 12:37:04 UTC
(In reply to comment #5)
> Try:  emerge =libdrm-2.3.0
> 
> Do a proper upgrade:  emerge -uDN world
> 

Same problem on libdrm. I"ve also tryed emerge --skipfirst, rest of the xorg/updates merges ok, except mesa-progs-6.5.2:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-apps/mesa-progs-6.5.2/work/Mesa-6.5.2 ...
i686-pc-linux-gnu-gcc -I../../include -Wall -Wmissing-prototypes -std=c99 -ffast-math -O3 -march=prescott -pipe -fomit-frame-pointer  -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libGL.so: undefined reference to `drmOpenOnce'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libGL.so: undefined reference to `drmCloseOnce'
collect2: ld returned 1 exit status
make: *** [glxinfo] Error 1

same error. 

Now startx is working when I remove dri & glx module from my xorg.conf
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2007-05-02 07:26:53 UTC
How can you have the same problem on libdrm? It doesn't link against libGL. Please paste your exact error on the libdrm compile.
Comment 8 Luka Blaskovic 2007-08-14 08:50:29 UTC
Problem solved after running emerge -e world.

Yes, libdrm is not linked against libGL. There was some other error, but now is gone.


Comment 9 Erik 2007-10-08 20:15:10 UTC
Since the reporter said that the problem is gone now, can this be closed?
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-08 20:35:45 UTC
Sounds good.