Bug#615730: holotz-castle: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:52:47 UTC 2011


Package: holotz-castle
Version: 1.3.14-2
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed.  For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking

Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian.  Please have a look at
http://packages.qa.debian.org/holotz-castle to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCRope.cpp -o HCRope.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCContFloor.cpp -o HCContFloor.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCObject.cpp -o HCObject.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCMap.cpp -o HCMap.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCExit.cpp -o HCExit.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCCharacter.cpp -o HCCharacter.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCEnemy.cpp -o HCEnemy.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCEnemyBall.cpp -o HCEnemyBall.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCEnemyChaser.cpp -o HCEnemyChaser.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCEnemyMaker.cpp -o HCEnemyMaker.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCEnemyRandom.cpp -o HCEnemyRandom.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCEnemyStatic.cpp -o HCEnemyStatic.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCScriptAction.cpp -o HCScriptAction.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCScriptBlock.cpp -o HCScriptBlock.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCScript.cpp -o HCScript.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCLevel.cpp -o HCLevel.o
g++ -fno-strict-aliasing -I. -I../JLib `sdl-config --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HolotzCastle.cpp -o HolotzCastle.o
g++ -L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `sdl-config --libs` HCUtil.o HCTimer.o HCLoadSaveSlot.o HCPlaylist.o HCPreferences.o HCTheme.o HCText.o HCBreak.o HCRope.o HCContFloor.o HCObject.o HCMap.o HCExit.o HCCharacter.o HCEnemy.o HCEnemyBall.o HCEnemyChaser.o HCEnemyMaker.o HCEnemyRandom.o HCEnemyStatic.o HCScriptAction.o HCScriptBlock.o HCScript.o HCLevel.o HolotzCastle.o ../JLib/libJLib.a -o HC;\
	mv HC ../holotz-castle
/usr/bin/ld: ../JLib/libJLib.a(JFile.o): undefined reference to symbol 'uncompress'
/usr/bin/ld: note: 'uncompress' is defined in DSO /usr/lib64/libz.so.1 so try adding it to the linker command line
/usr/lib64/libz.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
mv: cannot stat `HC': No such file or directory
make[2]: *** [HC] Error 1
make[2]: Leaving directory `/build/user-holotz-castle_1.3.14-2-amd64-euUEs_/holotz-castle-1.3.14/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/user-holotz-castle_1.3.14-2-amd64-euUEs_/holotz-castle-1.3.14'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-games-devel mailing list