Bug 2427035 - zig-srpm-macros-1-6.fc44 breaks the buildroot
Summary: zig-srpm-macros-1-6.fc44 breaks the buildroot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: zig-srpm-macros
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Drögehoff
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-04 19:15 UTC by Kevin Fenzi
Modified: 2026-03-24 17:59 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-03-24 17:59:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Fenzi 2026-01-04 19:15:56 UTC
see for example:

https://koji.fedoraproject.org/koji/taskinfo?taskID=140737931

DEBUG util.py:459:  error: /usr/lib/rpm/macros.d/macros.zig-srpm: line 7: Macro %else has empty body
DEBUG util.py:459:  error: /usr/lib/rpm/macros.d/macros.zig-srpm: line 10: Macro %endif has empty body
DEBUG util.py:459:  error: line 5: Unknown tag: 0 ! 0
DEBUG util.py:459:  error: /usr/lib/rpm/macros.d/macros.zig-srpm: line 7: Macro %else has empty body
DEBUG util.py:459:  error: /usr/lib/rpm/macros.d/macros.zig-srpm: line 10: Macro %endif has empty body
DEBUG util.py:608:  Child return code was: 1

you cannot use if then else in macros files... 

Reproducible: Always


Note You need to log in before you can comment on or make changes to this bug.