[MacPorts] #71933: alex @3.5.1.0+haskell_cabal_use_prebuilt build failure

MacPorts noreply at macports.org
Sun Jan 26 21:32:03 UTC 2025


#71933: alex @3.5.1.0+haskell_cabal_use_prebuilt build failure
-----------------------------+--------------------
  Reporter:  Pierre-Alban87  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.10.5
Resolution:                  |   Keywords:
      Port:  alex            |
-----------------------------+--------------------

Comment (by captainproton1971):

 Alex is failing for me too; seems that it needs ghc to be available.

 {{{
  Cannot find the program 'ghc'. User-specified path '/opt/local/bin/ghc'
 does not refer to an executable and the program is not on the system path.
 }}}

 Thought it might just be an undeclared dependency, so I tried installing
 ghc:

 {{{
 ?1 gquark ~ % sudo port clean --all alex && sudo port install ghc
 16:30:50
 --->  Cleaning alex
 --->  Computing dependencies for ghc
 The following dependencies will be installed:
  alex
  gzip
  hadrian
  happy
  hscolour
 Continue? [Y/n]:
 --->  Fetching archive for alex
 --->  Attempting to fetch
 alex-3.5.1.0_0+haskell_cabal_use_prebuilt.darwin_24.arm64.tbz2 from
 https://packages.macports.org/alex
 --->  Attempting to fetch
 alex-3.5.1.0_0+haskell_cabal_use_prebuilt.darwin_24.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/alex
 --->  Attempting to fetch
 alex-3.5.1.0_0+haskell_cabal_use_prebuilt.darwin_24.arm64.tbz2 from
 https://mirrors.mit.edu/macports/packages/alex
 --->  Fetching distfiles for alex
 --->  Attempting to fetch alex-3.5.1.0.tar.gz from
 https://distfiles.macports.org/alex
 --->  Verifying checksums for alex
 --->  Extracting alex
 --->  Configuring alex
 --->  Building alex
 Error: Failed to build alex: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port ghc failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71933#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list