docker/ubuntu-full/Dockerfile: pin libarrow-acero-dev version (fixes #9183) #9186
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.
This works around an apparent dependency bug in
libarrow-dataset-dev
, by first explicitly installing the matching version oflibarrow-acero-dev
.What does this PR do?
Changes the
Dockerfile
to installlibarrow-acero-dev
first, with the correct version (${ARROW_VERSION}
), before installinglibarrow-dataset-dev
.If this is not done, installing a specific version of
libarrow-dataset-dev
seems to try to install the latest version oflibarrow-acero-dev
, instead of the one with matching version, and this makesapt-get install
fail.An advantage with this fix, compared to bumping
ARROW_VERSION
to the currently latest version of Apache Arrow (libarrow-dataset-dev
et al.) is that "the currently latest version of Apache Arrow" can change at any time depending on the Apache Arrow release schedule, which would break the GDAL build again.The real bug is presumably that
libarrow-dataset-dev
has incorrect dependency information.Note: When I ran
ubuntu-full/build.sh
in Docker Desktop on my Intel Mac it successfully installedlibarrow-dataset-dev
but much later, during build of somearm64
(!) thing, the build crashed:I would guess this crash is completely unrelated to the changes in this PR.
What are related issues/pull requests?
Issue #9183
Tasklist
Environment
Provide environment details, if relevant: