Opened 11 years ago

Closed 11 years ago

#37375 closed defect (fixed)

hs-haddock @2.5.0 Depends on old ghc

Reported by: tal@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: hs-haddock

Description

The current GHC is: [work/haddock-2.5.0] > search ghc ghc @7.4.2 (lang, haskell)

The Glorious Glasgow Haskell Compilation System

hs-haddock doesn't install because it expects ghc 6.x

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macpo rts.org_release_tarballs_ports_devel_hs-haddock/hs-haddock/work/haddock-2.5.0 && runhaskell Setup configure -v --ghc --with-gcc=/usr/bin/clang --prefix=/opt/local --program-suffix="-2.5.0" Configuring haddock-2.5.0... Setup: At least the following dependencies are missing: base >=4.0.0.0 && <4.2.0.0, ghc >=6.10 && <6.12

Change History (6)

comment:1 Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

This ticket is still valid:

--->  Configuring hs-haddock
DEBUG: Using compiler 'Mac OS X Clang'
DEBUG: Executing org.macports.configure (hs-haddock)
Configuring haddock-2.5.0...
Setup: At least the following dependencies are missing:
base >=4.0.0.0 && <4.2.0.0, ghc >=6.10 && <6.12, ghc-paths -any
Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_devel_hs-haddock/hs-haddock/work/haddock-2.5.0 && runhaskell Setup configure -v --ghc --with-gcc=/usr/bin/clang --prefix=/opt/local --program-suffix="-2.5.0"
Exit code: 1
Error: org.macports.configure for port hs-haddock returned: command execution failed
DEBUG: Error code: NONE

comment:2 Changed 11 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: tal@… removed

You don't need to Cc yourself.

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

The ghc port already installs a binary named haddock, specifically in $prefix/bin/haddock:

:) clemens@cschlepptop:[..]/dports/devel/hs-haddock$ port contents ghc | grep haddock$ | head -n2
  /opt/local/bin/haddock
  /opt/local/lib/ghc-7.6.3/haddock

I wonder whether the hs-haddock port is even needed at all because of this. Can you advise?

comment:5 Changed 11 years ago by tal@…

cal: hs-haddock is no longer needed

comment:6 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

OK, thanks. Removed hs-haddock and its dependency hs-ghc-paths in r109502.

Note: See TracTickets for help on using tickets.