[Rpm-maint] [rpm-software-management/rpm] %generate_buildrequires should not trigger the debuginfo machinery (Issue #1870)

Panu Matilainen notifications at github.com
Mon Aug 22 05:21:57 UTC 2022


Oh, this one's rather special.

Debuginfo processing triggers when two conditions are met: the package is not a `noarch` package, and there is no `%build` section. For whatever reason, the main package here is arch specific instead of `noarch`, and so the first condition is met (`noarch` sub-packages are a wacko special case in rpm and do not count for this purpose at all). That package has no `%build` section at all, and *that* is how it avoids the debuginfo machinery in the first place, but apparently `%generate_buildrequires` counts as a "build script" for the purposes of that check. Maybe there's a fallthrough switch-case someplace, dunno. But that does indeed seem like a clear-cut bug.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1870#issuecomment-1221844318
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/1870/1221844318 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220821/6e6aeaf1/attachment.html>


More information about the Rpm-maint mailing list