workaround(erlang): disable doc subpackage — fop not available#16625
Merged
christopherco merged 1 commit intotomls/base/mainfrom Apr 13, 2026
Merged
workaround(erlang): disable doc subpackage — fop not available#16625christopherco merged 1 commit intotomls/base/mainfrom
christopherco merged 1 commit intotomls/base/mainfrom
Conversation
fop (Apache FOP) is not packaged in Azure Linux. It is only needed to build the erlang-doc subpackage (PDF documentation from XSL-FO). The upstream spec already has a conditional to disable docs on RHEL 8+, but AZL hits the Fedora codepath where docs are enabled by default. Use build.without = ["doc"] to disable doc generation. Build verified locally; erlang-erts RPM contents inspected in mock.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR disables Erlang PDF documentation generation in Azure Linux builds because Apache FOP isn’t packaged, and the erlang spec enables docs by default on the Fedora codepath.
Changes:
- Add a dedicated
erlang.comp.tomlwithbuild.without = ["doc"]to pass--without docto the RPM build. - Remove the bare
[components.erlang]entry fromcomponents.tomlto avoid duplicate component tables now that a dedicated*.comp.tomlexists.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| base/comps/erlang/erlang.comp.toml | Introduces build.without = ["doc"] to disable the doc subpackage build path that requires FOP. |
| base/comps/components.toml | Removes the inline erlang component entry since the dedicated component file will be included via **/*.comp.toml. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
anphel31
approved these changes
Apr 13, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
fop (Apache FOP) is not packaged in Azure Linux. It is only needed to build the erlang-doc subpackage (PDF documentation from XSL-FO). The upstream spec already has a conditional to disable docs on RHEL 8+, but AZL hits the Fedora codepath where docs are enabled by default.
Use build.without = ["doc"] to disable doc generation.
Build verified locally; erlang-erts RPM contents inspected in mock.