tags 369084 + patch thanks Hello!
On Sat, 27 May 2006 13:36:39 +0200, Stefan Huehner wrote: > your package build-depends on xlibs-pic which in only available > within xorg6.9, but not in xorg7. As soon as xorg6.9 is removed from > the archive your package will FTBFS. I tried to build quake2 on pbuild just removing the xlibs-pic dependency and I got a new error: ===== if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -Werror -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fPIC -O2 -MT ref_softx_la-rw_x11.lo -MD -MP -MF ".deps/ref_softx_la-rw_x11.Tpo" -c -o ref_softx_la-rw_x11.lo `test -f 'rw_x11.c' || echo './'`rw_x11.c; \ then mv -f ".deps/ref_softx_la-rw_x11.Tpo" ".deps/ref_softx_la-rw_x11.Plo"; else rm -f ".deps/ref_softx_la-rw_x11.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -Werror -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fPIC -O2 -MT ref_softx_la-rw_x11.lo -MD -MP -MF .deps/ref_softx_la-rw_x11.Tpo -c rw_x11.c -fPIC -DPIC -o .libs/ref_softx_la-rw_x11.o cc1: warnings being treated as errors rw_x11.c: In function 'install_grabs': rw_x11.c:553: warning: unused variable 'MinorVersion' rw_x11.c:553: warning: unused variable 'MajorVersion' make[4]: *** [ref_softx_la-rw_x11.lo] Error 1 make[4]: Leaving directory `/tmp/buildd/quake2-0.3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/buildd/quake2-0.3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/buildd/quake2-0.3' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/quake2-0.3' make: *** [build-stamp] Error 2 pbuilder: Failed autobuilding of package -> Aborting with an error -> unmounting dev/pts filesystem -> unmounting proc filesystem -> cleaning the build env -> removing directory /var/cache/pbuilder/build//21301 and its subdirectories [EMAIL PROTECTED]:~/test/quake2-0.3$ ===== Now, I'm not a GCC expert, but using the configure option "don't abort on compiler warnings" (--disable-warn) lets the package to be compiled. I then tried it with the unstable quake2-data package [1] and it seems to works as expected. The patch has been prepared as an NMU and tested on a just-update sid pbuilder, because I'm passing the T&S step as a new maintainer. The command used is the following: $ debdiff quake2_0.3-1.1.dsc \ /var/cache/pbuilder/result/quake2_0.3-1.2.dsc BTW, I removed the diff against config.guess and config.sub, as these are useless (and so the NMU patch is smaller). Thx, bye, Gismo / Luca [1] which cannot find the necessary q2-314-demo-x86.exe file on the ID software FTP neither on the PlanetMirror one :-(
quake2_0.3-1.2_nmu.patch.gz
Description: NMU patch, version 0.3-1.2
pgpuoQtzomc2b.pgp
Description: PGP signature