I maintain a package written in Pascal, which uses fpc for compiling. I noticed 
that recently, koji builds started failing on i686 and armv7hl due to the 
find-debuginfo script failing to, well, extract the debuginfo.

Here's a link to a failed koji build (mass-rebuild by releng):
https://koji.fedoraproject.org/koji/taskinfo?taskID=20981009

On x86_64 and ppc64, the package builds fine. On i686 and armv7hl, this happens:
> extracting debug info from 
> /builddir/build/BUILDROOT/colorful-1.3-3.fc27.arm/usr/bin/colorful
> Stabs debuginfo not supported: 
> /builddir/build/BUILDROOT/colorful-1.3-3.fc27.arm/usr/bin/colorful
> gdb-add-index: No index was created for 
> /builddir/build/BUILDROOT/colorful-1.3-3.fc27.arm/usr/bin/colorful
> gdb-add-index: [Was there no debuginfo? Was there already an index?]
[ snip ]
>RPM build errors:
>error: Empty %files file 
>/builddir/build/BUILD/LD25-e5ecbe39b719f12a1268bcc641eae9ba364221c9/debugsourcefiles.list

I thought this may be a bug with the package, but then I saw that koji builds 
for a new fpc-compiled package that I've been working on lately (not yet 
submitted for review) suffer the same problem. This one is worse, even, since 
find-debuginfo fails with a coredump. 
https://koji.fedoraproject.org/koji/taskinfo?taskID=21087076
>extracting debug info from 
>/builddir/build/BUILDROOT/peazip-6.4.1-3.fc27.i386/usr/bin/peazip-qt
>extracting debug info from 
>/builddir/build/BUILDROOT/peazip-6.4.1-3.fc27.i386/usr/bin/peazip-gtk
>Stabs debuginfo not supported: 
>/builddir/build/BUILDROOT/peazip-6.4.1-3.fc27.i386/usr/bin/peazip-qt
>Stabs debuginfo not supported: 
>/builddir/build/BUILDROOT/peazip-6.4.1-3.fc27.i386/usr/bin/peazip-gtk
>dwz: dwz.c:1984: checksum_die: Assertion `((!op_multifile && !rd_multifile && 
>!fi_multifile) || cu != die_cu (ref)) && (!op_multifile || cu->cu_chunk == 
>die_cu (ref)->cu_chunk)' failed.
>/usr/lib/rpm/find-debuginfo.sh: line 518:  8822 Aborted                 (core 
>dumped) dwz $dwz_opts ${dwz_files[@]}

I checked the build & updates status for fpc and there haven't been any updates 
to the package lately, so this definitely isn't a regression in the compiler.
Have there been any recent changes to find-debuginfo that may be causing this?
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to