[PGPRO-16769] Fix Travis CI failures#288
Open
arseny114 wants to merge 1 commit intopostgrespro:masterfrom
Open
[PGPRO-16769] Fix Travis CI failures#288arseny114 wants to merge 1 commit intopostgrespro:masterfrom
arseny114 wants to merge 1 commit intopostgrespro:masterfrom
Conversation
85712a1 to
7dba092
Compare
a9adcd0 to
d981cc6
Compare
Two issues were causing Travis CI failures: 1. Alpine Linux removed clang15 from its package repositories in recent versions. Fixed by removing clang15 from Dockerfile dependencies for PostgreSQL versions above 11. 2. scan-build with clang-21 fails when analyzing PostgreSQL extensions built via PGXS. The issue occurs because: - scan-build sets CLANG environment variable to the analyzer path - PGXS resets CLANG to an empty string - ccc-analyzer v21 does not check the CLANG variable for an empty string - This causes ccc-analyzer to attempt executing an empty command string Fixed by explicitly passing CLANG as a make command-line argument. Tags: pg_pathman
d981cc6 to
1f3cf24
Compare
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.
Two issues were causing Travis CI failures:
Alpine Linux removed clang15 from its package repositories in recent
versions. Fixed by removing clang15 from Dockerfile dependencies for
PostgreSQL versions above 11.
scan-build with clang-21 fails when analyzing PostgreSQL extensions
built via PGXS. The issue occurs because:
Fixed by explicitly passing CLANG as a make command-line argument.
Tags: pg_pathman