Skip to content

fix(docker): Fix buildx warnings breaking multi-arch manifest merge#16387

Closed
bdice wants to merge 3 commits intofacebookincubator:mainfrom
bdice:fix-docker-buildx-warnings
Closed

fix(docker): Fix buildx warnings breaking multi-arch manifest merge#16387
bdice wants to merge 3 commits intofacebookincubator:mainfrom
bdice:fix-docker-buildx-warnings

Conversation

@bdice
Copy link
Copy Markdown
Collaborator

@bdice bdice commented Feb 13, 2026

Summary

Fixes issues discussed in #16234.

The "Export digests" jq filter processes all top-level bake metadata keys, including non-image keys like buildx.build.warnings. The merge job then fails trying to create a manifest for them. Filter to only entries with image.name (real image targets), and fix the undefined $LD_LIBRARY_PATH that triggers the warning.

Analysis: #16234 (comment) and #16234 (comment)

I implemented the proposal in #16386 with ldconfig. Closes #16386.

The Export digests jq filter iterated all top-level bake metadata keys,
including buildx.build.warnings, creating a spurious digest file. The
merge job then failed trying to create a manifest for it.

Filter to only entries with image.name (real image targets) and fix the
undefined LD_LIBRARY_PATH variable that triggered the warning.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 13, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 13, 2026

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 89669ca
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/6998b0bc176d950008b5bd62

@kgpai kgpai added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Feb 20, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 20, 2026

@kgpai has imported this pull request. If you are a Meta employee, you can view this in D93810988.

Use /etc/ld.so.conf.d/velox_deps.conf and ldconfig instead of setting
LD_LIBRARY_PATH in the pyvelox and adapters stages. This eliminates the
buildx warning caused by undefined $LD_LIBRARY_PATH and follows the
standard mechanism for registering shared library paths in containers.

In the adapters stage, move COPY --from=adapters-build before the
ldconfig RUN so the libraries are on disk when the cache is built.

Closes facebookincubator#16386
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 25, 2026

@kgpai merged this pull request in 5c66875.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace LD_LIBRARY_PATH with ld conf

4 participants