Opened 7 years ago

Closed 4 years ago

#53652 closed defect (fixed)

hs-attoparsec @0.10.4.0: The following installed packages are broken because other packages they depend on are missing

Reported by: informatimago (Pascal J. Bourguignon) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: hs-attoparsec

Description

port install pandoc fails for missing dependency of hs-attoparsec on lbzip2.

Attachments (1)

main.log (33.2 KB) - added by informatimago (Pascal J. Bourguignon) 7 years ago.
log

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by informatimago (Pascal J. Bourguignon)

Attachment: main.log added

log

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

Owner: set to neverpanic
Status: newassigned
Summary: missing dependency hs-attoparsec -> lbzip2hs-attoparsec @0.10.4.0: The following installed packages are broken because other packages they depend on are missing

No, that's not the correct diagnosis. The lbzip2 error message is a red herring. The real problem is:

:info:configure Setup: The following installed packages are broken because other packages they
:info:configure depend on are missing. These broken packages must be rebuilt before they can
:info:configure be used.
:info:configure package text-1.1.0.0 is broken due to missing package
:info:configure base-4.7.0.1-df210ede1eb79477fef5662549c32927,
:info:configure bytestring-0.10.4.0-4aa78c8ca7b6b65993eefc131f7d94fa,
:info:configure deepseq-1.3.0.2-8f63133c1b77f3b3190f04893cf340e4

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

This may have happened due to the recent changes in GHC, I'm afraid. Can you check what the package identifiers of the base, text, bytestring and deepseq packages are if installed from the current prebuilt package of GHC from the buildbot?

Try running ghc-pkg list, which should give you this info.

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

The intention is to delete this port. See https://github.com/macports/macports-ports/pull/8636

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

Resolution: fixed
Status: assignedclosed

In e5c6a53381ccb92fa84a7ee6f422dd6afeacaec7/macports-ports (master):

haskell-platform, hs-*: Delete

It is too complicated to keep up with the development of
haskell-platform in its current state, and while there is technically
nothing wrong with the approach, it has turned out that nobody has the
time to maintain copies of the hundreds of libraries that are required
to provide the full haskell platform as defined at [1].

Fortunately, there is a more modern alternative available in the form of
stack, which works similar to virtualenvs for python. We are now using
stack (in the form of the haskell_stack PortGroup) for all Haskell tools
we are packaging in MacPorts (e.g. darcs, git-annex, pandoc or
shellcheck). It is also the best alternative for our users.

I am not marking haskell-platform or any of the hs-* ports as obsoleted
using the obsolete PortGroup, because these ports have not built
successfully for a while now, and the users that still have successfully
compiled copies of these tools and libraries would likely rather keep
them around than having them replaced by a file telling them that the
ports are obsolete.

This currently breaks the following ports:

  • hedgewars
  • hsshellscript
  • distract
  • buddha

[1]: https://www.haskell.org/platform/contents.html

Closes: #53652
Closes: #60241
Closes: #60359
Closes: #61020
Closes: #61162
Closes: #61218
Closes: #61263

Note: See TracTickets for help on using tickets.