fix(autopatch): Replaced broken 'export GOAMD64=v3' action with '%global goamd64 v3' macro replacement, adapting the a10s reference conf #4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a10-20260601-050203"
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: Replaced broken 'export GOAMD64=v3' action with '%global goamd64 v3' macro replacement, adapting the a10s reference config fix for the a10 branch.
Root cause
The c10 spec was updated to use '%global goamd64 v3' / '%global goppc64 power9' macros instead of literal 'export GOAMD64=v3' statements. The old config tried to find the literal export string (which no longer exists), causing ActionNotAppliedError. The fix (taken from the a10s reference branch) replaces the '%global goamd64 v3' block with an '%ifarch x86_64_v2' conditional, and also removes the now-obsolete '%build' sed-command action. The CFLAGS action was retained with count=1 (only one occurrence of GOAMD64=v3 exists in the spec).
Original error
Type:
ActionNotAppliedErrorPackage:
golang| Webhook branch:c10