Opened 4 years ago

Closed 4 years ago

#61162 closed defect (fixed)

hs-yaml @0.8.10.1_1: Configure fails with missing or private dependencies

Reported by: p-bro Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: neverpanic (Clemens Lang)
Port: hs-yaml

Description

When trying to install hs-yaml using sudo port -d install hs-yaml, the process fails in the configure phase with the following error message (full log attached):

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-yaml/hs-yaml/work/yaml-0.8.10.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
Using Parsec parser
Configuring yaml-0.8.10.1...
CallStack (from HasCallStack):
  $, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:1024:20 in Cabal-3.2.0.0:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:477:12 in Cabal-3.2.0.0:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:625:20 in Cabal-3.2.0.0:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:65:5 in Cabal-3.2.0.0:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:180:19 in Cabal-3.2.0.0:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:116:27 in Cabal-3.2.0.0:Distribution.Simple
  defaultMain, called at Setup.lhs:7:10 in main:Main
Setup: Encountered missing or private dependencies:
aeson >=0.5,
attoparsec -any,
conduit >=1.1.0 && <1.3,
enclosed-exceptions -any,
resourcet >=0.3 && <1.2,
scientific -any,
unordered-containers -any,
vector -any

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-yaml/hs-yaml/work/yaml-0.8.10.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang

(Note that this happened after a failed rev-upgrade necessary due to hs-yaml opportunistically linking to libffi.)

Attachments (1)

hs-yaml.log (3.9 KB) - added by p-bro 4 years ago.
Build log hs-yaml

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by p-bro

Attachment: hs-yaml.log added

Build log hs-yaml

comment:1 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:2 Changed 4 years ago by neverpanic (Clemens Lang)

Owner: set to neverpanic
Resolution: fixed
Status: newclosed

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.