[Rpm-maint] [rpm-software-management/rpm] Wrong line reported on %filetriggerin parse error (Issue #2584)
Panu Matilainen
notifications at github.com
Wed Aug 23 09:29:30 UTC 2023
I see you found and fixed the issue in https://src.fedoraproject.org/rpms/asahi-scripts/c/3b58fb7eaa651161c345cc320a1c2f0d4a4682b9?branch=rawhide already, but to clarify to others:
The actual error was %{python3_sitearch} being unexpanded in the %filetriggerin line. Apparently in F39, the definition of that macro has either moved, or the package is no longer being pulled into the buildroot with this set of dependencies, which causes the previously working spec to fail there. That's not due to anything changing in rpm.
So, this is actually rpm finding a packaging bug where an unexpanded macro is used in a dependency name. But, the reported line number and message itself is on the wrong line :facepalm: thus being very misleading and making it hard to see the real issue. That is a bug worth fixing, so thanks for reporting even if it was a bit different than you probably thought.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2584#issuecomment-1689612206
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2584/1689612206 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230823/83160a9a/attachment.html>
More information about the Rpm-maint
mailing list