Repository navigation
chore(comps): annotate temp-workaround overlays with metadata #17973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Tobias Brick (tobiasb-ms)
merged 2 commits into
microsoft:4.0
from
liunan-ms:liunan/azl-temp-workaround
Aug 3, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
15 changes: 15 additions & 0 deletions
15
base/comps/erlang-rebar3/overlays/0001-enable-bootstrap-mode-break.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # Re-enable bootstrap mode so rebar3 can build itself without needing the old | ||
| # broken erlang-rebar3 3.26.0 in the build tag. The latest upstream commit | ||
| # disabled bootstrap (since Fedora already has a working 3.27.0), but AZL | ||
| # doesn't yet. | ||
| # TODO: Remove this overlay once rebar3 3.27.0 is in the AZL build tag. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Enable bootstrap mode to break self-dependency on broken erlang-rebar3 3.26.0" | ||
| type = "spec-search-replace" | ||
| regex = "^%global bootstrap 0$" | ||
| replacement = "%global bootstrap 1" | ||
13 changes: 0 additions & 13 deletions
13
...s/golang-github-envoyproxy-control-plane/golang-github-envoyproxy-control-plane.comp.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1 @@ | ||
| # golang-github-sagikazarmark-crypt has been a dead package since Fedora 43, which breaks | ||
| # the transitive dependency chain: %go_generate_buildrequires generates imports that | ||
| # transitively pull in golang-sigs-k8s-aws-iam-authenticator-devel → | ||
| # golang-github-spf13-viper-devel → golang(github.com/sagikazarmark/crypt/config). | ||
| # Remove this overlay once golang-github-sagikazarmark-crypt is available or viper | ||
| # no longer requires it. | ||
| [components.golang-github-envoyproxy-control-plane] | ||
|
|
||
| [[components.golang-github-envoyproxy-control-plane.overlays]] | ||
| description = "Disable dynamic BuildRequires generation — transitive dep on dead golang-github-sagikazarmark-crypt" | ||
| type = "spec-search-replace" | ||
| section = "%generate_buildrequires" | ||
| regex = '%go_generate_buildrequires' | ||
| replacement = '# Disabled: transitive dep on dead golang-github-sagikazarmark-crypt (see comp.toml)' |
17 changes: 17 additions & 0 deletions
17
...oyproxy-control-plane/overlays/0001-disable-dynamic-buildrequires-generation.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # golang-github-sagikazarmark-crypt has been a dead package since Fedora 43, which breaks | ||
| # the transitive dependency chain: %go_generate_buildrequires generates imports that | ||
| # transitively pull in golang-sigs-k8s-aws-iam-authenticator-devel → | ||
| # golang-github-spf13-viper-devel → golang(github.com/sagikazarmark/crypt/config). | ||
| # Remove this overlay once golang-github-sagikazarmark-crypt is available or viper | ||
| # no longer requires it. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Disable dynamic BuildRequires generation — transitive dep on dead golang-github-sagikazarmark-crypt" | ||
| type = "spec-search-replace" | ||
| section = "%generate_buildrequires" | ||
| regex = "%go_generate_buildrequires" | ||
| replacement = "# Disabled: transitive dep on dead golang-github-sagikazarmark-crypt (see comp.toml)" |
10 changes: 0 additions & 10 deletions
10
base/comps/golang-github-prometheus-common/golang-github-prometheus-common.comp.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1 @@ | ||
| # golang-github-aws-sdk is built in bootstrap mode, which suppresses all | ||
| # golang(...) Requires from its -devel RPM. The sigv4 subpackage imports | ||
| # aws-sdk-go, which transitively needs github.com/jmespath/go-jmespath. | ||
| # Add an explicit BuildRequires so the sigv4 tests can compile. | ||
| [components.golang-github-prometheus-common] | ||
|
|
||
| [[components.golang-github-prometheus-common.overlays]] | ||
| description = "Add missing jmespath BuildRequires — transitive dep of aws-sdk-go, not pulled in due to bootstrap mode" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "golang(github.com/jmespath/go-jmespath)" |
14 changes: 14 additions & 0 deletions
14
...ng-github-prometheus-common/overlays/0001-add-missing-jmespath-buildrequires.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # golang-github-aws-sdk is built in bootstrap mode, which suppresses all | ||
| # golang(...) Requires from its -devel RPM. The sigv4 subpackage imports | ||
| # aws-sdk-go, which transitively needs github.com/jmespath/go-jmespath. | ||
| # Add an explicit BuildRequires so the sigv4 tests can compile. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Add missing jmespath BuildRequires — transitive dep of aws-sdk-go, not pulled in due to bootstrap mode" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "golang(github.com/jmespath/go-jmespath)" |
9 changes: 0 additions & 9 deletions
9
base/comps/golang-mongodb-mongo-driver/golang-mongodb-mongo-driver.comp.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1 @@ | ||
| [components.golang-mongodb-mongo-driver] | ||
|
|
||
| # The aws-sdk-go-devel bootstrap build has auto-generated Requires stripped, | ||
| # so it doesn't transitively pull in golang-github-jmespath-devel. Add the | ||
| # missing build dependency explicitly until a non-bootstrap aws-sdk-go is available. | ||
| [[components.golang-mongodb-mongo-driver.overlays]] | ||
| description = "Add missing transitive BuildRequires on go-jmespath (needed by aws-sdk-go, missing in bootstrap builds)" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "golang(github.com/jmespath/go-jmespath)" |
13 changes: 13 additions & 0 deletions
13
...lang-mongodb-mongo-driver/overlays/0001-add-missing-transitive-buildrequires.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # The aws-sdk-go-devel bootstrap build has auto-generated Requires stripped, | ||
| # so it doesn't transitively pull in golang-github-jmespath-devel. Add the | ||
| # missing build dependency explicitly until a non-bootstrap aws-sdk-go is available. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Add missing transitive BuildRequires on go-jmespath (needed by aws-sdk-go, missing in bootstrap builds)" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "golang(github.com/jmespath/go-jmespath)" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1 @@ | ||
| [components.libnbd] | ||
|
|
||
| # Disable OCaml bindings — OCaml libraries have ABI mismatches in the | ||
| # bootstrap build tag (ocaml-findlib-devel requires ocamlx() hashes | ||
| # that don't match the available OCaml packages). | ||
| [[components.libnbd.overlays]] | ||
| description = "Disable OCaml bindings until OCaml bootstrap is resolved" | ||
| type = "spec-search-replace" | ||
| regex = '%global have_ocaml 1' | ||
| replacement = '%global have_ocaml 0' |
13 changes: 13 additions & 0 deletions
13
base/comps/libnbd/overlays/0001-disable-ocaml-bindings-ocaml.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Disable OCaml bindings — OCaml libraries have ABI mismatches in the | ||
| # bootstrap build tag (ocaml-findlib-devel requires ocamlx() hashes | ||
| # that don't match the available OCaml packages). | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Disable OCaml bindings until OCaml bootstrap is resolved" | ||
| type = "spec-search-replace" | ||
| regex = "%global have_ocaml 1" | ||
| replacement = "%global have_ocaml 0" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1 @@ | ||
| # golang-github-aws-sdk is built in bootstrap mode, which suppresses | ||
| # golang(...) Requires. This means its transitive Go imports (like jmespath) | ||
| # are not automatically pulled into the buildroot via RPM dependencies. | ||
| # Add explicit BuildRequires for the missing transitive deps so the aws_s3 | ||
| # source driver can compile. | ||
| [components.migrate] | ||
|
|
||
| [[components.migrate.overlays]] | ||
| description = "Add missing jmespath BuildRequires — transitive dep of aws-sdk-go, not pulled in due to bootstrap mode" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "golang(github.com/jmespath/go-jmespath)" |
15 changes: 15 additions & 0 deletions
15
base/comps/migrate/overlays/0001-add-missing-jmespath-buildrequires.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # golang-github-aws-sdk is built in bootstrap mode, which suppresses | ||
| # golang(...) Requires. This means its transitive Go imports (like jmespath) | ||
| # are not automatically pulled into the buildroot via RPM dependencies. | ||
| # Add explicit BuildRequires for the missing transitive deps so the aws_s3 | ||
| # source driver can compile. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Add missing jmespath BuildRequires — transitive dep of aws-sdk-go, not pulled in due to bootstrap mode" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "golang(github.com/jmespath/go-jmespath)" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1 @@ | ||
| [components.nbdkit] | ||
|
|
||
| # Disable libguestfs plugin — libguestfs is not yet building due to | ||
| # bootstrap QEMU having Xen enabled (missing xen libs in build tag). | ||
| # The upstream spec already gates this behind !rhel, so this mirrors | ||
| # the RHEL build configuration. | ||
| [[components.nbdkit.overlays]] | ||
| description = "Disable libguestfs plugin until libguestfs is buildable" | ||
| type = "spec-search-replace" | ||
| regex = '%global have_libguestfs 1' | ||
| replacement = '%global have_libguestfs 0' | ||
|
|
||
| # Disable OCaml plugin — OCaml libraries have ABI mismatches in the | ||
| # bootstrap build tag. Also gated behind !rhel upstream. | ||
| [[components.nbdkit.overlays]] | ||
| description = "Disable OCaml plugin until OCaml bootstrap is resolved" | ||
| type = "spec-search-replace" | ||
| regex = '%global have_ocaml 1' | ||
| replacement = '%global have_ocaml 0' | ||
|
|
||
| # Azure Linux does not ship mingw cross-compilation toolchains. | ||
| [[components.nbdkit.overlays]] | ||
| description = "Disable mingw subpackage — Azure Linux does not ship mingw toolchains" | ||
| type = "spec-search-replace" | ||
| regex = '%global have_mingw 1' | ||
| replacement = '%global have_mingw 0' |
22 changes: 22 additions & 0 deletions
22
base/comps/nbdkit/overlays/0001-disable-libguestfs-plugin-libguestfs.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Disable libguestfs plugin — libguestfs is not yet building due to | ||
| # bootstrap QEMU having Xen enabled (missing xen libs in build tag). | ||
| # The upstream spec already gates this behind !rhel, so this mirrors | ||
| # the RHEL build configuration. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Disable libguestfs plugin until libguestfs is buildable" | ||
| type = "spec-search-replace" | ||
| regex = "%global have_libguestfs 1" | ||
| replacement = "%global have_libguestfs 0" | ||
|
|
||
| # Disable OCaml plugin — OCaml libraries have ABI mismatches in the | ||
| # bootstrap build tag. Also gated behind !rhel upstream. | ||
| [[overlays]] | ||
| description = "Disable OCaml plugin until OCaml bootstrap is resolved" | ||
| type = "spec-search-replace" | ||
| regex = "%global have_ocaml 1" | ||
| replacement = "%global have_ocaml 0" |
11 changes: 11 additions & 0 deletions
11
base/comps/nbdkit/overlays/0002-disable-mingw-subpackage-ship.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Azure Linux does not ship mingw cross-compilation toolchains. | ||
|
|
||
| [metadata] | ||
| category = "azl-pruning" | ||
| upstream-status = "needs-upstream-hook" | ||
|
|
||
| [[overlays]] | ||
| description = "Disable mingw subpackage — Azure Linux does not ship mingw toolchains" | ||
| type = "spec-search-replace" | ||
| regex = "%global have_mingw 1" | ||
| replacement = "%global have_mingw 0" |
21 changes: 21 additions & 0 deletions
21
base/comps/pyOpenSSL/overlays/0001-pin-python3-cryptography-45.overlay.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Pin to 25.1.0 because 25.2.0+ requires cryptography >= 45.0.7, but we ship | ||
| # python-cryptography 45.0.4 (pinned because 46.x needs crate(asn1) >= 0.22.0, | ||
| # not yet available). 25.1.0 requires cryptography >= 41.0.5, < 46 which is | ||
| # compatible with our 45.0.4. | ||
| # Re-align to latest when python-cryptography is updated to >= 45.0.7. | ||
|
|
||
| [metadata] | ||
| category = "azl-temp-workaround" | ||
| upstream-status = "inapplicable" | ||
|
|
||
| [[overlays]] | ||
| description = "Pin python3-cryptography to 45.x to match the version we ship (python-cryptography is pinned to 45.0.4)" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "python3-cryptography >= 45.0.4" | ||
|
|
||
| [[overlays]] | ||
| description = "Prevent building against cryptography 46.x which we do not ship" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "python3-cryptography < 46" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,2 @@ | ||
| # Pin to 25.1.0 because 25.2.0+ requires cryptography >= 45.0.7, but we ship | ||
| # python-cryptography 45.0.4 (pinned because 46.x needs crate(asn1) >= 0.22.0, | ||
| # not yet available). 25.1.0 requires cryptography >= 41.0.5, < 46 which is | ||
| # compatible with our 45.0.4. | ||
| # Re-align to latest when python-cryptography is updated to >= 45.0.7. | ||
| [components.pyOpenSSL] | ||
| spec = { type = "upstream", upstream-commit = "8ac54d517e6d9db673dc83b4e2b12b83d1f99724" } | ||
|
|
||
| [[components.pyOpenSSL.overlays]] | ||
| description = "Pin python3-cryptography to 45.x to match the version we ship (python-cryptography is pinned to 45.0.4)" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "python3-cryptography >= 45.0.4" | ||
|
|
||
| [[components.pyOpenSSL.overlays]] | ||
| description = "Prevent building against cryptography 46.x which we do not ship" | ||
| type = "spec-add-tag" | ||
| tag = "BuildRequires" | ||
| value = "python3-cryptography < 46" |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.