Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig
Hello,
On Tue, Jul 14, 2009 at 09:08:12AM -0400, Lucas Nussbaum wrote:
> Package: ocaml-gettext
> Version: 0.3.2-2
> Severity: serious
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20090713 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
> > make[2]: Entering directory `/build/user-ocaml-gettext_0.3.2-2-amd64-G1dM1j/ocaml-gettext-0.3.2/libgettext-ocaml'
> > ocamlfind ocamlc -package "fileutils" -c gettextConfig.ml
> > ocamlfind ocamlc -a -o gettextBase.cma gettextConfig.cmo gettextCategory.cmo gettextTypes.cmo gettextUtils.cmo gettextModules.cmo gettextCompat.cmo gettext.cmo gettextFormat_parser.cmo gettextFormat_lexer.cmo gettextFormat.cmo gettextMo_int32.cmo gettextMo_parser.cmo gettextMo_lexer.cmo gettextMo.cmo gettextDummy.cmo
> > ocamlfind ocamlopt -package "fileutils" -c gettextConfig.ml
> > ocamlfind ocamlopt -a -o gettextBase.cmxa gettextConfig.cmx gettextCategory.cmx gettextTypes.cmx gettextUtils.cmx gettextModules.cmx gettextCompat.cmx gettext.cmx gettextFormat_parser.cmx gettextFormat_lexer.cmx gettextFormat.cmx gettextMo_int32.cmx gettextMo_parser.cmx gettextMo_lexer.cmx gettextMo.cmx gettextDummy.cmx
> > File "_none_", line 1, characters 0-1:
> > Error: Files gettextModules.cmx and gettextConfig.cmx
> > make inconsistent assumptions over implementation GettextConfig
> > make[2]: *** [gettextBase.cmxa] Error 2
>
> The full build log is available from:
> http://people.debian.org/~lucas/logs/2009/07/13/ocaml-gettext_0.3.2-2_lsid64.buildlog
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot. Internet was not
> accessible from the build systems.
>
Well, I see the build log and I agree that there is an error. However I
cannot understand why a second "./configure" invocation is done (just
before the error). This is what trigger a recompilation of
gettextConfig and the error.
Recently, the package get recompiled on buildd and all work fine:
https://buildd.debian.org/fetch.cgi?pkg=ocaml-gettext;ver=0.3.2-2%2Bb1;arch=amd64;stamp=1246573363
So, I would like to understand what is the difference between your
buildd (on 13/07/2009) and "official" amd64 buildd (on 02/07/2009).
FYI, I can reproduce the bug but I have not the least idea why the
configure is invoked a second time. I would like to gather some data
before trying to find a solution.
Regards
Sylvain Le Gall
ps: Is the difference of CDBS version could be the cause (0.4.56 vs
0.4.57)
Reply to: