Skip to content

fix(golang-mongodb-mongo-driver): add missing jmespath BuildRequires#16631

Merged
christopherco merged 1 commit intotomls/base/mainfrom
chrco/fix-golang-mongodb-mongo-driver2
Apr 13, 2026
Merged

fix(golang-mongodb-mongo-driver): add missing jmespath BuildRequires#16631
christopherco merged 1 commit intotomls/base/mainfrom
chrco/fix-golang-mongodb-mongo-driver2

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

The aws-sdk-go-devel bootstrap build has auto-generated Requires stripped, so it doesn't transitively pull in golang-github-jmespath-devel. Add an explicit BuildRequires on golang(github.com/jmespath/go-jmespath) to fix the build failure.

Promoted from inline component to dedicated comp.toml for overlay support.

The aws-sdk-go-devel bootstrap build has auto-generated Requires
stripped, so it doesn't transitively pull in golang-github-jmespath-devel.
Add an explicit BuildRequires on golang(github.com/jmespath/go-jmespath)
to fix the build failure.

Promoted from inline component to dedicated comp.toml for overlay support.
@christopherco christopherco force-pushed the chrco/fix-golang-mongodb-mongo-driver2 branch from 2d4f239 to 8367361 Compare April 13, 2026 01:39
@christopherco christopherco changed the title golang-mongodb-mongo-driver: add missing jmespath BuildRequires fix(golang-mongodb-mongo-driver): add missing jmespath BuildRequires Apr 13, 2026
@christopherco christopherco marked this pull request as ready for review April 13, 2026 01:51
Copilot AI review requested due to automatic review settings April 13, 2026 01:51
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

This PR fixes a bootstrap-related build failure by explicitly adding the missing go-jmespath build dependency to the golang-mongodb-mongo-driver component via a targeted spec overlay, and moves the component from an inline entry to a dedicated *.comp.toml so overlays can be applied cleanly.

Changes:

  • Add a spec-add-tag overlay to inject BuildRequires: golang(github.com/jmespath/go-jmespath) for golang-mongodb-mongo-driver.
  • Promote golang-mongodb-mongo-driver from an inline component entry to a dedicated golang-mongodb-mongo-driver.comp.toml.
  • Remove the now-redundant inline component stanza from base/comps/components.toml.

Reviewed changes

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

File Description
base/comps/golang-mongodb-mongo-driver/golang-mongodb-mongo-driver.comp.toml Adds an overlay to explicitly declare the missing jmespath BuildRequires for bootstrap builds.
base/comps/components.toml Removes the inline component entry now that a dedicated *.comp.toml exists.

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

@christopherco christopherco merged commit 7faf525 into tomls/base/main Apr 13, 2026
9 checks passed
@christopherco christopherco deleted the chrco/fix-golang-mongodb-mongo-driver2 branch April 13, 2026 04:09
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