Opened 9 months ago
Last modified 9 months ago
#69076 new defect
git-annex @10.20230321: error: Warning: Couldn't figure out LLVM version! — at Version 3
Reported by: | Jaharmi (Jeremy Reichman) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | git-annex |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Change History (4)
Changed 9 months ago by Jaharmi (Jeremy Reichman)
Attachment: | macports-2.8.1-port-git-annex-main-log-20240108.log added |
---|
comment:1 Changed 9 months ago by Jaharmi (Jeremy Reichman)
Cleaning the port with
sudo port clean git-annex
followed by
sudo port install git-annex
did not resolve the issue.
I did not find this issue in the Problem Hotlist or in existing tickets.
comment:2 Changed 9 months ago by Jaharmi (Jeremy Reichman)
The error:
Warning: Couldn't figure out LLVM version!
appears related to GHC 8.10.7 vs 9.x, per GitHub issue #667.
comment:3 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Summary: | git-annex port fails with GHC error → git-annex @10.20230321: error: Warning: Couldn't figure out LLVM version! |
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.
main.log from installation attempt on 2024-01-08