Source: sdl-sound1.2 Version: 1.0.3-6 Severity: wishlist Tags: patch User: debian-...@lists.debian.org Usertags: port-x32 ftbfs-libtool
The sdl-sound1.2 source package is getting this build failure on the unofficial Debian x32 patch: <URL:http://buildd.debian-ports.org/status/fetch.php?pkg=sdl-sound1.2&arch=x32&ver=1.0.3-6&stamp=1363063450>: ... /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -pipe -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-z,relro -Wl,--no-undefined -Wl,--as-needed -lm -o libSDL_sound.la -rpath /usr/lib/x86_64-linux-gnux32 -release 1.0 -version-info 1:2:0 SDL_sound.lo alt_audio_convert.lo audio_convert.lo extra_rwops.lo decoders/libdecoders.la decoders/timidity/libtimidity.la decoders/mpglib/libmpglib.la -L/usr/lib/x86_64-linux-gnux32 -lSDL -lmikmod -logg -lvorbis -lvorbisfile -lFLAC -logg -logg -lspeex ./libtool: line 4432: test: : integer expression expected ./libtool: line 4432: test: : integer expression expected creating reloadable object files... ./libtool: line 4467: test: : integer expression expected ./libtool: line 4467: test: : integer expression expected ./libtool: line 4467: test: : integer expression expected creating a temporary reloadable object file: .libs/libSDL_sound.la-4.o /usr/bin/ld -m elf_i386 -r -o .libs/libSDL_sound.la-1.o .libs/SDL_sound.o /usr/bin/ld: Relocatable linking with relocations from format elf32-x86-64 (.libs/SDL_sound.o) to format elf32-i386 (.libs/libSDL_sound.la-1.o) is not supported make[3]: *** [libSDL_sound.la] Error 1 make[3]: Leaving directory `/build/buildd-sdl-sound1.2_1.0.3-6-x32-1HN0ak/sdl-sound1.2-1.0.3' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/buildd-sdl-sound1.2_1.0.3-6-x32-1HN0ak/sdl-sound1.2-1.0.3' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd-sdl-sound1.2_1.0.3-6-x32-1HN0ak/sdl-sound1.2-1.0.3' dh_auto_build: make -j3 returned exit code 2 make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 The fix is to update libtool using the current sid package (>= 2.4.2-1.2). The attached debdiff does this at build time using dh-autoreconf. (Since that overwrote your changes to Makefile.in for the -lm fix, I also replaced that patch with a proper patch to Makefile.am.) -- Daniel Schepler
sdl-sound1.2.debdiff
Description: Binary data