[Bug 770786] [NEW] ocsigen version 1.3.3-1 failed to build on amd64 with GCC-4.6/oneiric

2011-04-26 Thread Matthias Klose
Public bug reported:

ocsigen version 1.3.3-1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: 
https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2463653

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive
/test-rebuild-20110413/+buildjob/2463653/+files/buildlog_ubuntu-natty-
amd64.ocsigen_1.3.3-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging 
chroot-autobuild'.
Excerpt 1106 lines into the build log:

/usr/lib/ocaml/pcre/libpcre_stubs.a(pcre_stubs.o): In function 
`pcre_version_stub':
(.text+0x1475): undefined reference to `pcre_version'
/usr/lib/ocaml/pcre/libpcre_stubs.a(pcre_stubs.o): In function 
`pcre_ocaml_init':
(.text+0x152f): undefined reference to `pcre_callout'
collect2: ld returned 1 exit status
File caml_startup, line 1, characters 0-1:
Error: Error during linking
make[3]: *** [ocsigen.opt] Error 2
make[3]: Leaving directory `/build/buildd/ocsigen-1.3.3/server'
make[2]: *** [server.opt] Error 2
make[2]: Leaving directory `/build/buildd/ocsigen-1.3.3'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/ocsigen-1.3.3'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
**
Build finished at 20110425-0252
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/ocsigen-1.3.3

** Affects: ocsigen (Ubuntu)
 Importance: High
 Status: New


** Tags: ftbfs oneiric

** Changed in: ocsigen (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/770786

Title:
  ocsigen version 1.3.3-1 failed to build on amd64 with GCC-4.6/oneiric

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 770786] [NEW] ocsigen version 1.3.3-1 failed to build on amd64 with GCC-4.6/oneiric

2011-04-26 Thread Stéphane Glondu
Le 26/04/2011 11:04, Matthias Klose a écrit :
 ocsigen version 1.3.3-1 failed to build on amd64 with GCC-4.6/oneiric
 [...]
 /usr/lib/ocaml/pcre/libpcre_stubs.a(pcre_stubs.o): In function 
 `pcre_version_stub':
 (.text+0x1475): undefined reference to `pcre_version'
 /usr/lib/ocaml/pcre/libpcre_stubs.a(pcre_stubs.o): In function 
 `pcre_ocaml_init':
 (.text+0x152f): undefined reference to `pcre_callout'
 collect2: ld returned 1 exit status
 File caml_startup, line 1, characters 0-1:
 Error: Error during linking
 make[3]: *** [ocsigen.opt] Error 2
 make[3]: Leaving directory `/build/buildd/ocsigen-1.3.3/server'
 make[2]: *** [server.opt] Error 2
 make[2]: Leaving directory `/build/buildd/ocsigen-1.3.3'
 make[1]: *** [override_dh_auto_build] Error 2
 make[1]: Leaving directory `/build/buildd/ocsigen-1.3.3'
 make: *** [build] Error 2
 dpkg-buildpackage: error: debian/rules build gave error exit status 2
 **
 Build finished at 20110425-0252
 FAILED [dpkg-buildpackage died]
 Purging chroot-autobuild/build/buildd/ocsigen-1.3.3

It builds after upgrading pcre-ocaml to 6.2.2-2. I suspect the relevant 
patch is

 http://git.debian.org/?p=pkg-ocaml-maint/packages/pcre-
ocaml.git;a=blob;f=debian/patches/0003-Change-position-of-flag-
lpcre.patch;h=b8933bbcccd107d34c3193e08c221e46e96a142e;hb=HEAD


Cheers,

-- 
Stéphane

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/770786

Title:
  ocsigen version 1.3.3-1 failed to build on amd64 with GCC-4.6/oneiric

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs