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

Use a valid clang-format version #423

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Use a valid clang-format version #423

merged 1 commit into from
Jul 26, 2023

Conversation

chouetz
Copy link
Member

@chouetz chouetz commented Jul 26, 2023

Seems there was an update on llvm that bumped to version 18 and clang-format in their repository depends upon clang-format-17, as states the error below (gitlab job reference)

sudo apt-get -t llvm-toolchain-focal install -y --no-install-recommends \
>     clang-format
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 clang-format : Depends: clang-format-17 (>= 17~) but it is not installable
E: Unable to correct problems, you have held broken packages.

So using clang-format-18 which is available and create a symlink for non-regression pending action on llvm side (could be tracked with this issue)

@chouetz chouetz requested a review from a team as a code owner July 26, 2023 08:08
@chouetz chouetz merged commit 7c15d22 into main Jul 26, 2023
@chouetz chouetz deleted the nschweitzer/clang-format branch July 26, 2023 12:50
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

Successfully merging this pull request may close these issues.

2 participants