Opened 8 years ago
Closed 8 years ago
#13080 closed Bug Report - General (Invalid)
Fedora 24 -> 26: RPM build errors: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration.
| Reported by: | Owned by: | Stuart Auchterlonie | |
|---|---|---|---|
| Priority: | minor | Milestone: | 29.0 |
| Component: | Packaging | Version: | 0.27-fixes |
| Severity: | high | Keywords: | macro recursion |
| Cc: | Ticket locked: | no |
Description
Since I upgraded the MythTV box from fedora 24 to Fedora 26 I am unable to (re)build MythTV/MythWeb using the MythTV/packaging tools. I get errors like in the summary. I opened a bug in the Redhat bugzilla for this problem but they refer to MythTV: https://bugzilla.redhat.com/show_bug.cgi?id=1475439
How can I build MythTV rpms again? What is the root cause of this issue? How can I find out?
Change History (7)
comment:1 by , 8 years ago
| Milestone: | needs_triage → 29.0 |
|---|---|
| Owner: | set to |
| Status: | new → accepted |
follow-up: 4 comment:2 by , 8 years ago
| Status: | accepted → infoneeded |
|---|
Actually, please just use the packages from rpmfusion https://rpmfusion.org/
Does this work for you?
Regards Stuart
comment:4 by , 8 years ago
Replying to stuarta:
Actually, please just use the packages from rpmfusion https://rpmfusion.org/
Does this work for you?
I can look at their packages over this weekend.
comment:5 by , 8 years ago
Issue was caused by ~/.rpmrc that contained:
optflags: x86_64 -march=k8 -mtune=k8 -msse -msse2 -msse3 -m3dnow %{__global_cflags} -m64
yet in F26 /usr/lib/rpm/redhat/macros contains a line saying:
%__global_cflags %{optflags}
(this was not the case before)
comment:6 by , 8 years ago
In F24 /usr/lib/rpm/redhat/macros contains a line saying:
%__global_cflags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches %{_hardened_cflags}
So I think we can close this ticket.
comment:7 by , 8 years ago
| Resolution: | → Invalid |
|---|---|
| Status: | infoneeded → closed |
Thanks for reporting back.

I'll take a look at this, those spec files haven't been updated for ages tho.