Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion base/comps/components-full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,6 @@
[components.jansi-native]
[components.jansi1]
[components.jasper]
[components.java-21-openjdk-portable]
[components.java-rpm-macros]
[components.java_cup]
[components.javacc]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[components.java-21-openjdk-portable]

# We build java-21 with portable sources 21.0.8.0.9. The head version of fed43 delivers
# 21.0.10.0.7. This will cause stage2 builds to fail. As a workaround pull from an older
# snapshot from before version was upgraded.
spec = { type = "upstream", upstream-distro = { name = "fedora", version = "43", snapshot = "2025-07-22T00:00:00-08:00" } }

# The build repo has a newer java-21-openjdk (21.0.8+) whose libjava.so references
# JVM_IsContainerized — a symbol not present in the 21.0.7 libjvm.so. The fresh_libjvm
# feature rebuilds libjvm.so from source and swaps it into the boot JDK, causing an ABI
# mismatch. Disable it so the boot JDK uses its own compatible libjvm.so.
[components.java-21-openjdk-portable.build]
without = ["fresh_libjvm"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[components.java-21-openjdk-portable]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you're including an emacs backup file here, this should be removed from the pr


# We build java-21 with portable sources 21.0.8.0.9. The head version of fed43 delivers
# 21.0.10.0.7. This will cause stage2 builds to fail. As a workaround pull from an older
# snapshot from before version was upgraded.
spec = { type = "upstream", upstream-distro = { name = "fedora", version = "43", snapshot = "2025-07-21T00:00:00-08:00" } }

# The build repo has a newer java-21-openjdk (21.0.8+) whose libjava.so references
# JVM_IsContainerized — a symbol not present in the 21.0.7 libjvm.so. The fresh_libjvm
# feature rebuilds libjvm.so from source and swaps it into the boot JDK, causing an ABI
# mismatch. Disable it so the boot JDK uses its own compatible libjvm.so.
[components.java-21-openjdk-portable.build]
without = ["fresh_libjvm"]