ports/116280: ports deskutils/wyrd remind.ml stops wyrd from compiling.

nostromo nostromo at xover.mud.at
Tue Sep 11 12:30:01 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list