fix(autopatch): Removed four obsolete actions from config-portable-riscv64.yaml whose %%{nil} fix was already absorbed upstream. #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a8-20260723-010949"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated fix by autopatch agent.
Summary: Removed four obsolete actions from config-portable-riscv64.yaml whose %%{nil} fix was already absorbed upstream.
Root cause
The error was
ActionNotAppliedErroronfind: "jreportablearchive -- %%{nil}"inconfig-portable-riscv64.yaml.The upstream portable specfile (
java-21-openjdk-portable.specfile, c8 branch) already contains the RPM 4.19%%{nil}fix (changelog entry dated 2026-06-26, OPENJDK-4887):jreportablearchive_for_files(),jdkportablearchive_for_files(), andstaticlibsportablearchive_for_files()macros%filessections use these_for_files()variants — no%%{nil}remains thereAs a result, four actions in the config were obsolete (case a — absorbed upstream):
jreportablearchiveForFiles/jdkportablearchiveForFiles/staticlibsportablearchiveForFilesmacros after%define miscportablearchive()— upstream already provides the equivalent_for_files()macrosfind: "jreportablearchive -- %%{nil}"→ replace withjreportablearchiveForFiles— no more%%{nil}in%filessectionsfind: "jdkportablearchive -- %%{nil}"→ replace withjdkportablearchiveForFiles— same reasonfind: "staticlibsportablearchive -- %%{nil}"→ replace withstaticlibsportablearchiveForFiles— same reasonThe two remaining
replaceactions (addingriscv64toARCH_DATA_MODEL=64and inserting the riscv64debug_package %{nil}block) still apply correctly and were left unchanged.Original error
Type:
ActionNotAppliedErrorPackage:
java-21-openjdk| Webhook branch:c8Removed four obsolete actions from config-portable-riscv64.yaml whose %%{nil} fix was already absorbed upstream.