Opened 12 years ago

Closed 12 years ago

#35646 closed defect (fixed)

lablgtk2: Error: Unbound class Odoc_html.html

Reported by: DanielO (Daniel O'Connor) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc: piotr@…, Bruno.Guillaume@…
Port: lablgtk2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build ocamlc.opt -I +ocamldoc -pp "camlp4o pa_macro.cmo -D OCAML_308" -c gtkdoc.ml
:info:build File "gtkdoc.ml", line 70, characters 12-26:
:info:build Error: Unbound class Odoc_html.html

Attachments (2)

main.log (219.0 KB) - added by DanielO (Daniel O'Connor) 12 years ago.
main_variant_rsvg.log (233.9 KB) - added by Bruno.Guillaume@… 12 years ago.

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by DanielO (Daniel O'Connor)

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: lablgtk2 doesn't buildlablgtk2: Error: Unbound class Odoc_html.html

comment:2 Changed 12 years ago by piotr@…

I have the same problem also on lion.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; mountainlion removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

As shipped, this version of lablgtk2 is incompatible with ocaml 4. Here is the patch to fix it: https://lists.forge.ocamlcore.org/pipermail/lablgtk-list/2012-June/001951.html

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: piotr@… added
Resolution: fixed
Status: assignedclosed

comment:5 Changed 12 years ago by Bruno.Guillaume@…

Resolution: fixed
Status: closedreopened

The new revision 96555 changes the Portfile but the revision number does not change, so lablgtk2 installation still fails for me.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Bruno.Guillaume@… added

I don't understand. It was a build failure only, not a runtime failure, therefore a revision increase is not necessary or warranted. Please "sudo port selfupdate", "sudo port clean lablgtk2", and then try again. If it fails again, attach the new main.log.

Changed 12 years ago by Bruno.Guillaume@…

Attachment: main_variant_rsvg.log added

comment:7 Changed 12 years ago by Bruno.Guillaume@…

In fact "sudo port install lablgtk2" goes well but "sudo port install lablgtk2 +rsvg" (the one I need) fails with the log attached (main_variant_rsvg.log).

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Strange; even the +rsvg variant builds fine for me.

comment:9 Changed 12 years ago by Bruno.Guillaume@…

It works. The problem was on my side (inconsistency with some local port...)

Thanks for the help and sorry for the noise

comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.