You are not logged in.

#1 2025-03-05 05:27:55

kitanotatsu
Member
Registered: 2025-03-05
Posts: 1

Error when installing clang17

Hello folks,
I was trying to install GNU Icecat to my machine. One of the dependencies is clang17, but whenever I try to install it, it always fails at prepare():

==> Starting prepare()...
`cmake-17.0.6.src' -> `cmake'
`third-party-17.0.6.src' -> `third-party'
patching file lib/Driver/ToolChains/Linux.h
patching file test/Driver/fsanitize.c
Hunk #1 succeeded at 699 (offset 4 lines).
patching file test/Driver/stack-protector.c
sed: can't read clangd-handle-missing-ending-brace.patch: No such file or directory
/home/tatsu/.cache/yay/clang17/PKGBUILD: line 71: 2to3: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...
-> error making: clang17-exit status 4
-> Failed to install the following packages. Manual intervention is required:
clang17 - exit status 4

I'd originally tried to install Icecat using yay (yay -S icecat) but when that failed I tried installing just clang17 with yay (which failed, output from above) and then with git+makepkg (which also failed). I looked at the AUR page for clang17 and there's a comment from August 2024 which says "Package broken, please fix! clangd-handle-missing-ending-brace.patch ... FAILED", which seems almost identical to the problem I'm having. The package was also updated later that same day, though, which I presume should have fixed that issue.

My install of arch is fairly fresh (less than a month old) as I'm very much new to arch, so I don't want to discount the possibility that I have an issue with my install that I haven't noticed, but I can't help but wonder whether the package is just broken and needs an update. Thanks for any insight.

Offline

#2 2025-03-05 06:32:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,453

Re: Error when installing clang17

That's an issue building, not installing. Two separate and distinct steps.

2to3 is dead and gone with python 3.13. Let the maintainer know they can't use that anymore.

Offline

Board footer

Powered by FluxBB