Description of problem: error: syntax error in expression: 0%{?_package_note_file:1} && 0%{?name:1} && "%_target_cpu" != "noarch" && 1 : 0 error: ^ 1< (%) 0< (%_package_note_status) 6< (%) 5< (%_package_note_flags) 4< (%build_ldflags) -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 3< (%set_build_flags) LDFLAGS="${LDFLAGS:--Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 2< (%_auto_set_build_flags) LDFLAGS="${LDFLAGS:--Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 2< (%) 1< (%expand) 0< (%pyproject_buildrequires) Version-Release number of selected component (if applicable): 0.5-1 How reproducible: Steps to Reproduce: 1. fedpkg co python-reretry 2. cd python-reretry 3. fedpkg mockbuild --enablerepo=local Actual results: Syntax error as pasted above. Expected results: Successful build. Additional info: I’m not sure yet if this breaks all Python packages, or only those that use pyproject-rpm-macros.
The same issue with a noarch perl-Bencode.
Fedora 37 is also affected.
This PR should fix it (https://src.fedoraproject.org/rpms/package-notes/pull-request/7), but it looks like the regression has broken all RPM builds, not just Python ones, so I can’t even try rebuilding package-notes. I think releng will have to untag package-notes-0.5-3.fc38, package-notes-0.5-3.fc37, and perhaps package-notes-0.5-3.eln121 (I don’t know much about ELN).
Same issue. All F37 and F38 builds are broken now.
Untagging requested <https://pagure.io/releng/issue/10973>.
(In reply to Ben Beasley from comment #3) > This PR should fix it > (https://src.fedoraproject.org/rpms/package-notes/pull-request/7), but it > looks like the regression has broken all RPM builds, not just Python ones, > so I can’t even try rebuilding package-notes. > > I think releng will have to untag package-notes-0.5-3.fc38, > package-notes-0.5-3.fc37, and perhaps package-notes-0.5-3.eln121 (I don’t > know much about ELN). You can always request a side tag, tag in an older version of package-notes in it, rebuild pacakge-notes and ship an update.
> You can always request a side tag, tag in an older version of package-notes in it, rebuild pacakge-notes and ship an update. Thanks. It looks like untagging is in progress, but I’ll try to remember that.
FEDORA-2022-327de933d3 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-327de933d3
FEDORA-2022-51b90a342a has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-51b90a342a
FEDORA-2022-327de933d3 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-51b90a342a has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
The "fixed" build also causes build failures, at least for Rust packages, during linking: = note: /usr/bin/ld: cannot open linker script file 1: No such file or directory collect2: error: ld returned 1 exit status https://koji.fedoraproject.org/koji/taskinfo?taskID=90881321