Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 14:56:29 -0800 (PST)
From:      Henrik Motakef <henrik.motakef@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35872: Port devel/ocamlweb broken
Message-ID:  <200203132256.g2DMuTm47302@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         35872
>Category:       ports
>Synopsis:       Port devel/ocamlweb broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 13 15:00:06 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Motakef
>Release:        4.5-STABLE
>Organization:
>Environment:
FreeBSD apo.hmotakef.int 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Thu Mar  7 07:04:06 CET 2002     root@apo.hmotakef.int:/usr/obj/usr/src/sys/APO  i386
     
>Description:
Two problems building the devel/ocamlweb port:

First, the checksum of the manual (ocamlweb-man.ps.gz) has changed.

Second, building (with NO_CHECKSUM=yes) fails with the following error message:

-----
===>  Building for ocamlweb-1.0
ocamlc.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/misc.mli
ocamlopt.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/misc.ml
ocamlopt.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/clflags.ml
ocamlc.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/terminfo.mli
ocamlopt.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/terminfo.ml
ocamlc.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/warnings.mli
ocamlopt.opt -c -I ocaml-parser -I ocamllex-parser  ocaml-parser/warnings.ml
The implementation ocaml-parser/warnings.ml
does not match the interface ocaml-parser/warnings.cmi:
Values do not match:
  val parse_options : bool -> string -> unit
is not included in
  val parse_options : iserror:bool -> string -> unit
*** Error code 2

Stop in /usr/ports/devel/ocamlweb/work/ocamlweb-1.0.
*** Error code 1

Stop in /usr/ports/devel/ocamlweb.
*** Error code 1

Stop in /usr/ports/devel/ocamlweb.
*** Error code 1

Stop in /usr/ports/devel/ocamlweb.
-----

This is due to a change introduced with OCaml 3.04: It defaults to "label mode", and the copiler needs the option "-nolabels" to build ocamlweb.
>How-To-Repeat:
portinstall ocamlweb
>Fix:
1) Rebuild checksum
2) Find an elegant way to pass the option "-nolabels" to ocamlc/ocamlopt.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203132256.g2DMuTm47302>