Skip to content

Conversation

@arseny114
Copy link
Contributor

@arseny114 arseny114 commented Jan 16, 2026

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.

  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: rum

@arseny114 arseny114 force-pushed the PGPRO-16769 branch 2 times, most recently from 5430de7 to b50b1f8 Compare January 27, 2026 10:37
@arseny114 arseny114 changed the title [PGPRO-16769] Fix Travis CI. [PGPRO-16769] Fix Travis CI failures Jan 27, 2026
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.

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: rum
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