Opened 14 years ago

Closed 14 years ago

#26081 closed defect (invalid)

Cannot install hs-hashed-storage-04

Reported by: eschnett (Erik Schnetter) Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: hs-hashed-storage-04

Description (last modified by jmroot (Joshua Root))

The command

sudo port upgrade darcs

fails with the error message

--->  Computing dependencies for hs-hashed-storage-04
--->  Configuring hs-hashed-storage-04
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for hs-hashed-storage-04 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-hashed-storage-04/main.log
Error: Problem while installing hs-hashed-storage-04
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (3.3 KB) - added by eschnett (Erik Schnetter) 14 years ago.
log file with error message

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by eschnett (Erik Schnetter)

Attachment: main.log added

log file with error message

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

Description: modified (diff)
Owner: changed from macports-tickets@… to gwright@…
Port: hs-hashed-storage-04 added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:2 Changed 14 years ago by yaseppochi (Stephen J. Turnbull)

It appears that Cabal or something changed to require registration in /opt/local/lib/ghc-6.10.4/package.conf but that these ports were not upgraded to be registered there. For me

sudo port uninstall -f hs-binary hs-zlib hs-dataenc hs-utf8-string hs-haskeline
sudo port clean --all hs-binary hs-zlib hs-dataenc hs-utf8-string hs-haskeline
sudo port install hs-binary hs-zlib hs-dataenc hs-utf8-string hs-haskeline
sudo port -u upgrade hs-hashed-storage
# I needed to fiddle with "sudo port activate -f hs-hashed-storage-04" here.  YMMV

allowed me to upgrade hs-hashed-storage, and then darcs (hs-utf-8-string and hs-haskeline are for darcs, hs-hashed-storage didn't need them -- I figure this saves you some typing). You may not want to do clean --all, but I suspect you do need to clean out the binary packages if they are build on your system.

comment:3 in reply to:  2 Changed 14 years ago by eschnett (Erik Schnetter)

Stephen

Thanks for the instructions; I was now able to upgrade darcs.

-erik

comment:4 Changed 14 years ago by gwright@…

Resolution: invalid
Status: newclosed

I'll close this out. This seems to be another instance of the generic ghc problem that cabal update can mess with the ghc packages independently of MacPorts, which leads to dependency problems. I discussed some solutions with people at the Haskell Implementor's Workshop in September; I hope to use one for the upcoming haskell-platform.

Note: See TracTickets for help on using tickets.