Opened 12 years ago

Closed 11 years ago

#36377 closed defect (fixed)

hs-json: cannot satisfy -package-id mtl-2.1.2-02e701f9b1590ee88a0b5b0bd5d93a29

Reported by: Behinder (behinder) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: kitchen.andy@…, neverpanic (Clemens Lang)
Port: hs-json

Description


Attachments (1)

main.log (8.5 KB) - added by Behinder (behinder) 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Behinder (behinder)

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: upgrade error removed
Summary: hs-json upgrade errorhs-json: cannot satisfy -package-id mtl-2.1.2-02e701f9b1590ee88a0b5b0bd5d93a29

The relevant error in the log seems to be:

Building json-0.5...
Preprocessing library json-0.5...
<command line>: cannot satisfy -package-id mtl-2.1.2-02e701f9b1590ee88a0b5b0bd5d93a29

Sounds like this is a follow-up of #36209.

comment:2 Changed 12 years ago by brokaw (Steve Brokaw)

I had the same error. I got it after updating my ports with port selfupdate && port upgrade outdated

A little poking around with ghc-pkg produced a warning that the ghc cache was outdated, and I should run ghc-pkg recache. So I did, and that fixed my problem.

It looks like the recache command should run after a macports upgrade touches a haskell lib, but I'm not sure where that should be defined. Maybe this ticket should get sent to the haskell group portfile component?

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Cc: kitchen.andy@… cal@… added

Adding ghc maintainers based on comment:2.

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

Resolution: fixed
Status: newclosed

Should be fixed by now.

Note: See TracTickets for help on using tickets.