Opened 14 years ago

Closed 14 years ago

#24120 closed defect (worksforme)

darcs: hs-HTTP port not found

Reported by: ddebernardy@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: darcs, hs-HTTP

Description

DB:~ $ sudo port -d install darcs
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/darcs
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/darcs
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 darcs.
DEBUG: Requested variant i386 is not provided by port darcs.
DEBUG: Requested variant macosx is not provided by port darcs.
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
--->  Computing dependencies for darcs
DEBUG: Searching for dependency: gmp
DEBUG: Found Dependency: receipt exists for gmp
DEBUG: Searching for dependency: haskell-platform
DEBUG: Didn't find receipt, going to depspec regex for: haskell-platform
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/haskell-platform
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/haskell-platform
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 haskell-platform.
DEBUG: Requested variant i386 is not provided by port haskell-platform.
DEBUG: Requested variant macosx is not provided by port haskell-platform.
DEBUG: Searching for dependency: hs-haskeline
DEBUG: Didn't find receipt, going to depspec regex for: hs-haskeline
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-haskeline
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-haskeline
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-haskeline.
DEBUG: Requested variant i386 is not provided by port hs-haskeline.
DEBUG: Requested variant macosx is not provided by port hs-haskeline.
DEBUG: Searching for dependency: hs-hashed-storage
DEBUG: Didn't find receipt, going to depspec regex for: 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: Searching for dependency: hs-utf8-string
DEBUG: Didn't find receipt, going to depspec regex for: hs-utf8-string
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-utf8-string
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-utf8-string
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-utf8-string.
DEBUG: Requested variant i386 is not provided by port hs-utf8-string.
DEBUG: Requested variant macosx is not provided by port hs-utf8-string.
DEBUG: Searching for dependency: hs-zlib
DEBUG: Didn't find receipt, going to depspec regex for: hs-zlib
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-zlib
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-zlib
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-zlib.
DEBUG: Requested variant i386 is not provided by port hs-zlib.
DEBUG: Requested variant macosx is not provided by port hs-zlib.
DEBUG: Searching for dependency: hs-HTTP
DEBUG: Didn't find receipt, going to depspec regex for: hs-HTTP
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-HTTP
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-HTTP
DEBUG: Could not find Portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-HTTP
    while executing
"mportopen $portinfo(porturl) $options $variations"
    (procedure "mportdepends" line 66)
    invoked from within
"mportdepends $mport $target"
    (procedure "mportexec" line 35)
    invoked from within
"mportexec $workername $target"
Error: Unable to execute port: Could not find Portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/hs-HTTP
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (12)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Try the following:

sudo port selfupdate
sudo port install darcs

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Agreed; hs-http was renamed to hs-HTTP in r64792.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: hs-HTTP added
Summary: darcs port not founddarcs: hs-HTTP port not found

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

Owner: changed from macports-tickets@… to gwright@…

comment:5 in reply to:  1 Changed 14 years ago by ddebernardy@…

Replying to macsforever2000@…:

Try the following:

sudo port selfupdate
sudo port install darcs

worked fine. thanks!

comment:6 Changed 14 years ago by ddebernardy@…

or not... :-D

DB:~ $ sudo port install darcs
--->  Computing dependencies for darcs
--->  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:
zlib -any

running sudo port install zlib manually didn't help. :-(

comment:7 Changed 14 years ago by ddebernardy@…

tail of the debug output, for reference:

--->  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:
zlib -any
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: The following dependencies failed to build: hs-hashed-storage hs-haskeline hs-utf8-string hs-platform-html hs-platform-mtl hs-platform-parsec hs-platform-regex-compat hs-platform-regex-base hs-platform-regex-posix hs-zlib
Error: Status 1 encountered during processing.

comment:8 Changed 14 years ago by ddebernardy@…

related: #24144

comment:9 Changed 14 years ago by ddebernardy@…

manually running sudo port install hs-zlib seems to make a difference...

comment:10 Changed 14 years ago by ddebernardy@…

For information, once it's successfully built:

DB:~/src $ darcs get http://common-lisp.net/project/clbuild/clbuild
Converting old-fashioned repository to hashed format...                        
*******************************************************************************
Fetching a hashed repository would be faster.  Perhaps you could persuade
the maintainer to run darcs optimize --upgrade with darcs 2.4.0 or higher?
*******************************************************************************

comment:11 Changed 14 years ago by ddebernardy@…

mm, nevermind that last comment. I take it that should go to the clbuild maintainer. :-P

comment:12 Changed 14 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

Closing since the original error is solved.

Note: See TracTickets for help on using tickets.