[cl-debian] Bug#488817: clisp - FTBFS: configure: error: C preprocessor "gcc -E" fails sanity check

Luca Capello luca at pca.it
Wed Jul 23 17:22:43 UTC 2008


notfixed 488817 1:2.44.1-3
tags 488817 normal
thanks

Hello!

On Sun, 20 Jul 2008 17:03:02 +0200, Luca Capello wrote:
> On Tue, 08 Jul 2008 01:14:03 +0200, Luca Capello wrote:
>> I investigated a bit more and actually the problem relies on CLISP's
>> configure: upstream added the support for autoconf --build in version
>> 2.45 [1].  So the ideal fix was to backport the upstream one, not only
>> for configure but various files [2].
>>
>> However, this seems to be more pain than expected and it's IMHO an
>> upstream bug: tagged as this and forwarded at [3].
>
> Actually, I now see two bugs: the FTBFS on s390 and the needed support
> for --build in ./configure.
>
> Since we're freezing [1], let's (try to) quickly fix the former (or at
> last drop s390 support) and than deal with the latter.

Unfortunately, the quick fix I opted for [2] didn't worked:

=====
./configure debian/build --prefix=/usr --fsstnd=debian --without-dynamic-ffi \
                --with-module=clx/mit-clx --with-module=berkeley-db
executing /build/buildd/clisp-2.44.1/debian/build/configure \
 --srcdir=/build/buildd/clisp-2.44.1/src --prefix=/usr --without-dynamic-ffi \
--with-module=clx/mit-clx --with-module=berkeley-db --cache-file=config.cache
configure: creating cache config.cache
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
configure: ** check for host type
checking build system type... s390x-ibm-linux-gnu
checking host system type... s390x-ibm-linux-gnu
checking for style of include used by make... GNU
checking for gcc... s390-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether s390-linux-gnu-gcc accepts -g... yes
checking for s390-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of s390-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... s390-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
configure: ** checks for programs
checking for gcc... (cached) s390-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether s390-linux-gnu-gcc accepts -g... (cached) yes
checking for s390-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of s390-linux-gnu-gcc... (cached) gcc3
checking how to run the C preprocessor... s390-linux-gnu-gcc -E
configure: error: C preprocessor "s390-linux-gnu-gcc -E" fails sanity check
See `config.log' for more details.
make: *** [configure-stamp] Error 1
=====

It seems we really need to wait for --build/--host [3].  In the
meantime, I'll drop s390 support.  This is the reason I downgrade this
bug to Severity: normal, I expect s390 support to be back ASAP.

Thx, bye,
Gismo / Luca

Footnotes: 
[2] export CC=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)-gcc
    http://git.debian.org/?p=pkg-common-lisp/clisp.git;a=commitdiff;h=1cb1cc2ec574235f09c5587b745a988faf47791e
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491573
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-debian/attachments/20080723/2fab97b7/attachment.sig>


More information about the Cl-debian mailing list