[Rpm-maint] [rpm-software-management/rpm] Handle manually specified debuginfo package more gracefully (#1177)

Panu Matilainen notifications at github.com
Tue Apr 14 09:54:51 UTC 2020


In todays' "look ma what crawled from under the bed" episode, we have
encounter a subpackage whose name is not derived from the main package
name, and a manually specified debuginfo package on that. This particular
combo manages to evade all our checks for duplicate package names, and
in the right phase of the moon actually creates corrupt packages due to
two threads end up writing to the same output file simultaneously. Which
is what happened in https://pagure.io/fedora-infrastructure/issue/8816

Catch the case and use the spec-defined variant (because getting rid
of it would be harder) but issue a warning because most likely this
is not what they really wanted.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1177

-- Commit Summary --

  * Handle manually specified debuginfo package more gracefully

-- File Changes --

    M build/files.c (12)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1177.patch
https://github.com/rpm-software-management/rpm/pull/1177.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1177
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200414/88616eb9/attachment.html>


More information about the Rpm-maint mailing list