Ticket #24244 (closed defect: fixed)
hs-hashed-storage needs hs-mmap 0.4.x
|Reported by:||bhyde@…||Owned by:||gwright@…|
|Keywords:||Cc:||erik@…, josephholsten@…, asimmons@…, dpkatz@…, kmkaplan+macports@…, bryan.emrys@…, easieste@…, jrh@…, andreas.abel@…, Martin.Buchmann@…, matt.r.curtis@…, schnetter@…, kpreid@…|
hs-hashed storage, a requirement of darcs, won't build. It desires a version of hs-mmap in this range:
$ grep mmap /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-hashed-storage/work/hashed-storage-0.4.7/hashed-storage.cabal mmap >= 0.4 && < 0.5
by hs-mmap is 0.5.4; if you change that line so it attempts to build with the current hs-mmap your reward is assorted compile time failures from haskel.
$ sudo port install -d hs-hashed-storage Password: ---> Computing dependencies for hs-hashed-storage ---> Configuring hs-hashed-storage Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-hashed-storage/work/hashed-storage-0.4.7" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/gcc-4.0 " returned error 1 Command output: Configuring hashed-storage-0.4.7... Setup: At least the following dependencies are missing: mmap ==0.4.* Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.
My ports tree has undergone selfupdating, and 'list outdated' returns nothing.
$ sudo port selfupdate Password: ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.8.2 installed, MacPorts base version 1.8.2 downloaded. ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated $ port list outdated $
- Keywords hs-mmap hs-hashed-storage darcs removed
- Owner changed from macports-tickets@… to gwright@…
- Cc bhyde@… removed
comment:13 Changed 3 years ago by ryandesign@…
- Summary changed from hs-hashed-storage won't install to hs-hashed-storage needs hs-mmap 0.4.x