Your message dated Fri, 07 May 2010 11:20:21 +0300
with message-id <87mxwcw2be....@jondo.cante.net>
and subject line Re: Bug#580590: xpilot-ng: FTBFS /usr/bin/ld: error: cannot
find -lGL
has caused the Debian Bug report #580590,
regarding xpilot-ng: FTBFS /usr/bin/ld: error: cannot find -lGL
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
580590: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580590
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xpilot-ng
Severity: serious
Justification: FTBFS
Package fails to build:
86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..
-DCONF_DATADIR=\"/usr/share/games/xpilot-ng/\" -I../../../src/common
-I../../../src/client -I/\
usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -O2 -MT gameloop_x.o
-MD -MP -MF .deps/gameloop_x.Tpo -c -o gameloop_x.o gameloop_x.c
mv -f .deps/gameloop_x.Tpo .deps/gameloop_x.Po
x86_64-linux-gnu-gcc -Wall -g -O2 -o xpilot-ng-sdl DT_drawtext.o
SDL_console.o SDL_gfxPrimitives.o console.o glwidgets.o images.o main.o scrap.o\
radar.o sdlevent.o sdlgui.o sdlinit.o sdlkeys.o sdlpaint.o sdlwindow.o text.o
todo.o sdlmeta.o gameloop_x.o ../../../src/client/libxpclient.a ..\
/../../src/common/libxpcommon.a -L/usr/lib -lSDL -L/usr/X11R6/lib -lGL -lGLU
-lSDL_ttf -lSDL_image -lSM -lICE -lopenal -lalut -lX11 -lexpat -lz \
-lm
/usr/bin/ld: error: cannot find -lGL
/usr/bin/ld: console.o: in function Console_paint:console.c:78: error:
undefined reference to 'glBegin'
/usr/bin/ld: console.o: in function Console_paint:console.c:79: error:
undefined reference to 'glColor4ub'
/usr/bin/ld: console.o: in function Console_paint:console.c:80: error:
undefined reference to 'glVertex2i'
/usr/bin/ld: console.o: in function Console_paint:console.c:81: error:
undefined reference to 'glColor4ub'
/usr/bin/ld: console.o: in function Console_paint:console.c:82: error:
undefined reference to 'glVertex2i'
/usr/bin/ld: console.o: in function Console_paint:console.c:83: error:
undefined reference to 'glColor4ub'
/usr/bin/ld: console.o: in function Console_paint:console.c:84: error:
undefined reference to 'glVertex2i'
/usr/bin/ld: console.o: in function Console_paint:console.c:85: error:
undefined reference to 'glColor4ub'
/usr/bin/ld: console.o: in function Console_paint:console.c:86: error:
undefined reference to 'glVertex2i'
/usr/bin/ld: console.o: in function Console_paint:console.c:88: error:
undefined reference to 'glEnd'
/usr/bin/ld: glwidgets.o: in function Close_ImageButtonWidget:glwidgets.c:3976:
error: undefined reference to 'glDeleteTextures'
...
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Ben Armstrong <sy...@sanctuary.nslug.ns.ca> writes:
> On 06/05/10 08:35 PM, Jari Aalto wrote:
>
>> Package fails to build:
>>
>> 86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..
>> -DCONF_DATADIR=\"/usr/share/games/xpilot-ng/\" -I../../../src/common
>> -I../../../src/client -I/\
>> usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -O2 -MT gameloop_x.o
>> -MD -MP -MF .deps/gameloop_x.Tpo -c -o gameloop_x.o gameloop_x.c
>> mv -f .deps/gameloop_x.Tpo .deps/gameloop_x.Po
>> x86_64-linux-gnu-gcc -Wall -g -O2 -o xpilot-ng-sdl DT_drawtext.o
>> SDL_console.o SDL_gfxPrimitives.o console.o glwidgets.o images.o main.o
>> scrap.o\
>> radar.o sdlevent.o sdlgui.o sdlinit.o sdlkeys.o sdlpaint.o sdlwindow.o
>> text.o todo.o sdlmeta.o gameloop_x.o ../../../src/client/libxpclient.a ..\
>> /../../src/common/libxpcommon.a -L/usr/lib -lSDL -L/usr/X11R6/lib -lGL -lGLU
>> -lSDL_ttf -lSDL_image -lSM -lICE -lopenal -lalut -lX11 -lexpat -lz \
>> -lm
>> /usr/bin/ld: error: cannot find -lGL
>>
>
> xpilot-ng build-depends on libgl1-mesa-dev. I can't see how this can
> fail, since that dependency should be satisfied. Are you using
> dpkg-buildpackage to build this? Did you apt-get build-dep xpilot-ng
> first?
>
> Which version of the package fails to build?
In Debian/testing:
apt-get source --download-only -t testing xpilot-ng
apt-get build-dep xpilot-ng
dpkg-source -x *.dsc
cd xpilot-ng-4.7.3/
debuild -us -uc
I recheck the environment and package "nvidia-glx" was causing the
trouble. By removing it, the build succeeds. Closing.
Btw, this bug is still open. May need closing by hand (it's active in RC bug
list):
515489 xpilot-ng: obsolete build-dep on x-dev - Debian Bug report logs
Because according to 1:4.7.3-1 debian/control "x-dev" is no longer there
(replaced by x11proto-core-dev):
Build-Conflicts: autoconf2.13, automake1.4, x11proto-xf86misc-dev
Build-Depends: autoconf, automake1.11, debhelper (>= 7), libx11-dev,
libxext-dev, x11proto-core-dev, zlib1g-dev, libexpat1-dev, libsdl1.2-dev, libs\
dl-image1.2-dev, libsdl-ttf2.0-dev, libgl1-mesa-dev, libglu1-mesa-dev,
libalut-dev, libopenal-dev (>= 1:1.10.622), help2man, python-support
Standards-Version: 3.8.2
Thanks,
Jari
--- End Message ---