Repository navigation
ppg 17: -devel llvm/clang floor >= 19, not 19.0 (fixes openSUSE Leap 16) - #180
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
#179 made
percona-postgresql17-develrequirellvm-devel >= 19.0 clang-devel >= 19.0. openSUSE Leap 16 ships both packages as version19(19-160000.2.2), and RPM orders19below19.0, so every package that BuildRequires the -devel became unresolvable onopenSUSE_Leap_16— 26 packages inppg:staging:17(credcheck, pg-telemetry, pg_cron, pg_repack, …):What
Both PG 17 server specs (
staging/17,staging/17/extras):llvm-devel >= 19 clang-devel >= 19, the floor PG 17's ownllvmjitsubpackage already uses (Requires: llvm >= 19), with a comment on the Leap ordering.Verification
rpm.labelCompare): Leap19-160000.2.2fails>= 19.0and passes>= 19; EL19.1.7/20.1.8and Tumbleweed21.1.4pass both.rpmspec -Pexpands the Requires on EL8, EL9, Leap 16 (suse_version 1600) and Tumbleweed for both specs;project verify --offlinepasses forppg:staging:17andppg:staging:17:extras.llvm19-devel clang19-develnames); PG 18 uses>= 17.0.