Re: Bug#618783: ibm-3270: FTBFS on kfreebsd-amd64: /bin/sh: kfreebsd-gnu-gcc: not found
Control: tags -1 + patch
When generating an Imakefile for x3270, for some reason the
interpolation of @CC@ with "x86_64-kfreebsd-gnu-gcc" goes wrong, and
"-kfreebsd-gnu-gcc" is put there instead.
This actually gets executed by make as "kfreebsd-gnu-gcc", which does
not exist, and the return status ignored due to the preceding "-", but
the build fails later instead.
I don't understand why this problem only happened on kfreebsd-amd64
builds, but might be due to length of that string, or some special
character being interpreted by whatever sed/awk script does this.
It is easily worked around with the attached patch (which avoids
re-defining CC, which is already properly set).
Thanks,
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Index: ibm-3270-3.3.10ga4/x3270/Imakefile.in
===================================================================
--- ibm-3270-3.3.10ga4.orig/x3270/Imakefile.in 2009-09-18 03:08:55.000000000 +0100
+++ ibm-3270-3.3.10ga4/x3270/Imakefile.in 2013-05-02 19:48:30.999967000 +0100
@@ -73,7 +73,7 @@
EXTRA_LDOPTIONS = @LDFLAGS@
EXTRA_LIBRARIES = @LIBS@
EXTRA_INCLUDES = @CPPFLAGS@
- CC = @CC@
+# CC = @CC@
INSTALL = @INSTALL@
@NIXCCOPTIONS@
Reply to: