Opened 15 years ago

Closed 14 years ago

#24244 closed defect (fixed)

hs-hashed-storage needs hs-mmap 0.4.x

Reported by: bhyde@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: erik@…, josephholsten@…, asimmons@…, dpkatz@…, kmkaplan+macports@…, bryan.emrys@…, easye, jrhope, andreas.abel@…, MartinBuchmann (Martin Buchmann), matt.r.curtis@…, eschnett (Erik Schnetter), kpreid (Kevin Reid)
Port: hs-hashed-storage

Description

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
$ 

Attachments (2)

hs-hashed-storage.patch (2.5 KB) - added by scooter.phd@… 14 years ago.
Patch to Portfile, source for hashed-storage 0.4.11
hs-hashed-storage-patch (2.8 KB) - added by scooter.phd@… 14 years ago.
Updated patch with corrected checksums (but otherwise, the same)

Download all attachments as: .zip

Change History (35)

comment:1 Changed 15 years ago by bhyde@…

Cc: bhyde@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: bhyde@… removed
Keywords: hs-mmap hs-hashed-storage darcs removed
Owner: changed from macports-tickets@… to gwright@…

Please remember to cc the maintainer, and note that you do not need to be in cc when you are the reporter.

A couple of incidental usage notes: First, port list is not what you want here (see its description in the man page), to see which ports are outdated use port outdated. Second, command-line options placed after the action are interpreted as actionflags, whereas -d is a global option and so needs to be right after 'port' to enable debug mode (see the synopsis in the man page).

comment:3 Changed 15 years ago by erik@…

Cc: erik@… added

Cc Me!

comment:4 Changed 15 years ago by bhyde@…

jmr's note could be read as a request for the output of "port -d install hs-hashed-storage", rather than "port install -d hs-hashed-storage"; so here ya go...

$ sudo port -d install hs-hashed-storage
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-hashed-storage
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-hashed-storage
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/haskell-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port hs-hashed-storage.
DEBUG: Requested variant i386 is not provided by port hs-hashed-storage.
DEBUG: Requested variant macosx is not provided by port hs-hashed-storage.
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-hashed-storage/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-hashed-storage/work
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/ghc
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ghc 6.10.4_2 exists in the ports tree
DEBUG: ghc 6.10.4_2 +darwin_9_i386 is the latest installed
DEBUG: ghc 6.10.4_2 +darwin_9_i386 is active
DEBUG: Merging existing variants darwin_9_i386 into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/ghc
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port ghc.
DEBUG: Requested variant i386 is not provided by port ghc.
DEBUG: Requested variant macosx is not provided by port ghc.
DEBUG: Executing variant darwin_9_i386 provides darwin_9_i386
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: autoconf 2.65_1 exists in the ports tree
DEBUG: autoconf 2.65_1  is the latest installed
DEBUG: autoconf 2.65_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port autoconf.
DEBUG: Requested variant i386 is not provided by port autoconf.
DEBUG: Requested variant macosx is not provided by port autoconf.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: perl5 is *not* installed by MacPorts
DEBUG: Searching for dependency: perl5
DEBUG: Didn't find receipt, going to depspec regex for: perl5
DEBUG: Found Dependency: path: /opt/local/bin filename: perl regex: ^perl$
DEBUG: perl5 not installed, soft dependency satisfied
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/m4
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: m4 1.4.14_0 exists in the ports tree
DEBUG: m4 1.4.14_0  is the latest installed
DEBUG: m4 1.4.14_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/m4
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port m4.
DEBUG: Requested variant i386 is not provided by port m4.
DEBUG: Requested variant macosx is not provided by port m4.
DEBUG: No need to upgrade! m4 1.4.14_0 >= m4 1.4.14_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/help2man
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: help2man 1.37.1_1 exists in the ports tree
DEBUG: help2man 1.37.1_1  is the latest installed
DEBUG: help2man 1.37.1_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/help2man
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port help2man.
DEBUG: Requested variant i386 is not provided by port help2man.
DEBUG: Requested variant macosx is not provided by port help2man.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: p5-locale-gettext 1.05_2 exists in the ports tree
DEBUG: p5-locale-gettext 1.05_2  is the latest installed
DEBUG: p5-locale-gettext 1.05_2  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port p5-locale-gettext.
DEBUG: Requested variant i386 is not provided by port p5-locale-gettext.
DEBUG: Requested variant macosx is not provided by port p5-locale-gettext.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.17_4 exists in the ports tree
DEBUG: gettext 0.17_4  is the latest installed
DEBUG: gettext 0.17_4  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gettext.
DEBUG: Requested variant i386 is not provided by port gettext.
DEBUG: Requested variant macosx is not provided by port gettext.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.13.1_0 exists in the ports tree
DEBUG: libiconv 1.13.1_0  is the latest installed
DEBUG: libiconv 1.13.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port libiconv.
DEBUG: Requested variant i386 is not provided by port libiconv.
DEBUG: Requested variant macosx is not provided by port libiconv.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gperf 3.0.4_0 exists in the ports tree
DEBUG: gperf 3.0.4_0  is the latest installed
DEBUG: gperf 3.0.4_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gperf.
DEBUG: Requested variant i386 is not provided by port gperf.
DEBUG: Requested variant macosx is not provided by port gperf.
DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0
DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0  is the latest installed
DEBUG: ncurses 5.7_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncurses.
DEBUG: Requested variant i386 is not provided by port ncurses.
DEBUG: Requested variant macosx is not provided by port ncurses.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0  is the latest installed
DEBUG: ncursesw 5.7_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port ncursesw.
DEBUG: Requested variant i386 is not provided by port ncursesw.
DEBUG: Requested variant macosx is not provided by port ncursesw.
DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_0 exists in the ports tree
DEBUG: expat 2.0.1_0  is the latest installed
DEBUG: expat 2.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port expat.
DEBUG: Requested variant i386 is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
DEBUG: No need to upgrade! gettext 0.17_4 >= gettext 0.17_4
DEBUG: No need to upgrade! p5-locale-gettext 1.05_2 >= p5-locale-gettext 1.05_2
DEBUG: No need to upgrade! help2man 1.37.1_1 >= help2man 1.37.1_1
DEBUG: No need to upgrade! autoconf 2.65_1 >= autoconf 2.65_1
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gmp 5.0.1_0 exists in the ports tree
DEBUG: gmp 5.0.1_0  is the latest installed
DEBUG: gmp 5.0.1_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port gmp.
DEBUG: Requested variant i386 is not provided by port gmp.
DEBUG: Requested variant macosx is not provided by port gmp.
DEBUG: No need to upgrade! gmp 5.0.1_0 >= gmp 5.0.1_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5.8 5.8.9_3 exists in the ports tree
DEBUG: perl5.8 5.8.9_3  is the latest installed
DEBUG: perl5.8 5.8.9_3  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port perl5.8.
DEBUG: Requested variant i386 is not provided by port perl5.8.
DEBUG: Requested variant macosx is not provided by port perl5.8.
DEBUG: No need to upgrade! perl5.8 5.8.9_3 >= perl5.8 5.8.9_3
DEBUG: No need to upgrade! ghc 6.10.4_2 >= ghc 6.10.4_2
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-binary
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: hs-binary 0.5.0.2_0 exists in the ports tree
DEBUG: hs-binary 0.5.0.2_0  is the latest installed
DEBUG: hs-binary 0.5.0.2_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-binary
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/haskell-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port hs-binary.
DEBUG: Requested variant i386 is not provided by port hs-binary.
DEBUG: Requested variant macosx is not provided by port hs-binary.
DEBUG: No need to upgrade! hs-binary 0.5.0.2_0 >= hs-binary 0.5.0.2_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-dataenc
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: hs-dataenc 0.13.0.2_0 exists in the ports tree
DEBUG: hs-dataenc 0.13.0.2_0  is the latest installed
DEBUG: hs-dataenc 0.13.0.2_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-dataenc
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/haskell-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port hs-dataenc.
DEBUG: Requested variant i386 is not provided by port hs-dataenc.
DEBUG: Requested variant macosx is not provided by port hs-dataenc.
DEBUG: No need to upgrade! hs-dataenc 0.13.0.2_0 >= hs-dataenc 0.13.0.2_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-mmap
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: hs-mmap 0.5.4_0 exists in the ports tree
DEBUG: hs-mmap 0.5.4_0  is the latest installed
DEBUG: hs-mmap 0.5.4_0  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-mmap
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.8.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/haskell-1.0.tcl
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port hs-mmap.
DEBUG: Requested variant i386 is not provided by port hs-mmap.
DEBUG: Requested variant macosx is not provided by port hs-mmap.
DEBUG: No need to upgrade! hs-mmap 0.5.4_0 >= hs-mmap 0.5.4_0
--->  Computing dependencies for hs-hashed-storage
DEBUG: Searching for dependency: ghc
DEBUG: Found Dependency: receipt exists for ghc
DEBUG: Searching for dependency: hs-binary
DEBUG: Found Dependency: receipt exists for hs-binary
DEBUG: Searching for dependency: hs-dataenc
DEBUG: Found Dependency: receipt exists for hs-dataenc
DEBUG: Searching for dependency: hs-mmap
DEBUG: Found Dependency: receipt exists for hs-mmap
DEBUG: Searching for dependency: ghc
DEBUG: Found Dependency: receipt exists for ghc
DEBUG: Executing org.macports.main (hs-hashed-storage)
--->  Fetching hs-hashed-storage
DEBUG: Executing org.macports.fetch (hs-hashed-storage)
--->  hashed-storage-0.4.7.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/hs-hashed-storage
DEBUG: Pinging hackage.haskell.org...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging aarnet.au.distfiles.macports.org...
DEBUG: Pinging lil.fr.distfiles.macports.org...
DEBUG: hackage.haskell.org ping time is 10000
DEBUG: distfiles.macports.org ping time is 108.102
DEBUG: aarnet.au.distfiles.macports.org ping time is 277.271
DEBUG: lil.fr.distfiles.macports.org ping time is 96.703
--->  Attempting to fetch hashed-storage-0.4.7.tar.gz from http://lil.fr.distfiles.macports.org/hs-hashed-storage
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 54390  100 54390    0     0  58735      0 --:--:-- --:--:-- --:--:-- 78662
--->  Verifying checksum(s) for hs-hashed-storage
DEBUG: Executing org.macports.checksum (hs-hashed-storage)
--->  Checksumming hashed-storage-0.4.7.tar.gz
DEBUG: Correct (md5) checksum for hashed-storage-0.4.7.tar.gz
DEBUG: Correct (sha1) checksum for hashed-storage-0.4.7.tar.gz
DEBUG: Correct (rmd160) checksum for hashed-storage-0.4.7.tar.gz
--->  Extracting hs-hashed-storage
DEBUG: Executing org.macports.extract (hs-hashed-storage)
--->  Extracting hashed-storage-0.4.7.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/hs-hashed-storage/hashed-storage-0.4.7.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-hashed-storage/work" && /usr/bin/gzip -dc /opt/local/var/macports/distfiles/hs-hashed-storage/hashed-storage-0.4.7.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
/usr/bin/gnutar: Read 8704 bytes from -
DEBUG: Executing org.macports.patch (hs-hashed-storage)
--->  Configuring hs-hashed-storage
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (hs-hashed-storage)
DEBUG: Environment: CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386' MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled 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'
Configuring hashed-storage-0.4.7...
Setup: At least the following dependencies are missing:
mmap ==0.4.*
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
DEBUG: Backtrace: 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
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for hs-hashed-storage): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:5 Changed 15 years ago by josephholsten@…

Cc: josephholsten@… added

Cc Me!

comment:6 Changed 15 years ago by josephholsten@…

I contacted the maintainer of the package listed at http://hackage.haskell.org/package/hashed-storage, perhaps he can help.

I tried to build manually, like bhyde, by hacking the cabal file to ignore the dependency on mmap >=0.4 && < 0.5. I got the following error.

% runhaskell Setup configure -v --enable-library-profiling
...[warnings, etc]...
[ 7 of 12] Compiling Storage.Hashed.Index ( Storage/Hashed/Index.hs, dist/build/Storage/Hashed/Index.o )

Storage/Hashed/Index.hs:217:12:
    Couldn't match expected type `(ForeignPtr a1, Int, Int)'
           against inferred type `(a2, b)'
    In the pattern: (x, _)
    In a stmt of a 'do' expression:
        (x, _) <- mmapFileForeignPtr
                    indexpath ReadWrite (Just (0, size + size_magic))
    In the expression:
        do (x, _) <- mmapFileForeignPtr
                       indexpath ReadWrite (Just (0, size + size_magic))
           return (x, size)

This seems to be because hs-mmap 0.5 changes the function signature of mmapFileForeignPtr. For those daringest few who might hack this into submission, here's a link to the most recent (0.5.6) hs-mmap docs: http://hackage.haskell.org/packages/archive/mmap/0.5.6/doc/html/System-IO-MMap.html

comment:7 Changed 15 years ago by josephholsten@…

I heard back from the maintainer. He sent me a patch that fixes hashed-storage with mmap 0.5. They've made these changes in head, but the darcs team doesn't want to bump mmap to 0.5 during 2.4.x. I'm not sure what the best thing to do is.

Revert hs-mmap back to 0.4? Create a hs-mmap0.4 port? Apply the patch and see if it plays nice with darcs?

I haven't had a chance to test this patch, so please let me know how it works.

15:16:21 | morn@twi:~/dev/darcs/hashed-storage -> darcs diff -p 'mmap >= 0.5'
Sun Mar  7 12:31:07 CET 2010  Petr Rockai <me@mornfall.net>
 * Use mmap >= 0.5.
diff -rN -u -p old-hashed-storage/hashed-storage.cabal new-hashed-storage/hashed-storage.cabal
--- old-hashed-storage/hashed-storage.cabal     2010-04-18 15:16:23.000000000 +0200
+++ new-hashed-storage/hashed-storage.cabal     2010-04-18 15:16:23.000000000 +0200
@@ -73,7 +73,7 @@ library
                   dataenc,
                   binary,
                   zlib,
-                   mmap >= 0.4 && < 0.5
+                   mmap >= 0.5 && < 0.6

    c-sources: Bundled/sha2.c

diff -rN -u -p old-hashed-storage/Storage/Hashed/Index.hs new-hashed-storage/Storage/Hashed/Index.hs
--- old-hashed-storage/Storage/Hashed/Index.hs  2010-04-18 15:16:23.000000000 +0200
+++ new-hashed-storage/Storage/Hashed/Index.hs  2010-04-18 15:16:23.000000000 +0200
@@ -214,8 +214,8 @@ mmapIndex indexpath req_size = do
              | otherwise -> 0
  case size of
    0 -> return (castForeignPtr nullForeignPtr, size)
-    _ -> do (x, _) <- mmapFileForeignPtr indexpath
-                                         ReadWrite (Just (0, size + size_magic))
+    _ -> do (x, _, _) <- mmapFileForeignPtr indexpath
+                                            ReadWriteEx (Just (0, size + size_magic))
            return (x, size)

data IndexM m = Index { mmap :: (ForeignPtr ())

comment:8 Changed 15 years ago by josephholsten@…

It looks like the only port depending on hs-mmap is hs-hashed-storage. There is no reason for it to be at a version that breaks its only dependent. We should revert r65344 until we actually need a newer hs-mmap.

comment:9 Changed 15 years ago by asimmons@…

Cc: asimmons@… added

Cc Me!

comment:10 Changed 15 years ago by dpkatz@…

Cc: dpkatz@… added

Cc Me!

comment:11 Changed 15 years ago by kmkaplan+macports@…

Cc: kmkaplan+macports@… added

Cc Me!

comment:12 Changed 15 years ago by bryan.emrys@…

Cc: bryan.emrys@… added

Cc Me!

comment:13 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: hs-hashed-storage won't installhs-hashed-storage needs hs-mmap 0.4.x

Has duplicate #24810.

comment:14 Changed 15 years ago by bhyde@…

I'd like to agree with josephholsten@… suggestion , ie. "It looks like the only port depending on hs-mmap is hs-hashed-storage. There is no reason for it to be at a version that breaks its only dependent. We should revert r65344 until we actually need a newer hs-mmap."

Loosing darcs, which is what this leads, makes the angels sad.

comment:15 Changed 15 years ago by josephholsten@…

Okay, it looks like the trick for reverting to an older version is to bump the 'epoch' keyword on the portfile. See more info in the guide: http://guide.macports.org/#reference.keywords

comment:16 Changed 15 years ago by asimmons@…

Do you mean bump the epoch in hs-mmap? There's no epoch keyword to bump in its Portfile (or hs-hashed-storage for that matter). What value should it be set to?

comment:17 Changed 15 years ago by easye

Cc: easieste@… added

Cc Me!

comment:18 in reply to:  16 Changed 15 years ago by easye

Replying to asimmons@…:

Do you mean bump the epoch in hs-mmap? There's no epoch keyword to bump in its Portfile (or hs-hashed-storage for that matter). What value should it be set to?

I think he means add an epoch keyword to hs-mmap, setting to a value like '20100513'. This will force systems that have hs-mmap-0.5.4 to be 'upgraded' to hs-mmap-0.4.1. Later, when we get the right version of hs-mmap in the port system, we upgrade the epoch keyword *once* to the new date.

comment:19 Changed 15 years ago by jrhope

Cc: jrh@… added

Cc Me!

comment:20 Changed 15 years ago by andreas.abel@…

Cc: andreas.abel@… added

Cc Me!

comment:21 Changed 14 years ago by MartinBuchmann (Martin Buchmann)

Cc: Martin.Buchmann@… added

Cc Me!

comment:22 Changed 14 years ago by matt.r.curtis@…

Cc: matt.r.curtis@… added

Cc Me!

comment:23 Changed 14 years ago by matt.r.curtis@…

For those of you trying to get this to work, I did it like so:

% cd $(port dir hs-mmap)
% sudo cp -p Portfile Portfile.orig
% sudo port edit hs-mmap

There I changed haskell-setup to 0.4.1, added a line "epoch 1", and updated the checksums to the version r65344. Then:

% sudo port -d checksum hs-mmap
% sudo port -d livecheck hs-mmap
% sudo port -d install hs-mmap 

"checksum" just verified that I had pasted in the checksums correctly. "livecheck" said "hs-mmap seems to have been updated (port version: 0.4.1, new version: 0.5.6)", but I figure that's OK.

comment:24 in reply to:  23 ; Changed 14 years ago by matt.r.curtis@…

Replying to matt.r.curtis@…:

For those of you trying to get this to work, I did it like so:

Note that this still doesn't let me install darcs, because now it wants an earlier version of hs-hashed-storage (0.4.11, I have 0.4.7). Also please note I've only been playing with macports for a few days so my instructions might break everything for all I know. Take care.

comment:25 in reply to:  24 Changed 14 years ago by matt.r.curtis@…

Replying to matt.r.curtis@…:

Note that this still doesn't let me install darcs, because now it wants an earlier version of hs-hashed-storage (0.4.11, I have 0.4.7).

Er, of course I meant later. Anyway I got hs-hashed-storage updated after following this ticket:

https://trac.macports.org/ticket/24607

Now I can install darcs!

comment:26 Changed 14 years ago by gwright@…

Status: newassigned

comment:27 Changed 14 years ago by jlobraco@…

I can confirm that the patch given above along with the one in https://trac.macports.org/ticket/24607 work. I was able to successfully install darcs after making those changes locally.

comment:28 Changed 14 years ago by eschnett (Erik Schnetter)

Cc: schnetter@… added

Cc Me!

comment:29 Changed 14 years ago by kpreid (Kevin Reid)

Cc: kpreid@… added

Cc Me!

comment:30 in reply to:  7 ; Changed 14 years ago by scooter.phd@…

Appears to work just fine. I'm not a heavy user of darcs, but enough to shake things out. Haven't heard anything to the contrary from the darcs-users list.

Changed 14 years ago by scooter.phd@…

Attachment: hs-hashed-storage.patch added

Patch to Portfile, source for hashed-storage 0.4.11

comment:31 in reply to:  30 ; Changed 14 years ago by scooter.phd@…

Replying to scooter.phd@…:

Appears to work just fine. I'm not a heavy user of darcs, but enough to shake things out. Haven't heard anything to the contrary from the darcs-users list.

I had previously posted this Portfile+patch to the darcs-users list for other people to shake out. So far, no complaints, just compliments.

comment:32 in reply to:  31 Changed 14 years ago by scooter.phd@…

Replying to scooter.phd@…:

Replying to scooter.phd@…:

Appears to work just fine. I'm not a heavy user of darcs, but enough to shake things out. Haven't heard anything to the contrary from the darcs-users list.

I had previously posted this Portfile+patch to the darcs-users list for other people to shake out. So far, no complaints, just compliments.

Needed to update the checksums.

Changed 14 years ago by scooter.phd@…

Attachment: hs-hashed-storage-patch added

Updated patch with corrected checksums (but otherwise, the same)

comment:33 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.