[Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

Mark Wielaard mark at klomp.org
Thu Aug 3 09:34:45 UTC 2017


On Wed, 2017-08-02 at 17:43 +0200, Igor Gnatenko wrote:
> On Wed, 2017-08-02 at 13:09 +0200, Mark Wielaard wrote:
> > Do we want to be nicer to packages that don't include sources like
> > this?
> > Or should we just declare that this is probably a packaging issue
> > (badly produced debuginfo) and improve the error message?
>
> We do this today with debuginfo packages, I don't think debugsource
> should be treated differently. If there will be use-case, then we can
> figure something out.

What precisely does "this" refer to? It currently is treated
differently, that is what the patch tries to fix. Although I am
certainly open to alternatives.

If there are no sources, currently the debuginfo package is just created
without any sources, just the .debug files. But when
_debugsource_packages is defined we error out (with a somewhat cryptic
error message IMHO). It would be nice to make this behavior consistent.
What option do you suggest we should implement?

> > Alternatively we might just skip creation of the whole debugsource
> > package. But I couldn't figure out how to do that.

Cheers,

Mark


More information about the Rpm-maint mailing list