Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 12:20:14 GMT
From:      nostromo <nostromo@xover.mud.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/116280: ports deskutils/wyrd remind.ml stops wyrd from compiling.
Message-ID:  <200709111220.l8BCKEVX020598@www.freebsd.org>
Resent-Message-ID: <200709111230.l8BCU1E6016859@freefall.freebsd.org>

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

>Number:         116280
>Category:       ports
>Synopsis:       ports deskutils/wyrd remind.ml stops wyrd from compiling.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 11 12:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     nostromo
>Release:        FreeBSD 6.0-RELEASE-p5 i386
>Organization:
none
>Environment:
FreeBSD leo.risc.uni-linz.ac.at 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Thu Mar  2 15:07:39 CET 2006     root@leo.risc.uni-linz.ac.at:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
port deskutils/wyrd complains about an error in remind.ml
since version 1.4.1 on my release. 

File "remind.ml", line 399, characters 21-30:
Parse error: 'with' expected after [expr level .] (in [expr])

this can easily fixed by changing line 399 from

"      Unix.localtime timestamp with Unix.tm_sec  = 0;"

to

"      (Unix.localtime timestamp) with Unix.tm_sec  = 0;"

i'm not sure if this is either a fbsd-maintainer problem, a
caml problem or some other related problem. on my debian-
machine it compiles without errors. sorry if this is not the
right place to submit a request for this bug.
>How-To-Repeat:
cd /usr/ports/deskutils/wyrd; make
>Fix:
--- remind.ml   Mon Aug 20 03:24:26 2007
+++ remind.ml.nos       Tue Sep 11 14:17:42 2007
@@ -396,7 +396,7 @@
 (* initialize a new three-month reminder record *)
 let create_three_month ?(suppress_advwarn=false) timestamp =
    let month_start_tm = {
-      Unix.localtime timestamp with Unix.tm_sec  = 0;
+      (Unix.localtime timestamp) with Unix.tm_sec  = 0;
                                     Unix.tm_min  = 0;
                                     Unix.tm_hour = 0;
                                     Unix.tm_mday = 1


>Release-Note:
>Audit-Trail:
>Unformatted:



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