[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476027: ocaml-shout: FTBFS: make[3]: *** No rule to make target `Makefile.shoutfile'. Stop.



On Mon, Apr 14, 2008 at 12:32:36 +0100, Romain Beauxis wrote:

> > ./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr
> > --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info configuring
> > ocaml-shout 0.2.5
> > checking for ocamlc... /usr/bin/ocamlc
> > ocaml version is 3.10.1
> > ocaml library path is /usr/lib/ocaml/3.10.1
> > checking for ocamlopt... /usr/bin/ocamlopt
> > checking ocamlopt version... ok
> > checking for ocamlc.opt... no
> > checking for ocamlopt.opt... no
> > checking for ocamldep... /usr/bin/ocamldep
> > checking for ocamllex... /usr/bin/ocamllex
> > checking for ocamlyacc... /usr/bin/ocamlyacc
> > checking for ocamldoc... /usr/bin/ocamldoc
> > checking for ocamlmktop... /usr/bin/ocamlmktop
> > checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
> > checking for C compiler default output file name...
> > configure: error: C compiler cannot create executables
> 
> So, exactly the same as the dozen of other serious report we just get.
> Now, for the issue itself, I'm pretty surprised since it seems to fail in 
> something that is not really relevant for either the package or the software, 
> the configure script.
> 
> We rely on general and external functions, so there are two possibilities:
>  (1) We need to regenerated those scripts
>  (2) There is something broken between configure and gcc 4.3
>  (3) There was something broken in your build configuration.
> 
> I tend to think it would have been more clever to find out if (2) oe (3) is 
> the culprit, since all the reports would not be in the good place in this 
> case.
> 
> I'll try to look at this.
> 
Trivially reproducible with the new dpkg-dev:
configure:2528: checking for C compiler default output file name
configure:2555: i486-linux-gnu-gcc "-O2 -g -fPIC"   conftest.c  >&5
i486-linux-gnu-gcc: "-O2: No such file or directory
cc1: error: unrecognized command line option "-fPIC""

debian/rules contains:
CFLAGS = "-O2 -g -fPIC"

It looks like the new dpkg-dev exports that to the environment, so
CFLAGS in configure has the above value (quotes included), which is
broken.

Cheers,
Julien




Reply to: