Eric:

I wish I had the bandwidth to update the port -- I'm not the port maintainer, BTW. All I can do is submit patches and hope for the best. My bandwidth is limited by the fact that I manage a computer systems research department (yes, get the laugh in now -- a technically engaged manager causes many people cognitive dissonance.)

Also, recent changes in the Haskell platform are what drives the problem forward. Evidently, mmap 0.5.x is in the H-P, which drives an interim patch to hashed-storage. Unless the H-P platform maintainer for MacPorts bumps mmap back down to 0.4.x, the interim patch is a necessary evil.

I'm sure that I could try out Darcs 2.4.4 and hope that it works with hashed-storage 0.4.11 and mmap 0.5.x. But I don't think I'd get to working on that until my next "research day off" next week.

Heck, if I were to prioritize, I'd be more inclined to get ghc 6.12 up and running in MacPorts. That's a longer duration project. In the meantime, though, my patch is a reasonable "BandAid (tm)" for those who are stuck in the port upgrade outdated process due to a broken hashed-storage upgrade.


-scooter

On Jun 18, 2010, at 1:48 PM, Eric Kow wrote:

On Fri, Jun 18, 2010 at 13:38:17 -0700, Scott Michel wrote:
Here's the patch file, but keep in mind (a) you either need your own
local MacPorts hierarchy or need to be root/sudo when you apply it,
(b) if you apply it to the /opt/local or {prefix} devel/hs-hashed-
storage directory, it'll get overwritten the next time you update or
selfupdate.

Thanks for the work, Scooter!

I'm sure lots of folks appreciate actually being able to build Darcs on
MacPorts, but I was wondering if you'd instead submitting an update to
get the port building on Darcs 2.4.4 (which requires a version of
hashed-storage that in turn requires mmap 0.4)?

From a maintenance standpoint, I think I'd be a bit more comfortable
with as much a stock Darcs as possible :-)  Also darcs 2.4.4 fixes
some bugs in 2.4.1, see http://wiki.darcs.net/Releases/2.4

Note also that the upcoming Darcs 2.5 will require mmap-0.5
See also a related bug http://bugs.darcs.net/issue1753

Cheers,

Eric

PS. If I may do a bit of advertising, there's also an official OS X
   binary on http://wiki.darcs.net/Binaries now

--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to