Skip to content

fix(migrate): add missing jmespath BuildRequires for aws_s3 driver#16614

Merged
christopherco merged 1 commit intotomls/base/mainfrom
chrco/fix-migrate-v2
Apr 12, 2026
Merged

fix(migrate): add missing jmespath BuildRequires for aws_s3 driver#16614
christopherco merged 1 commit intotomls/base/mainfrom
chrco/fix-migrate-v2

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

golang-github-aws-sdk is built in bootstrap mode, which suppresses all golang(...) Requires from its -devel RPM. This means the transitive dependency on github.com/jmespath/go-jmespath is not pulled into the buildroot automatically. Add an explicit BuildRequires to fix the compilation of the aws_s3 source driver.

Build verified locally; migrate --version tested in mock.

golang-github-aws-sdk is built in bootstrap mode, which suppresses all
golang(...) Requires from its -devel RPM. This means the transitive
dependency on github.com/jmespath/go-jmespath is not pulled into the
buildroot automatically. Add an explicit BuildRequires to fix the
compilation of the aws_s3 source driver.

Build verified locally; migrate --version tested in mock.
@christopherco christopherco marked this pull request as ready for review April 12, 2026 18:22
Copilot AI review requested due to automatic review settings April 12, 2026 18:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit Go module BuildRequires for migrate to fix buildroot dependency resolution when golang-github-aws-sdk is built in bootstrap mode (which suppresses transitive golang(...) RPM Requires), allowing the aws_s3 source driver to compile.

Changes:

  • Introduce a dedicated migrate.comp.toml with an overlay adding BuildRequires: golang(github.com/jmespath/go-jmespath).
  • Remove the inline migrate component stanza from base/comps/components.toml to avoid duplicate component definitions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
base/comps/migrate/migrate.comp.toml Adds an overlay to inject the missing jmespath Go module BuildRequires for migrate.
base/comps/components.toml Removes the inline [components.migrate] entry now that migrate has a dedicated *.comp.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@christopherco christopherco merged commit 0585d8f into tomls/base/main Apr 12, 2026
9 checks passed
@christopherco christopherco deleted the chrco/fix-migrate-v2 branch April 12, 2026 20:31
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.

3 participants