On Mon, Sep 12, 2005 at 10:22:33AM +0200, Sven Luther wrote: > On Mon, Sep 12, 2005 at 09:01:24AM +0200, Christian T. Steigies wrote: > > On Sun, Sep 11, 2005 at 10:35:53PM +0200, Sven Luther wrote: > > > On Sun, Sep 11, 2005 at 10:24:07PM +0200, Christian T. Steigies wrote: > > > > Package: ocaml > > > > Version: 3.08.3-8 > > > > Severity: important > > > > > > > > Automatic build of ocaml_3.08.3-8 on tanda by sbuild/m68k 42 > > > > [...] > > > > ** Using build dependencies supplied by package: > > > > Build-Depends: debhelper (>> 4.0.2), tcl8.4-dev, tk8.4-dev, > > > > libncurses5-dev, libgdbm-dev, dpatch, bzip2 > > > > [...] > > > > cd ../camltk; make > > > > make[4]: Entering directory > > > > `/build/buildd/ocaml-3.08.3/otherlibs/labltk/camltk' > > > > make[4]: Nothing to be done for `all'. > > > > make[4]: Leaving directory > > > > `/build/buildd/ocaml-3.08.3/otherlibs/labltk/camltk' > > > > ../../../boot/ocamlrun ../../../tools/ocamlmklib -ocamlc > > > > '../../../ocamlcomp.sh' -o labltk -oc labltk \ > > > > -I ../labltk -I ../camltk ../support/support.cmo > > > > ../support/rawwidget.cmo ../support/widget.cmo ../support/protocol.cmo > > > > ../support/textvariable.cmo ../support/timer.cmo > > > > ../support/fileevent.cmo ../support/camltkwrap.cmo tk.cmo place.cmo > > > > wm.cmo imagephoto.cmo canvas.cmo button.cmo text.cmo label.cmo > > > > scrollbar.cmo image.cmo encoding.cmo pixmap.cmo palette.cmo font.cmo > > > > message.cmo menu.cmo entry.cmo listbox.cmo focus.cmo menubutton.cmo > > > > pack.cmo option.cmo toplevel.cmo frame.cmo dialog.cmo imagebitmap.cmo > > > > clipboard.cmo radiobutton.cmo tkwait.cmo grab.cmo selection.cmo > > > > scale.cmo optionmenu.cmo winfo.cmo grid.cmo checkbutton.cmo bell.cmo > > > > tkvars.cmo cTk.cmo cPlace.cmo cResource.cmo cWm.cmo cImagephoto.cmo > > > > cCanvas.cmo cButton.cmo cText.cmo cLabel.cmo cScrollbar.cmo cImage.cmo > > > > cEncoding.cmo cPixmap.cmo cPalette.cmo cFont.cmo cMessage.cmo cMenu.cmo > > > > cEntry.cmo cListbox.cmo cFocus.cmo cMenubutton.cmo cPack.cmo > > > > cOption.cmo cToplevel.cmo cFrame.cmo cDialog.cmo cImagebitmap.cmo c > > > > Clipboard.cmo cRadiobutton.cmo cTkwait.cmo cGrab.cmo cSelection.cmo > > > > cScale.cmo cOptionmenu.cmo cWinfo.cmo cGrid.cmo cCheckbutton.cmo > > > > cBell.cmo cTkvars.cmo labltk.cmo camltk.cmo \ > > > > -L/usr/lib -ltk8.4 -ltcl8.4 -ldl -L/usr/X11R6/lib -lX11 > > > > ../../../ocamlcomp.sh -verbose -linkall -o labltktop -I ../support \ > > > > -I ../../../toplevel toplevellib.cma \ > > > > -I ../labltk -I ../camltk labltk.cma \ > > > > -I ../../unix unix.cma \ > > > > -I ../../str str.cma \ > > > > topstart.cmo > > > > make[3]: *** [labltktop] Segmentation fault > > > > make[3]: *** Deleting file `labltktop' > > > > make[3]: Leaving directory > > > > `/build/buildd/ocaml-3.08.3/otherlibs/labltk/lib' > > > > make[2]: *** [all] Error 2 > > > > > > Hi christian, ... > > > > > > This is the same problem we saw with lablgl, since labltktop is built in > > > the > > > same way as the lablgl toplevel. > > > > > > This has been traced to a tk8.4 issue, and i notice that back then ocaml > > > 3.08.3-7 built just fine, including the labltk toplevel. > > > > With tk8.4-dev (8.4.9-1) installed ocmal and labltktop build fine. > > Cool, do you have an idea of what the problems was ? Or was tk8.4èdev missing > from the ocaml build-deps ?
You said the failure was related to tk8.4, so I installed an older version. With tk8.4 8.4.11-1 the build fails, with 8.4.9-1 it succeeds. Both times tk8.4 (and tk8.4-dev) were installed of course, since it is in the build-depends. No idea why it fails with 8.4.11 though, you are the ocaml expert... Christian