Project

General

Profile

Actions

Bug #70792

closed

clang-19 can't be installed from run-make-check.sh because clang-13 conflicts

Added by Dan Mick 11 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
backport_processed
Fixed In:
v20.3.0-764-g03238f02e1
Released In:
Upkeep Timestamp:
2025-07-14T16:45:59+00:00

Description

https://jenkins.ceph.com/job/ceph-pull-requests/155444/consoleFull#-1447493263aa27f1a8-0533-4762-a766-66fcaf4f1dbc shows:

+ apt-get install -y clang-19 lldb-19 lld-19 clangd-19
Reading package lists...
Building dependency tree...
Reading state information...
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:
python3-lldb-13 : Conflicts: python3-lldb-x.y
python3-lldb-19 : Conflicts: python3-lldb-x.y
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Build step 'Execute shell' marked build as failure


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #71562: tentacle: clang-19 can't be installed from run-make-check.sh because clang-13 conflictsResolvedCasey BodleyActions
Actions #1

Updated by Matan Breizman 11 months ago

  • Assignee deleted (Matan Breizman)

Dan Mick wrote:

https://jenkins.ceph.com/job/ceph-pull-requests/155444/consoleFull#-1447493263aa27f1a8-0533-4762-a766-66fcaf4f1dbc shows:

+ apt-get install -y clang-19 lldb-19 lld-19 clangd-19
Reading package lists...
Building dependency tree...
Reading state information...
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:
python3-lldb-13 : Conflicts: python3-lldb-x.y
python3-lldb-19 : Conflicts: python3-lldb-x.y
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Build step 'Execute shell' marked build as failure

Hey Dan, thanks for creating this tracker.
IIUC, this means that we would have to remove clang-13 (or other) conflicting versions from all of our builders, right?
I think that removing those from the machine itself should be the most convenient (instead of auditing our scripts).
I don't have access to all of the builders, do you happen to know who does?
Thanks!

Actions #2

Updated by Dan Mick 11 months ago

The right solution is to fix the 'update clang' build script snippet to remove any other clang versions. This may happen again as we change the required version; removing 13 (or any other versions) now won't fix the problem, if there is one, when we move from 19 to 20, for example.

Actions #3

Updated by Casey Bodley 10 months ago

https://jenkins.ceph.com/job/ceph-pull-requests/156419/ on braggi15

The following packages have unmet dependencies:
 python3-lldb-13 : Conflicts: python3-lldb-x.y
 python3-lldb-19 : Conflicts: python3-lldb-x.y

Actions #4

Updated by Dan Mick 10 months ago

I had originally assigned this to Matan because he had added the code to install directly from llvm.org in https://github.com/ceph/ceph/pull/61740. Not sure why he removed himself as owner.

Actions #5

Updated by Bill Scales 10 months ago

https://jenkins.ceph.com/job/ceph-pull-requests/157503/

Seen twice while running make checks on braggi15, worked 3rd attempt building on braggi03

@Dan Mick is this just a problem with the packages installed on braggi15, or are we going to see this on other systems as we switch between building different branches/releases? If its the latter then I think you are suggesting that we update the build scripts to remove the conflicting packages when changing which version of clang we use. Seems to be a common problem on ubuntu 22.4 - see https://github.com/google/re2/commit/a61ae468c7205bc7d38efa11f4d0fb8f51947ee9 and https://github.com/llvm/llvm-project/issues/64182 for other peoples fixes.

Actions #6

Updated by Dan Mick 10 months ago

Bill, that was the point of my earlier comment https://tracker.ceph.com/issues/70792#note-2. The addition of the calls to llvm.sh to manage the build environment has a bug; whether the bug is in llvm.sh itself or in the calling code, the calling code is what we own and it needs to be fixed there.

Actions #7

Updated by Casey Bodley 9 months ago

  • Assignee set to Matan Breizman

https://jenkins.ceph.com/job/ceph-api/96180/ on braggi15

The following packages have unmet dependencies:
python3-lldb-13 : Conflicts: python3-lldb-x.y
python3-lldb-19 : Conflicts: python3-lldb-x.y

Actions #9

Updated by Casey Bodley 9 months ago

  • Status changed from New to Fix Under Review
Actions #10

Updated by Casey Bodley 9 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Assignee changed from Matan Breizman to Casey Bodley
  • Backport set to tentacle
Actions #11

Updated by Upkeep Bot 9 months ago

  • Copied to Backport #71562: tentacle: clang-19 can't be installed from run-make-check.sh because clang-13 conflicts added
Actions #12

Updated by Upkeep Bot 9 months ago

  • Tags (freeform) set to backport_processed
Actions #13

Updated by Upkeep Bot 8 months ago

  • Status changed from Pending Backport to Resolved
  • Merge Commit set to 03238f02e19dadc4a65ef66ec3fffb6cb21d3403
  • Fixed In set to v20.3.0-764-g03238f02e19
  • Upkeep Timestamp set to 2025-07-08T14:46:56+00:00
Actions #14

Updated by Upkeep Bot 7 months ago

  • Fixed In changed from v20.3.0-764-g03238f02e19 to v20.3.0-764-g03238f02e1
  • Upkeep Timestamp changed from 2025-07-08T14:46:56+00:00 to 2025-07-14T16:45:59+00:00
Actions

Also available in: Atom PDF