Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xattr: [Errno 13] Permission denied #1122

Open
Bodigrim opened this issue Aug 21, 2024 · 2 comments
Open

xattr: [Errno 13] Permission denied #1122

Bodigrim opened this issue Aug 21, 2024 · 2 comments

Comments

@Bodigrim
Copy link

$ ghcup compile hls -g master --ghc 9.6.6
[ Info  ] Fetching git repo https://github.com/haskell/haskell-language-server.git at ref master (this may take a while)
xattr: [Errno 13] Permission denied: '/Users/andrew/.ghcup/tmp/ghcup-9227a1f7edee3d97/.git/objects/pack/pack-24eb3563210c34b7b919d3568fc9c1c1e57826f1.pack'
xattr: [Errno 13] Permission denied: '/Users/andrew/.ghcup/tmp/ghcup-9227a1f7edee3d97/.git/objects/pack/pack-24eb3563210c34b7b919d3568fc9c1c1e57826f1.idx'
[ Warn  ] [GHCup-00841] Process "/usr/bin/xattr" with arguments ["-r", "-d",
[ ...   ]                                          "com.apple.quarantine",
[ ...   ]                                          "/Users/andrew/.ghcup/tmp/ghcup-9227a1f7edee3d97"] failed with exit code 1.
[ Info  ] Examining git ref master
[ ...   ]   HLS version (from cabal file): 2.9.0.1
[ ...   ]   branch: master
[ ...   ]   commit hash: 225375293ddbd1710a16baf3dab9732cd6689497
[ Info  ] Building HLS 2.9.0.1 for GHC version 9.6.6
...keeps building...

macOS Ventura 13.0.1, M2.

Is /usr/bin/xattr failure of any significance?

@hasufell
Copy link
Member

It's doing a hack to work around the provisioning stuff, which no one understands.

This used to be required to not get errors during installation. If your installation works regardless, then I guess we're just lucky.

@hasufell
Copy link
Member

It's doing a hack to work around the provisioning stuff, which no one understands.

Pardon, I meant notarization.

https://gitlab.haskell.org/ghc/ghc/-/issues/17418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants