[MacPorts] #69076: git-annex @10.20230321: error: Warning: Couldn't figure out LLVM version! (was: git-annex port fails with GHC error)

MacPorts noreply at macports.org
Tue Jan 9 05:24:37 UTC 2024


#69076: git-annex @10.20230321: error: Warning: Couldn't figure out LLVM version!
------------------------+--------------------
  Reporter:  Jaharmi    |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:
      Port:  git-annex  |
------------------------+--------------------

Old description:

> # Summary
>
> Installing git-annex fails with what appears to be a GHC error.
>
> # Expected results
>
> git-annex should install with "sudo port install git-annex" on macOS 14.2
> with Xcode 15.1 and MacPorts 2.8.1 installed on Apple Silicon (M1 Max).
> This is the first port installed on the computer.
>
> # Actual results
>
> git-annex does not install. The main.log indicates a problem with GHC.
> Multiple versions of GHC may have been installed: 9.6.3_0 and 8.10.7.
>
> It looks like the error comes from ghc 8.10.7.

New description:

 == Summary

 Installing git-annex fails with what appears to be a GHC error.

 == Expected results

 git-annex should install with "sudo port install git-annex" on macOS 14.2
 with Xcode 15.1 and MacPorts 2.8.1 installed on Apple Silicon (M1 Max).
 This is the first port installed on the computer.

 == Actual results

 git-annex does not install. The main.log indicates a problem with GHC.
 Multiple versions of GHC may have been installed: 9.6.3_0 and 8.10.7.

 It looks like the error comes from ghc 8.10.7.

--

Comment (by ryandesign):

 It builds for me on macOS 12 x86_64, or at least it gets past the problem
 you saw; I canceled the build after 7 minutes because I didn't want to
 wait.

 I see a new version of git-annex is available. Maybe updating the port
 would help, or hurt.

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


More information about the macports-tickets mailing list