Please, someone with amd64, test this with ghc-6.2.2 (that's the "old" version of GHC we've in the tree). Just run the regression tests and send the results over to me and Jon.
Ciao, Kili ps: tests on i386 were fine for ghc-6.2.2 and ghc-6.6.1. On Tue, Jun 05, 2007 at 03:26:37PM +0200, Jon Olsson wrote: > Date: Tue, 5 Jun 2007 15:26:37 +0200 > From: Jon Olsson <[EMAIL PROTECTED]> > To: ports@openbsd.org > Subject: Re: Update: darcs > Message-ID: <[EMAIL PROTECTED]> > X-CRM114-Status: Good ( pR: 127.7574 ) > > On Tue, Jun 05, 2007 at 01:39:48PM +0200, Matthias Kilian wrote: > > On Tue, Jun 05, 2007 at 09:31:50AM +0200, Jon Olsson wrote: > > > Hi, here's an update to darcs 1.0.9, please note that I've only tested > > > this with the GHC 6.6.1 port that Matthias Kilian recently submitted. > > > > - CONFIGURE_ARGS needs an additional --without-docs, else you get a > > pointless latex and dvips run. > > > > - The grep(1) command line of tests/missed_resolution_pl is still broken > > (not enough quotes), so is the patch we'd in our tree (not enough > > quotes, too). See patch (against the test script) at the end of > > this mail. > > Right, added to the updated diff, thanks. > > > > Testing on !i386 most appreciated. > > > > That's amd64 for now, since i386 and amd64 are the only archs with > > a working ghc. > > Yeah :) > > -- > Jon > diff -ruN -x CVS darcs/Makefile darcs.new/Makefile > --- darcs/Makefile Mon May 14 22:40:15 2007 > +++ darcs.new/Makefile Tue Jun 5 14:52:54 2007 > @@ -2,8 +2,8 @@ > > COMMENT= "advanced revision control system written in Haskell" > > -DISTNAME= darcs-1.0.8 > -PKGNAME= ${DISTNAME}p1 > +DISTNAME= darcs-1.0.9 > + > CATEGORIES= devel > HOMEPAGE= http://www.darcs.net/ > MASTER_SITES= ${HOMEPAGE} > @@ -19,7 +19,8 @@ > --datadir=${PREFIX}/share \ > --libexecdir=${PREFIX}/libexec/darcs \ > --sysconfdir=${PREFIX}/share/darcs \ > - --disable-mmap > + --disable-mmap \ > + --without-docs > CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ > LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" CFLAGS="" > > diff -ruN -x CVS darcs/distinfo darcs.new/distinfo > --- darcs/distinfo Thu Apr 5 17:37:53 2007 > +++ darcs.new/distinfo Mon Jun 4 19:58:57 2007 > @@ -1,5 +1,5 @@ > -MD5 (darcs-1.0.8.tar.gz) = p6JtGpjFZ13KtMLMMOulnQ== > -RMD160 (darcs-1.0.8.tar.gz) = qVMJ99x5sp1+TyN2J6owCoSqUzE= > -SHA1 (darcs-1.0.8.tar.gz) = 9p+y9d6zxSgbLq7Z/LiqP+VYKd0= > -SHA256 (darcs-1.0.8.tar.gz) = Ns9ksQqeCeS7LUvHg3GotRHn5bvxPesadU6Gew78/Kw= > -SIZE (darcs-1.0.8.tar.gz) = 1010010 > +MD5 (darcs-1.0.9.tar.gz) = B3Qg7sQ37N1F2Nxmgu5h+g== > +RMD160 (darcs-1.0.9.tar.gz) = Opcfd45DQ9kOiPG6iBXqPIgKwqE= > +SHA1 (darcs-1.0.9.tar.gz) = stIjjAHVMHlsKdtLRv1P2cIb6bY= > +SHA256 (darcs-1.0.9.tar.gz) = +EimM2OtctMhex60acJnwA6mCFpJEXLThatu2iELMNw= > +SIZE (darcs-1.0.9.tar.gz) = 1059363 > diff -ruN -x CVS darcs/patches/patch-GNUmakefile > darcs.new/patches/patch-GNUmakefile > --- darcs/patches/patch-GNUmakefile Sun Jul 30 23:02:32 2006 > +++ darcs.new/patches/patch-GNUmakefile Mon Jun 4 20:47:48 2007 > @@ -2,17 +2,14 @@ > > Don't try to build or install .ps docs, and don't regen the .html docs. > > ---- GNUmakefile.orig Fri Jun 9 15:01:54 2006 > -+++ GNUmakefile Fri Jun 9 15:02:22 2006 > -@@ -120,10 +120,9 @@ installbin: all > +--- GNUmakefile.orig Mon Jun 4 13:39:20 2007 > ++++ GNUmakefile Mon Jun 4 20:47:41 2007 > +@@ -122,7 +122,7 @@ installbin: all > $(INSTALL) -d $(DESTDIR)$(mandir)/man1 > $(INSTALL_DATA) darcs.1 $(DESTDIR)$(mandir)/man1/ > > --installdocs: darcs.ps manual/index.html > +-installdocs: manual/darcs.ps manual/index.html > +installdocs: > test -d $(DESTDIR)$(datadir)/doc/darcs/manual || \ > $(INSTALL) -d $(DESTDIR)$(datadir)/doc/darcs/manual > -- $(INSTALL_DATA) darcs.ps $(DESTDIR)$(datadir)/doc/darcs > $(INSTALL_DATA) manual/* $(DESTDIR)$(datadir)/doc/darcs/manual > - > - test -d $(DESTDIR)$(datadir)/doc/darcs/examples || \ > diff -ruN -x CVS darcs/patches/patch-configure > darcs.new/patches/patch-configure > --- darcs/patches/patch-configure Sun Jul 30 23:02:32 2006 > +++ darcs.new/patches/patch-configure Thu Jan 1 01:00:00 1970 > @@ -1,43 +0,0 @@ > -$OpenBSD: patch-configure,v 1.7 2006/07/30 21:02:32 alek Exp $ > - > -Don't build the postscript manual > - > ---- configure.orig Sun May 14 02:11:04 2006 > -+++ configure Fri Jun 9 15:04:52 2006 > -@@ -4306,7 +4306,7 @@ if test "$enable_mmap" = "no"; then > - fi > - > - > --TARGETS="darcs darcs.1" > -+TARGETS="darcs" > - INSTALLWHAT="installbin" > - BUILDDOC="no" > - > -@@ -4510,7 +4510,7 @@ fi > - echo "$as_me: WARNING: Cannot find dvips in your path!" >&2;} > - fi > - if test ! '(' '(' -z "$LATEX" ')' -o '(' -z "$DVIPS" ')' ')'; then > -- TARGETS="$TARGETS darcs.ps" > -+ TARGETS="$TARGETS" > - INSTALLWHAT="$INSTALLWHAT installdocs" > - BUILDDOC="yes" > - fi > -@@ -4631,15 +4631,15 @@ fi > - echo "$as_me: WARNING: Cannot find hevea in your path either!" >&2;} > - MAKEMANUAL="touch manual/index.html; echo Cannot make manual!" > - else > -- TARGETS="$TARGETS manual/index.html" > -+ TARGETS="$TARGETS" > - MAKEMANUAL="$HEVEA -o manual/index.html darcs.tex" > - fi > - else > -- TARGETS="$TARGETS manual/index.html" > -+ TARGETS="$TARGETS" > - MAKEMANUAL="cd manual && $HTLATEX ../darcs.tex && ln -sf > darcs.html index.html" > - fi > - else > -- TARGETS="$TARGETS manual/index.html" > -+ TARGETS="$TARGETS" > - MAKEMANUAL="$LATEX2HTML -split +1 -dir manual darcs.tex" > - PREPROCHTML="--html" > - fi > diff -ruN -x CVS darcs/patches/patch-tests_missed_resolution_pl > darcs.new/patches/patch-tests_missed_resolution_pl > --- darcs/patches/patch-tests_missed_resolution_pl Mon May 9 05:41:34 2005 > +++ darcs.new/patches/patch-tests_missed_resolution_pl Tue Jun 5 > 14:56:29 2007 > @@ -1,13 +1,18 @@ > -$OpenBSD: patch-tests_missed_resolution_pl,v 1.1 2005/05/09 03:41:34 dons > Exp $ > ---- tests/missed_resolution.pl.orig Mon May 9 11:03:08 2005 > -+++ tests/missed_resolution.pl Mon May 9 11:14:37 2005 > -@@ -47,7 +47,9 @@ darcs "pull --all ../tmp2"; > +--- tests/missed_resolution.pl.orig Mon Jun 4 13:39:21 2007 > ++++ tests/missed_resolution.pl Tue Jun 5 14:56:20 2007 > +@@ -46,8 +46,14 @@ darcs "pull --all ../tmp2"; > + # we should have a marked conflict now. > # we resolve it simply by removing conflict markers. > > - # I'm too lazy to translate this to Perl right now. > +-# I'm too lazy to translate this to Perl right now. > -`grep -v '\(\^ \^\|\*\*\|v v\)' A > tmp`; > -+#`grep -v '\(\^ \^\|\*\*\|v v\)' A > tmp`; > -+`sed '/\*\*/d;/v v/d;/\^ \^/d' A > tmp`; > ++open(A, "A") || die; > > ++open(TMP, ">tmp") || die; > > ++while (<A>) { > > ++ (/\^ \^|\*\*|v v/) or print TMP; > > ++} > > ++close(A); > > ++close(TMP); > > + > mv('tmp','A'); > > diff -ruN -x CVS darcs/patches/patch-tests_pull_pl > darcs.new/patches/patch-tests_pull_pl > --- darcs/patches/patch-tests_pull_pl Sun Jul 30 23:02:32 2006 > +++ darcs.new/patches/patch-tests_pull_pl Thu Jan 1 01:00:00 1970 > @@ -1,18 +0,0 @@ > -$OpenBSD: patch-tests_pull_pl,v 1.1 2006/07/30 21:02:32 alek Exp $ > ---- tests/pull.pl.orig Fri Jun 16 20:59:27 2006 > -+++ tests/pull.pl Thu Jul 6 12:34:14 2006 > -@@ -54,8 +54,12 @@ TAKE_LOCK: { > - } elsif ($^O =~ /msys/i) { > - pass('this test fails on windows, so ignore it'); > - } else { > -- like($out, qr#one/date\.t.+: permission denied#i, > -- 'expect permission denied error'); > -+ if(getuid() == 0) { > -+ pass("root never gets permission denied"); > -+ } else { > -+ like($out, qr#one/date\.t.+: permission denied#i, > -+ 'expect permission denied error'); > -+ } > - } > - }; > - -- Weg mit dieser verfluchten Demokratie wo alles das Wort führen will. -- Georg Christoph Lichtenberg