QubesOS / qubes-rpm-oxide

Rust libraries for processing RPM packages
4 stars 4 forks source link

Fix issue in finding debugsymbols for Fedora 41 #29

Closed fepitre closed 4 months ago

fepitre commented 5 months ago

Build typically fails like:

+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.2.7-1.fc41 --unique-debug-suffix -0.2.7-1.fc41.x86_64 --unique-debug-src-base qubes-rpm-oxide-0.2.7-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/qubes-rpm-oxide-0.2.7
find-debuginfo: starting
Extracting debug info from 2 files
warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts
of file /builddir/build/BUILDROOT/qubes-rpm-oxide-0.2.7-1.fc41.x86_64/usr/bin/sigparse.
Use `info auto-load python-scripts [REGEXP]' to list them.
warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts
of file /builddir/build/BUILDROOT/qubes-rpm-oxide-0.2.7-1.fc41.x86_64/usr/bin/rpmcanon.
Use `info auto-load python-scripts [REGEXP]' to list them.
Error while writing index for `/builddir/build/BUILDROOT/qubes-rpm-oxide-0.2.7-1.fc41.x86_64/usr/bin/sigparse': No debugging symbols
Error while writing index for `/builddir/build/BUILDROOT/qubes-rpm-oxide-0.2.7-1.fc41.x86_64/usr/bin/rpmcanon': No debugging symbols
gdb-add-index: No index was created for /builddir/build/BUILDROOT/qubes-rpm-oxide-0.2.7-1.fc41.x86_64/usr/bin/sigparse
gdb-add-index: [Was there no debuginfo? Was there already an index?]
gdb-add-index: No index was created for /builddir/build/BUILDROOT/qubes-rpm-oxide-0.2.7-1.fc41.x86_64/usr/bin/rpmcanon
gdb-add-index: [Was there no debuginfo? Was there already an index?]
DWARF-compressing 2 files
dwz: Too few files for multifile optimization
sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
find-debuginfo: done

https://doc.rust-lang.org/cargo/reference/profiles.html#strip

https://github.com/QubesOS/qubes-issues/issues/9244

marmarek commented 5 months ago

Is it also https://github.com/QubesOS/qubes-issues/issues/9137 ?

marmarek commented 4 months ago

I'm confused, now fc38 failed with:

DEBUG: error: Empty %files file /builddir/build/BUILD/qubes-rpm-oxide-0.2.7/debugsourcefiles.list

but both fc37 (dom0) and fc39 worked

marmarek commented 4 months ago

I have an idea: Fedora 38 went EOL just a few days ago, lets drop it from CI :D

marmarek commented 4 months ago

PipelineRetry