Skip to content

ppg 17: -devel llvm/clang floor >= 19, not 19.0 (fixes openSUSE Leap 16) - #180

Merged
rjd15372 merged 1 commit into
mainfrom
pg17-devel-llvm-suse
Oct 20, 2026
Merged

rjd15372 merged 1 commit into
mainfrom
pg17-devel-llvm-suse

Conversation

@rjd15372

Copy link
Copy Markdown
Collaborator

Why

#179 made percona-postgresql17-devel require llvm-devel >= 19.0 clang-devel >= 19.0. openSUSE Leap 16 ships both packages as version 19 (19-160000.2.2), and RPM orders 19 below 19.0, so every package that BuildRequires the -devel became unresolvable on openSUSE_Leap_16 — 26 packages in ppg:staging:17 (credcheck, pg-telemetry, pg_cron, pg_repack, …):

nothing provides clang-devel >= 19.0 needed by percona-postgresql17-devel, (got version 19-160000.2.2)

What

Both PG 17 server specs (staging/17, staging/17/extras): llvm-devel >= 19 clang-devel >= 19, the floor PG 17's own llvmjit subpackage already uses (Requires: llvm >= 19), with a comment on the Leap ordering.

Verification

  • RPM's own comparison (rpm.labelCompare): Leap 19-160000.2.2 fails >= 19.0 and passes >= 19; EL 19.1.7 / 20.1.8 and Tumbleweed 21.1.4 pass both.
  • rpmspec -P expands the Requires on EL8, EL9, Leap 16 (suse_version 1600) and Tumbleweed for both specs; project verify --offline passes for ppg:staging:17 and ppg:staging:17:extras.
  • PG 14–16 build on Leap 16 too and are unaffected (they use per-SUSE llvm19-devel clang19-devel names); PG 18 uses >= 17.0.

01cf61a made percona-postgresql17-devel require llvm-devel and
clang-devel >= 19.0. openSUSE Leap 16 ships both as version "19"
(19-160000.2.2), which RPM orders below "19.0", so every package that
BuildRequires the -devel became unresolvable on openSUSE_Leap_16
(26 packages in ppg:staging:17):

    nothing provides clang-devel >= 19.0 needed by percona-postgresql17-devel,
    (got version 19-160000.2.2)

Use `>= 19`, the floor PG 17's own llvmjit subpackage already uses
(`Requires: llvm >= 19`): it is satisfied by Leap's 19, EL's 19.1/20.1
and Tumbleweed's 21.

Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
@rjd15372
rjd15372 merged commit 8a9c3c1 into main Oct 20, 2026
8 checks passed
@rjd15372
rjd15372 deleted the pg17-devel-llvm-suse branch October 20, 2026 17:53
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.

1 participant