fix(ci): refresh apt cache before installing system deps#14
Closed
estebanzimanyi wants to merge 1 commit into
Closed
fix(ci): refresh apt cache before installing system deps#14estebanzimanyi wants to merge 1 commit into
estebanzimanyi wants to merge 1 commit into
Conversation
…-dev The workflow installs GEOS / PROJ / JSON-C from apt without first running 'apt-get update', so the GitHub Actions runner re-uses a stale cache from its base image and 404s when Azure's apt mirror retires older patch versions. Two changes: 1. Add 'apt-get update -qq' and consolidate the three separate 'apt-get install' steps into one with --no-install-recommends. 2. Add libgsl-dev. MobilityDB recently started requiring GSL (GNU Scientific Library); without it cmake fails with 'Could NOT find GSL' during the JMEOS workflow's MobilityDB build step. This is a CI infrastructure fix only; it doesn't change JMEOS itself.
423fa0f to
e1f41d0
Compare
4 tasks
Collaborator
|
Already done in #9 |
estebanzimanyi
added a commit
to estebanzimanyi/JMEOS
that referenced
this pull request
May 14, 2026
The Install PROJ step has been failing for the last two runs because apt-get install pulls from a stale package list that points at the prior libcurl4-gnutls-dev .deb, which the mirror has since rotated out (404). Adding apt-get update first re-fetches the index against the live mirror state, mirroring the fix that closed PR MobilityDB#14, and the -y flag on the dependent installs keeps them non-interactive.
estebanzimanyi
added a commit
to estebanzimanyi/JMEOS
that referenced
this pull request
May 14, 2026
MobilityDB's top-level CMakeLists.txt calls find_package(GSL) at line 274 and the CI runner's stock package set ships none of GSL_INCLUDE_DIR / GSL_LIBRARY / GSL_CBLAS_LIBRARY. Adding libgsl-dev to the apt steps mirrors the closed PR MobilityDB#14 fix that addressed the same gap and lets the Install MobilityDB step proceed to the build phase.
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.
The workflow installs GEOS / PROJ / JSON-C from apt without first running `apt-get update`, so the GitHub Actions runner re-uses a stale cache from its base image. When Azure's apt mirror retires an older patch version (e.g. `libcurl4-gnutls-dev 8.5.0-2ubuntu10.8`), the install step 404s and the build fails with exit code 100.
This is currently breaking every JMEOS CI run including the doc-only PR #13.
Fix
Test plan