Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Kamil Dudka
On Wednesday, July 26, 2017 14:55:34 Igor Gnatenko wrote: > On Wed, 2017-07-26 at 14:38 +0200, Kamil Dudka wrote: > > > On Monday, June 26, 2017 16:13:02 Mark Wielaard wrote: > > > > > Hi packagers, > > > > > > > > > > > > rawhide rpmbuild contains various debuginfo improvements that > > > hopefu

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 2017-07-26 at 14:38 +0200, Kamil Dudka wrote: > On Monday, June 26, 2017 16:13:02 Mark Wielaard wrote: > > Hi packagers, > > > > rawhide rpmbuild contains various debuginfo improvements that > > hopefully > > will make various hacks in spec

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Mark Wielaard
On Wed, 2017-07-26 at 14:38 +0200, Kamil Dudka wrote: > On Monday, June 26, 2017 16:13:02 Mark Wielaard wrote: > > rawhide rpmbuild contains various debuginfo improvements that hopefully > > will make various hacks in spec files redundant. > > These improvements break build of packages that use th

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Richard W.M. Jones
I should say there is still a kind of problem, although I don't think it's a real bug. Because of the statically linked sources, during debuginfo generation it prints a bunch of warnings: cpio: big_int.ml: Cannot stat: No such file or directory cpio: buffer.ml: Cannot stat: No such file or direc

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Richard W.M. Jones
On Wed, Jul 26, 2017 at 01:27:59PM +0100, Richard W.M. Jones wrote: > The same happens in the cduce binary, with a bunch of stuff being > statically linked. > > However the problem is that cduce itself was compiled without the ā€˜-g’ > flag, so none of the debuginfo refers to the main binary, only t

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Kamil Dudka
On Monday, June 26, 2017 16:13:02 Mark Wielaard wrote: > Hi packagers, > > rawhide rpmbuild contains various debuginfo improvements that hopefully > will make various hacks in spec files redundant. These improvements break build of packages that use the RemovePathPostfixes feature of RPM, such a

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Richard W.M. Jones
On Wed, Jul 26, 2017 at 01:21:29PM +0200, Mark Wielaard wrote: > On Wed, 2017-07-26 at 11:37 +0100, Richard W.M. Jones wrote: > > Could this be causing: > > > > error: Empty %files file > > /builddir/build/BUILD/cduce-0.6.0/debugsourcefiles.list > > > > in https://koji.fedoraproject.org/koji/t

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Richard W.M. Jones
On Wed, Jul 26, 2017 at 01:21:29PM +0200, Mark Wielaard wrote: > > OCaml generates DWARF information which is picked up for debuginfo > > files (and is useful), but our debuginfo tools have never been able to > > locate the source files correctly -- perhaps they need to be told that > > *.ml files

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Mark Wielaard
On Wed, 2017-07-26 at 11:37 +0100, Richard W.M. Jones wrote: > Could this be causing: > > error: Empty %files file > /builddir/build/BUILD/cduce-0.6.0/debugsourcefiles.list > > in https://koji.fedoraproject.org/koji/taskinfo?taskID=20742651 ? Yes, if %_debugsource_packages is defined and the

Re: rpm debuginfo improvements for rawhide/f27

2017-07-26 Thread Richard W.M. Jones
Could this be causing: error: Empty %files file /builddir/build/BUILD/cduce-0.6.0/debugsourcefiles.list in https://koji.fedoraproject.org/koji/taskinfo?taskID=20742651 ? OCaml generates DWARF information which is picked up for debuginfo files (and is useful), but our debuginfo tools have nev

Re: rpm debuginfo improvements for rawhide/f27

2017-07-24 Thread Mark Wielaard
Hi packagers, On Mon, Jun 26, 2017 at 04:13:02PM +0200, Mark Wielaard wrote: > The second introduces two new macros to enable > separate debugsource and sub-debuginfo packages, but has not been > enabled by default yet. If people like the change and no bugs are found > (and fesco and releng agree)

rpm debuginfo improvements for rawhide/f27

2017-06-26 Thread Mark Wielaard
Hi packagers, rawhide rpmbuild contains various debuginfo improvements that hopefully will make various hacks in spec files redundant. If you have your own way of handling debuginfo packages, calling find-debuginfo.sh directly, need hacks for working around debugedit limitations or split your deb