[cl-debian] Bug#488817: clisp - FTBFS: configure: error: C preprocessor "gcc -E" fails sanity check
Luca Capello
luca at pca.it
Mon Jul 7 23:14:03 UTC 2008
tags 488817 + upstream
forwarded 488817 http://thread.gmane.org/gmane.lisp.clisp.devel/18516
thanks
Hi Bastian!
On Wed, 02 Jul 2008 21:39:28 +0200, Luca Capello wrote:
> On Wed, 02 Jul 2008 17:23:47 +0200, Luca Capello wrote:
>> On Wed, 02 Jul 2008 17:17:38 +0200, Bastian Blank wrote:
>>> The configure call lacks a --build=$(DEB_BUILD_GNU_TYPE) argument.
>>
>> Thank you for the hint, I'll test on raptor.d.o if this is the only
>> thing needed.
>
> This doesn't seem to work, at least on amd64 :-(
[...]
> Indeed, if I simply use "export CC=$(DEB_BUILD_GNU_TYPE)-gcc" the
> package is built and checked by debdiff shows no difference with the
> package built without the export. However, since I'm not a GCC expert,
> I'm not sure this is the preferred way.
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].
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://clisp.cvs.sourceforge.net/clisp/clisp/configure?revision=1.121&view=markup
[2] other than the necessary files, I corrected the documentation, too:
=====
luca at gismo:~/test-clisp/clisp$ quilt push
Applying patch 01_standard-autoconf-options-build-host.patch
patching file configure
patching file unix/INSTALL
patching file clisp.spec
patching file doc/clisp.xml.in
patching file doc/_clisp.1
patching file doc/_clisp.html
patching file src/makemake.in
Now at patch 01_standard-autoconf-options-build-host.patch
luca at gismo:~/test-clisp/clisp$
=====
[3] http://thread.gmane.org/gmane.lisp.clisp.devel/18516
-------------- 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/20080708/1791554c/attachment.sig>
More information about the Cl-debian
mailing list