[MacPorts] #47121: hs-language-c: "runhaskell" command fails during build

MacPorts noreply at macports.org
Thu Mar 12 07:22:53 PDT 2015


#47121: hs-language-c: "runhaskell" command fails during build
----------------------------+----------------------
  Reporter:  twilsonco@…    |      Owner:  cal@…
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  hs-language-c  |
----------------------------+----------------------
Changes (by cal@…):

 * owner:  macports-tickets@… => cal@…
 * status:  new => assigned


Comment:

 The warnings from ghc-check are not causing the failure. The problem
 likely is that the version of hs-language-c is too old for the current GHC
 and needs to be updated.

 It should be as simple as
  - locating the Portfile (`port file hs-language-c`)
  - making a backup copy for later diff (`cp Portfile{,.orig}`)
  - modifying the version number at the end of the `haskell.setup` line and
 removing the `revision` line
  - running `sudo port -v checksum` in the directory (which will fail and
 print the correct checksums)
  - updating the checksums in the Portfile
  - running a test build (`sudo port -vt destroot`)
  - creating a patch (`diff -u Portfile{.orig,}`) and attaching it here

 Can you do that?

-- 
Ticket URL: <https://trac.macports.org/ticket/47121#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list