Bug#266793: vdr-plugin-games_0.6.1-2(unstable/alpha): FTBFS: gp-relative relocation against dynamic symbol

Falk Hueffner pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 19 Aug 2004 08:30:36 +0200


Package: vdr-plugin-games
Version: 0.6.1-2
Severity: important
Justification: fails to build from source

Hi,

vdr-plugin-games fails to build from source on Alpha. Here's the build
log:

dpkg-buildpackage: source package is vdr-plugin-games
dpkg-buildpackage: source version is 0.6.1-2
dpkg-buildpackage: host architecture is alpha
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf build-tree
rm -f libvdr-*.so*
make clean
make[1]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1'

Cleaning source tree make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper'
.make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe'
.make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris'
.make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/snake'
.make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/snake'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tron'
.make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tron'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
 done

make[1]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1'
dh_clean
 debian/rules build
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make all DVBDIR=/usr/include VDRDIR=/usr/include/vdr LIBDIR=.
make[1]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1'

Building libvdr-games.so make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper'
.minesweeper.cpp: In function `void draw_icon(int, int)':
minesweeper.cpp:84: warning: array subscript has type `char'
ar: creating minesweeper.a
make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/minesweeper'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe'
.ar: creating tictactoe.a
make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tictactoe'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris'
.ar: creating tetris.a
make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tetris'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/snake'
.ar: creating snake.a
make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/snake'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tron'
.ar: creating tron.a
make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1/tron'
/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1
make[2]: Entering directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1'
....../usr/bin/ld: tetris/tetris.a(tetris.o): gp-relative relocation against dynamic symbol shapes
/usr/bin/ld: tetris/tetris.a(tetris.o): gp-relative relocation against dynamic symbol shapes
collect2: ld returned 1 exit status
make[2]: *** [libvdr-games.so] Error 1
make[2]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mrvn/build/vdr-plugin-games/vdr-plugin-games-0.6.1'
make: *** [build-stamp] Error 2

Most likely, tetris.c is compiled without -fPIC and then put into a
shared library. It would be easier to tell if you could get rid of the
apparent output suppression.

	Falk


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: alpha
Kernel: Linux 2.6.8-rc3
Locale: LANG=C, LC_CTYPE=de_DE@euro