Hi Sandro,

On Wed, Aug 09, 2017 at 03:30:24PM +0200, Sandro Mani wrote:
> Long text short question: can someone help me adapt this logic for the
> new debuginfo/debugsource mechanism?

rpm was changed to make exactly these kind of scenarious easier to handle.
And at the same time it enabled some settings to make such splits automatic
for all packages. Unfortunately that bites in your case.

For the next couple of weeks I only have limited internet access, so I
cannot directly help you. But I wrote an overview of changes and settings
that packages can use in the following two posts:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/ITJHJTUO2WFEAYIHANSM6AMAB5SIFASI/
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RIAOOP7FDT2CS7QPJNARURFUBBLZO6A4/

A workaround that probably gets you past the build failure for now is to
just revert rpm to its old logic by adding the following to your spec
file:

%undefine _debugsource_packages
%undefine _debuginfo_subpackages

> [2] 
> https://src.fedoraproject.org/rpms/mingw-qt5-qtbase/blob/master/f/mingw-qt5-qtbase.spec

One thing I do notice is that after setup you seem to go outside (up) the
rpm setup source builddir. This will confuse rpm when it tries to find
source files that the binaries were build from. See also this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1479198

Hope the helps for now,

Mark
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to