[Pkg-rust-maintainers] Bug#1091609: Bug#1091609: rustc: FTBFS: dwz: debian/rust-llvm/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/wasm-component-ld: .debug_info section not present
Fabian Grünbichler
debian at fabian.gruenbichler.email
Sun Dec 29 12:57:15 GMT 2024
On Sat, Dec 28, 2024, at 6:38 PM, Lucas Nussbaum wrote:
> Source: rustc
> Version: 1.83.0+dfsg1-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20241228 ftbfs-trixie
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> # otherwise rustc gets an empty multifile which lintian errors on, causing
>> # FTP auto-reject. this is a work-around, the lintian bug is #955752
>> # double up the max entries count, else the build might fail..
>> dh_dwz --no-dwz-multifile -- -L 100000000
>> dwz: debian/rust-llvm/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/wasm-component-ld: .debug_info section not present
>> dwz: debian/rustc/usr/bin/rustdoc: elf_update failed
>> dh_dwz: error: dwz -L 100000000 -- debian/rustc/usr/bin/rustc debian/rustc/usr/bin/rustdoc debian/rustc/usr/libexec/rust-analyzer-proc-macro-srv returned exit code 1
>> dwz: debian/cargo/usr/bin/cargo: elf_update failed
>> dh_dwz: error: dwz -L 100000000 -- debian/cargo/usr/bin/cargo returned exit code 1
>> dh_dwz: error: Aborting due to earlier error
>> make[1]: *** [debian/rules:539: override_dh_dwz] Error 25
>
>
> The full build log is available from:
> http://qa-logs.debian.net/2024/12/28/rustc_1.83.0+dfsg1-1_unstable.log
>
> All bugs filed during this archive rebuild are listed at:
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;users=lucas@debian.org
> or:
> https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> If you reassign this bug to another package, please mark it as 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
>
> If you fail to reproduce this, please provide a build log and diff it with mine
> so that we can identify if something relevant changed in the meantime.
Hi,
I can't reproduce this locally, but I am fairly certain it was your build env running out of space at a bad moment of the build, and thus this being a duplicate of https://bugs-devel.debian.org/cgi-bin/bugreport.cgi?bug=1050067 . those executables are probably fairly big at that point, and the rustc build is known to require quite a bit of disk space because of lots of intermediate output/build artifacts.
Leaving it open for now in case you disagree, I'd happy to get additional leads in that case ;)
FWIW, relevant lines from my build:
dh_missing
debian/rules override_dh_dwz
make[1]: Entering directory '/build/reproducible-path/rustc-1.83.0+dfsg1'
# otherwise rustc gets an empty multifile which lintian errors on, causing
# FTP auto-reject. this is a work-around, the lintian bug is #955752
# double up the max entries count, else the build might fail..
dh_dwz --no-dwz-multifile -- -L 100000000
dwz: debian/rust-llvm/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin/wasm-component-ld: .debug_info section not present
make[1]: Leaving directory '/build/reproducible-path/rustc-1.83.0+dfsg1'
dh_strip -a
debian/rules override_dh_makeshlibs
More information about the Pkg-rust-maintainers
mailing list