Bug#537011: [Build-common-hackers] Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Lucas Nussbaum
reassign 537011 cdbs 0.4.57
forcemerge 537011 536992
thanks
On 14/07/09 at 20:03 +0200, Jonas Smedegaard wrote:
> On Tue, Jul 14, 2009 at 06:55:31PM +0200, Stéphane Glondu wrote:
> >Stéphane Glondu a écrit :
> >> Here is the aptitude log for the last upgrade of the chroot:
> >>   [...]
> >>   [UPGRADE] cdbs 0.4.56 -> 0.4.57
> >>   [...]
> >> The bug must have been introduced by one of these packages.
> >
> >The guilty appears to be cdbs... Actually, there is little doubt:
> >
> > 1. login into a clean squeeze chroot
> > 2. install ocaml-gettext build-dependencies
> > 3. ugrade the chroot to sid, but keep squeeze version of cdbs
> > 4. the build of ocaml-gettext is successful
> > 5. upgrade cdbs
> > 6. ocaml-gettext FTBFS
> >
> >Lucas, haven't you observed other build failures with packages using cdbs?
> >
> >I'm not yet sure whether this bug should be reaffected to cdbs... I am
> >bcc'ing them to see what they think.
> 
> Confirmed: This is a cdbs bug!
> 
> It is a regression caused by the following change in cdbs release 0.4.57 
> (Git commit 93d5ac):

So, reassigning to cdbs, and also merging with the gdb ftbfs caused by
the same problem (verified). the libpuzzle one was already closed.

Stéphane, thanks a lot for investigating this issue.
-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537011: [Build-common-hackers] Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Tue, Jul 14, 2009 at 06:55:31PM +0200, Stéphane Glondu wrote:
>Stéphane Glondu a écrit :
>> Here is the aptitude log for the last upgrade of the chroot:
>>   [...]
>>   [UPGRADE] cdbs 0.4.56 -> 0.4.57
>>   [...]
>> The bug must have been introduced by one of these packages.
>
>The guilty appears to be cdbs... Actually, there is little doubt:
>
> 1. login into a clean squeeze chroot
> 2. install ocaml-gettext build-dependencies
> 3. ugrade the chroot to sid, but keep squeeze version of cdbs
> 4. the build of ocaml-gettext is successful
> 5. upgrade cdbs
> 6. ocaml-gettext FTBFS
>
>Lucas, haven't you observed other build failures with packages using cdbs?
>
>I'm not yet sure whether this bug should be reaffected to cdbs... I am
>bcc'ing them to see what they think.

Confirmed: This is a cdbs bug!

It is a regression caused by the following change in cdbs release 0.4.57 
(Git commit 93d5ac):

   * Fix autotools.mk not completing all dependencies of post-patches
 before doing configure.

The configure target was made to depend on post-patches - but that is a 
double-colon rule so is always remade :-P

Sorry - my fault :-(


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCgAGBQJKXMhzAAoJECx8MUbBoAEhBgoQAIRMXReap2blWJQHhfSkrztm
74/6yGI5sc69OgV5KmVJbxCUmqnxRhZ1buUlAVGobJkL3IRNX/TCvz0rEQke3MFR
TY19q/mvbx4Hlr8TJtXaEsOZGMIcFDpo/ASfAy3fW5LGJ1ioyri9xhgccF9mTsPU
9FahMqbqWIxsrT/gAYPgQH2/K3pId3+EG1vlm2LxxmKRNxRFGXoqdjjnE1IsZJOH
YsuqdRshhfWoImkeYJPJL/ZeSlx9rYUvzq/Nz2k6Y6wbZjq/BdbYJI5fNYL+x1hc
NghbBog8dORwK99VaUPywk/EK/8CWOAm+N+RrnHo8A54hppOF1aUbxTV7S04t7n1
0+unu1cRmexv4vk8uZkfDRaMBOno1/GJahLBgJA2oE6vcDNS3M9lFKik17+BO+ne
Pit/gjaifosTayxCdON/s+48tFEoHCOBaUeWS60ZDB/+hKc45bPcCO6UwrfclbRh
ECOzGR6CnQ0BuCIPbC9OeVhK3BsJ/ylnLP4QeF5rlVnX0XGeQP6kOFvvA4ThpCY1
7D0iqPCCKVzipJmm4S9cRq5+94i77OSJF2dNbwEpTKmNibqHHN1KFu7VqGp+fy4f
VJs54zqTUAqvQP4Q+Ya5HVn3xZH+uc/wktXVspHxaiJZ6u9nHINO5j5wGFJcipf6
osLuJdAguhJAw47jds96
=eXUl
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Sylvain Le Gall
Hello,

On Tue, Jul 14, 2009 at 06:55:31PM +0200, Stéphane Glondu wrote:
> Stéphane Glondu a écrit :
> > Here is the aptitude log for the last upgrade of the chroot:
> >   [...]
> >   [UPGRADE] cdbs 0.4.56 -> 0.4.57
> >   [...]
> > The bug must have been introduced by one of these packages.
> 
> The guilty appears to be cdbs... Actually, there is little doubt:
> 
>  1. login into a clean squeeze chroot
>  2. install ocaml-gettext build-dependencies
>  3. ugrade the chroot to sid, but keep squeeze version of cdbs
>  4. the build of ocaml-gettext is successful
>  5. upgrade cdbs
>  6. ocaml-gettext FTBFS
> 
> Lucas, haven't you observed other build failures with packages using cdbs?
> 
> I'm not yet sure whether this bug should be reaffected to cdbs... I am
> bcc'ing them to see what they think.

I fix the FTBFS but the double configure invocation remains (but no more
problematic).

This double invocation is a CDBS bugs (which trigger an ocaml-gettext
bug).

Regards
Sylvain Le Gall





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Stéphane Glondu
Stéphane Glondu a écrit :
> Here is the aptitude log for the last upgrade of the chroot:
>   [...]
>   [UPGRADE] cdbs 0.4.56 -> 0.4.57
>   [...]
> The bug must have been introduced by one of these packages.

The guilty appears to be cdbs... Actually, there is little doubt:

 1. login into a clean squeeze chroot
 2. install ocaml-gettext build-dependencies
 3. ugrade the chroot to sid, but keep squeeze version of cdbs
 4. the build of ocaml-gettext is successful
 5. upgrade cdbs
 6. ocaml-gettext FTBFS

Lucas, haven't you observed other build failures with packages using cdbs?

I'm not yet sure whether this bug should be reaffected to cdbs... I am
bcc'ing them to see what they think.


Cheers,

-- 
Stéphane





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Sylvain Le Gall
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...@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)





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Stéphane Glondu
Lucas Nussbaum a écrit :
>> 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

This bug is rather strange, since all the modules involved are from
ocaml-gettext.

This is even stranger, since it has been binNMU'ed successfully recently
(11 days ago or so).

I can reproduce it in a clean sid chroot. But when I try in a clean
squeeze chroot with all OCaml-related packages from sid (which is
basically the system I use everyday, but I tried for scratch for the
test), ocaml-gettext builds fine. When I upgrade the chroot entirely to
sid, the build fails again.

Here is the aptitude log for the last upgrade of the chroot:

  [UPGRADE] binutils 2.19.1-1 -> 2.19.51.20090704-1
  [UPGRADE] bzip2 1.0.5-2 -> 1.0.5-3
  [UPGRADE] cdbs 0.4.56 -> 0.4.57
  [UPGRADE] cdebootstrap 0.5.4 -> 0.5.5
  [UPGRADE] debconf 1.5.26 -> 1.5.27
  [UPGRADE] debconf-i18n 1.5.26 -> 1.5.27
  [UPGRADE] debhelper 7.2.14 -> 7.2.21
  [UPGRADE] debianutils 3.1.3 -> 3.2
  [UPGRADE] dpkg 1.15.2 -> 1.15.3.1
  [UPGRADE] dpkg-dev 1.15.2 -> 1.15.3.1
  [UPGRADE] e2fslibs 1.41.3-1 -> 1.41.8-1
  [UPGRADE] e2fsprogs 1.41.3-1 -> 1.41.8-1
  [UPGRADE] gcc-4.4-base 4.4.0-5 -> 4.4.0-10
  [UPGRADE] initscripts 2.86.ds1-63 -> 2.86.ds1-65
  [UPGRADE] libacl1 2.2.47-2 -> 2.2.47-3
  [UPGRADE] libblkid1 1.41.3-1 -> 1.41.8-1
  [UPGRADE] libbz2-1.0 1.0.5-2 -> 1.0.5-3
  [UPGRADE] libc6 2.9-12 -> 2.9-20
  [UPGRADE] libc6-dev 2.9-12 -> 2.9-20
  [UPGRADE] libcomerr2 1.41.3-1 -> 1.41.8-1
  [UPGRADE] libdebian-installer-extra4 0.61 -> 0.63
  [UPGRADE] libdebian-installer4 0.61 -> 0.63
  [UPGRADE] libgcc1 1:4.4.0-5 -> 1:4.4.0-10
  [UPGRADE] libgcrypt11 1.4.4-2 -> 1.4.4-3
  [UPGRADE] libgdbm3 1.8.3-4 -> 1.8.3-6
  [UPGRADE] libglib2.0-0 2.20.1-2 -> 2.20.4-1
  [UPGRADE] libgmp3c2 2:4.2.4+dfsg-8.1 -> 2:4.3.1+dfsg-1
  [UPGRADE] libgomp1 4.4.0-5 -> 4.4.0-10
  [UPGRADE] libncurses5 5.7+20090523-1 -> 5.7+20090607-1
  [UPGRADE] libncurses5-dev 5.7+20090523-1 -> 5.7+20090607-1
  [UPGRADE] libncursesw5 5.7+20090523-1 -> 5.7+20090607-1
  [UPGRADE] libreadline5 5.2-4 -> 5.2-5
  [UPGRADE] libslang2 2.1.3-3 -> 2.1.4-3
  [UPGRADE] libss2 1.41.3-1 -> 1.41.8-1
  [UPGRADE] libstdc++6 4.4.0-5 -> 4.4.0-10
  [UPGRADE] libtext-charwidth-perl 0.04-5+b1 -> 0.04-6
  [UPGRADE] libtext-iconv-perl 1.7-1+b1 -> 1.7-2
  [UPGRADE] libuuid1 1.41.3-1 -> 1.41.8-1
  [UPGRADE] libxml2 2.7.3.dfsg-1 -> 2.7.3.dfsg-2
  [UPGRADE] linux-libc-dev 2.6.26-17 -> 2.6.30-2
  [UPGRADE] ncurses-base 5.7+20090523-1 -> 5.7+20090607-1
  [UPGRADE] ncurses-bin 5.7+20090523-1 -> 5.7+20090607-1
  [UPGRADE] perl 5.10.0-23 -> 5.10.0-24
  [UPGRADE] perl-base 5.10.0-23 -> 5.10.0-24
  [UPGRADE] perl-modules 5.10.0-23 -> 5.10.0-24
  [UPGRADE] readline-common 5.2-4 -> 5.2-5
  [UPGRADE] sysv-rc 2.86.ds1-63 -> 2.86.ds1-65
  [UPGRADE] sysvinit 2.86.ds1-63 -> 2.86.ds1-65
  [UPGRADE] sysvinit-utils 2.86.ds1-63 -> 2.86.ds1-65
  [UPGRADE] zlib1g 1:1.2.3.3.dfsg-13 -> 1:1.2.3.3.dfsg-14

The bug must have been introduced by one of these packages.


Cheers,

-- 
Stéphane, still investigating




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537011: ocaml-gettext: FTBFS: Error: Files gettextModules.cmx and gettextConfig.cmx make inconsistent assumptions over implementation GettextConfig

2009-07-14 Thread Lucas Nussbaum
Package: ocaml-gettext
Version: 0.3.2-2
Severity: serious
User: debian...@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.

-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org