On 14/04/08 at 15:44 +0200, Nico Golde wrote: > Hi Lucas, > * Lucas Nussbaum <[EMAIL PROTECTED]> [2008-04-14 14:43]: > > On 14/04/08 at 13:00 +0200, Nico Golde wrote: > > > Hi Lucas, > > > * Lucas Nussbaum <[EMAIL PROTECTED]> [2008-04-14 12:06]: > > > [...] > > > > > rm -f debian/changelog.in debian/menu debian/conffiles debian/post* > > > > > ./configure --prefix=/usr --sysconfdir=/etc > > > > > checking for a BSD-compatible install... /usr/bin/install -c > > > > > checking whether build environment is sane... yes > > > > > checking for gawk... no > > > > > checking for mawk... mawk > > > > > checking whether make sets $(MAKE)... yes > > > > > checking build type... RELEASE > > > > > checking for style of include used by make... GNU > > > > > checking for gcc... gcc > > > > > checking for C compiler default output file name... > > > > > configure: error: C compiler cannot create executables > > > > > See `config.log' for more details. > > > > > make: *** [build-stamp] Error 77 > > > [...] > > > This does not look like an openbox package problem to me. > > > What do you think? > > > > The problem is very likely to be caused by dpkg 1.14.18 now > > setting default values for CFLAGS and some other variables (see > > dpkg-buildpackage(1)). > > It looks like this is passing the CFLAGS defined in rules as > CFLAGS="-Wall -g" to gcc as gcc "-Wall -g" -O2 and this > fails due to the quotes. > > What is the proposed way of fixing this?
remove the quotes in debian/rules? :) > I can't really see > why the dpkg-buildpackage default values cause this. > The manual says: > "A set of environment variables for setting compiler and linker options > are set to default values unless already set in the environment." > > So this should not apply as I explicitly set the CFLAGS in rules. "in the environment"=="in the environment of dpkg-buildpackage". dpkg-buildpackage can't guess that you will set CFLAGS in debian/rules. -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |
signature.asc
Description: Digital signature