[Build-common-hackers] Bug#576967: cdbs: Splits CC into multiple env-var words
Daniel Schepler
dschepler at gmail.com
Thu Apr 8 16:14:26 UTC 2010
Package: cdbs
Version: 0.4.77
Severity: serious
From my pbuilder build log for abiword:
...
touch debian/stamp-autotools-files
chmod a+x /tmp/buildd/abiword-2.8.2/./configure
mkdir -p .
cd . && CC="gcc" CC="-Wl,--as-needed" CXX="g++" CXX="-Wl,--as-needed" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /tmp/buildd/abiword-2.8.2/./configure --build=x86_64-linux-gnu --prefix=/usr --
includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/abiword" --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=. --
enable-static --enable-dynamic --enable-clipart --enable-templates --enable-collab-backend-xmpp --enable-collab-backend-tcp --enable-collab-backend-service --enable-shave --enable-plugins="aiksaurus applix babelfish bmp clarisworks collab command docbook eml
freetranslation gdict gimp goffice google grammar hancom hrtext iscii kword latex loadbindings mathview mht mif mswrite opendocument openwriter openxml opml ots paint passepartout pdb pdf presentation psion s5 sdw t602 urldict wikipedia wmf wml
wordperfect wpg xslfo garble" --without-gnomevfs --with-gio --with-goffice
configure: WARNING: unrecognized options: --disable-silent-rules, --enable-dynamic
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... no
checking for gcc... -Wl,--as-needed
checking for C compiler default output file name...
configure: error: in `/tmp/buildd/abiword-2.8.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [debian/stamp-autotools] Error 77
dpkg-buildpackage: error: debian/rules build gave error exit status 2
This appears to be the result from debian/rules setting
CC := gcc -Wl,--as-needed
and similarly for CXX. This used to work fine.
(Setting to RC severity since it causes abiword to FTBFS.)
--
Daniel Schepler
More information about the Build-common-hackers
mailing list