unison2.27.57 version 2.27.57-3 failed to build on i386

Bug #803210 reported by Stefano Rivera on 2011-06-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unison2.27.57 (Debian)
Fix Released
unison2.27.57 (Ubuntu)

Bug Description

unison2.27.57 version 2.27.57-3 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+source/unison2.27.57/2.27.57-3/+build/2471879

Direct link to the build log: https://launchpad.net/ubuntu/+source/unison2.27.57/2.27.57-3/+build/2471879/+files/buildlog_ubuntu-oneiric-i386.unison2.27.57_2.27.57-3_FAILEDTOBUILD.txt.gz

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

ocamlopt: pty.c ---> pty.o
ocamlopt -I lwt -I ubase -c /build/buildd/unison2.27.57-2.27.57/pty.c
Linking unison
ocamlopt -verbose -I lwt -I ubase -o unison unix.cmxa str.cmxa -cclib -lutil ubase/projectInfo.cmx ubase/myMap.cmx ubase/safelist.cmx ubase/uprintf.cmx ubase/util.cmx ubase/rx.cmx ubase/uarg.cmx ubase/prefs.cmx ubase/trace.cmx lwt/pqueue.cmx lwt/lwt.cmx lwt/lwt_util.cmx lwt/lwt_unix.cmx case.cmx pred.cmx uutil.cmx fileutil.cmx name.cmx path.cmx fspath.cmx fingerprint.cmx abort.cmx osx.cmx props.cmx fileinfo.cmx os.cmx lock.cmx clroot.cmx common.cmx tree.cmx checksum.cmx terminal.cmx transfer.cmx xferhint.cmx remote.cmx globals.cmx copy.cmx stasher.cmx update.cmx files.cmx sortri.cmx recon.cmx transport.cmx strings.cmx uicommon.cmx uitext.cmx test.cmx main.cmx linktext.cmx osxsupport.o pty.o
+ as -o '/tmp/camlstartupb63ff5.o' '/tmp/camlstartup85eef1.s'
+ gcc -o 'unison' '-Llwt' '-Lubase' '-L/usr/lib/ocaml' '/tmp/camlstartupb63ff5.o' '/usr/lib/ocaml/std_exit.o' 'linktext.o' 'main.o' 'test.o' 'uitext.o' 'uicommon.o' 'strings.o' 'transport.o' 'recon.o' 'sortri.o' 'files.o' 'update.o' 'stasher.o' 'copy.o' 'globals.o' 'remote.o' 'xferhint.o' 'transfer.o' 'terminal.o' 'checksum.o' 'tree.o' 'common.o' 'clroot.o' 'lock.o' 'os.o' 'fileinfo.o' 'props.o' 'osx.o' 'abort.o' 'fingerprint.o' 'fspath.o' 'path.o' 'name.o' 'fileutil.o' 'uutil.o' 'pred.o' 'case.o' 'lwt/lwt_unix.o' 'lwt/lwt_util.o' 'lwt/lwt.o' 'lwt/pqueue.o' 'ubase/trace.o' 'ubase/prefs.o' 'ubase/uarg.o' 'ubase/rx.o' 'ubase/util.o' 'ubase/uprintf.o' 'ubase/safelist.o' 'ubase/myMap.o' 'ubase/projectInfo.o' '/usr/lib/ocaml/str.a' '/usr/lib/ocaml/unix.a' '/usr/lib/ocaml/stdlib.a' '-lcamlstr' '-lunix' '-lutil' 'osxsupport.o' 'pty.o' '/usr/lib/ocaml/libasmrun.a' -lm -ldl
pty.o: In function `c_openpty':
pty.c:(.text+0x74): undefined reference to `openpty'
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
make[1]: *** [unison] Error 2
make[1]: Leaving directory `/build/buildd/unison2.27.57-2.27.57'
make: *** [build/unison2.27.57] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build finished at 20110519-1504
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/unison2.27.57-2.27.57

Changed in unison2.27.57 (Ubuntu):
importance: Undecided → Medium
Julian Taylor (jtaylor) wrote :

patch available in debian bug

tags: added: patch-forwarded-debian
Changed in unison2.27.57 (Ubuntu):
status: New → Triaged
Changed in unison2.27.57 (Debian):
status: Unknown → Fix Released
Julian Taylor (jtaylor) wrote :

this issue was fixed in 2.27.57-4

unison2.27.57 (2.27.57-4) unstable; urgency=low

  [ Stéphane Glondu ]
  * Team upload
  * Remove obsolete README.source
  * Bump Standards-Version to 3.9.2

  [ Julian Taylor ]
  * Fix build with ld --as-needed (Closes: #633354)
 -- Julian Taylor <email address hidden> Mon, 11 Jul 2011 20:53:06 +0000

Changed in unison2.27.57 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.