Bug 1222595

Summary: find-debuginfo.sh crash when build with kanidm
Product: [openSUSE] openSUSE Distribution Reporter: Max Lin <mlin>
Component: OtherAssignee: William Brown <william.brown>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: georg.pfuetzenreuter, lubos.kocman, mlin
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Max Lin 2024-04-10 07:42:09 UTC
find-debuginfo.sh crash when building with kanidm, the full build log openSUSE:Backports:SLE-15-SP6 staging[1]

[ 1201s] + /usr/lib/rpm/find-debuginfo.sh -j4 --build-id-seed 1.1.0~rc16~git4.d407844-bp156.2.1 --unique-debug-suffix -1.1.0~rc16~git4.d407844-bp156.2.1.x86_64 --unique-debug-src-base kanidm-1.1.0~rc16~git4.d407844-bp156.2.1.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/kanidm-1.1.0~rc16~git4.d407844
[ 1201s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/kanidm-1.1.0~rc16~git4.d407844-bp156.2.1.x86_64/usr/bin/kanidm
[ 1201s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/kanidm-1.1.0~rc16~git4.d407844-bp156.2.1.x86_64/lib64/security/pam_kanidm.so
[ 1201s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/kanidm-1.1.0~rc16~git4.d407844-bp156.2.1.x86_64/usr/lib64/libnss_kanidm.so.2
[ 1201s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/kanidm-1.1.0~rc16~git4.d407844-bp156.2.1.x86_64/usr/sbin/kanidm-ipa-sync
[ 1201s] Cannot handle 8-byte build ID
[ 1201s] Cannot handle 8-byte build ID
[ 1203s] Cannot handle 8-byte build ID
[ 1203s] Cannot handle 8-byte build ID
[ 1203s] /usr/lib/rpm/find-debuginfo.sh: line 521: /tmp/find-debuginfo.avVGqk/res.*: No such file or directory

[1] https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6:Staging:adi:9/kanidm/standard/x86_64
Comment 1 Lubos Kocman 2024-04-16 22:06:56 UTC
I suppose this can be closed
since https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/kanidm/standard/x86_64 fails on another issue now.
Comment 2 Max Lin 2024-04-17 06:24:23 UTC
(In reply to Lubos Kocman from comment #1)
> I suppose this can be closed
> since
> https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-
> SP6/kanidm/standard/x86_64 fails on another issue now.

kanidm version from Factory has fixed that problem, however it encounter find-defbuginfo problem as this report regard to, it's reproduciable in staging adi:9.
Comment 3 Georg Pfuetzenreuter 2024-06-16 13:57:12 UTC
We face the same problem in openSUSE:infrastructure (which has debuginfo enabled in the project meta) where we link `kanidm` from Factory.
Comment 4 William Brown 2024-06-17 04:41:19 UTC
Looks like this will be fixed in LLVM 19, so a future rust update should automatically fix this.