Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61020 closed defect (fixed)

hs-bytestring-show@0.3.5.6: Setup.lhs:5:50: error: Not in scope: ‘runTests’

Reported by: kencu (Ken) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: neverpanic (Clemens Lang)
Port: hs-bytestring-show

Description

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_hs-bytestring-show/hs-bytestring-show/work/bytestring-show-0.3.5.6" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 

Setup.lhs:5:50: error: Not in scope: ‘runTests’
  |
5 | > main = defaultMainWithHooks (simpleUserHooks { runTests = tests })
  |                                                  ^^^^^^^^
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_hs-bytestring-show/hs-bytestring-show/work/bytestring-show-0.3.5.6" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
Exit code: 1

Attachments (1)

main.log (11.6 KB) - added by kencu (Ken) 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by kencu (Ken)

Attachment: main.log added

comment:1 Changed 4 years ago by kencu (Ken)

Port: hs-bytestring-show added

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

Cc: neverpanic added

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

comment:3 Changed 4 years ago by kencu (Ken)

Resolution: wontfix
Status: newclosed

yes.

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

Owner: set to neverpanic
Resolution: wontfixfixed

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.