• Bug#1060969: android-platform-external-libunwind: FTBFS: ld: cannot fin

    From Lucas Nussbaum@21:1/5 to All on Tue Jan 16 21:00:09 2024
    Source: android-platform-external-libunwind
    Version: 10.0.0+r36-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240115 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    cc src/mi/init.c src/mi/flush_cache.c src/mi/mempool.c src/mi/strerror.c src/mi/backtrace.c src/mi/dyn-cancel.c src/mi/dyn-info-list.c src/mi/dyn-register.c src/mi/map.c src/mi/Lmap.c src/mi/Ldyn-extract.c src/mi/Lfind_dynamic_proc_info.c src/mi/Lget_
    proc_info_by_ip.c src/mi/Lget_proc_name.c src/mi/Lput_dynamic_unwind_info.c src/mi/Ldestroy_addr_space.c src/mi/Lget_reg.c src/mi/Lset_reg.c src/mi/Lget_fpreg.c src/mi/Lset_fpreg.c src/mi/Lset_caching_policy.c src/mi/Gdyn-extract.c src/mi/Gdyn-remote.c
    src/mi/Gfind_dynamic_proc_info.c src/mi/Gget_accessors.c src/mi/Gget_proc_info_by_ip.c src/mi/Gget_proc_name.c src/mi/Gput_dynamic_unwind_info.c src/mi/Gdestroy_addr_space.c src/mi/Gget_reg.c src/mi/Gset_reg.c src/mi/Gget_fpreg.c src/mi/Gset_fpreg.c src/
    mi/Gset_caching_policy.c src/dwarf/Lexpr.c src/dwarf/Lfde.c src/dwarf/Lparser.c src/dwarf/Lpe.c src/dwarf/Lstep_dwarf.c src/dwarf/Lfind_proc_info-lsb.c src/dwarf/Lfind_unwind_table.c src/dwarf/Gexpr.c src/dwarf/Gfde.c src/dwarf/Gfind_proc_info-lsb.c src/
    dwarf/Gfind_unwind_table.c src/dwarf/Gparser.c src/dwarf/Gpe.c src/dwarf/Gstep_dwarf.c src/dwarf/global.c src/os-common.c src/os-linux.c src/Los-common.c src/ptrace/_UPT_accessors.c src/ptrace/_UPT_access_fpreg.c src/ptrace/_UPT_access_mem.c src/ptrace/_
    UPT_access_reg.c src/ptrace/_UPT_create.c src/ptrace/_UPT_destroy.c src/ptrace/_UPT_find_proc_info.c src/ptrace/_UPT_get_dyn_info_list_addr.c src/ptrace/_UPT_put_unwind_info.c src/ptrace/_UPT_get_proc_name.c src/ptrace/_UPT_reg_offset.c src/ptrace/_UPT_
    resume.c src/x86_64/is_fpreg.c src/x86_64/regname.c src/x86_64/Gcreate_addr_space.c src/x86_64/Gget_proc_info.c src/x86_64/Gget_save_loc.c src/x86_64/Gglobal.c src/x86_64/Ginit.c src/x86_64/Ginit_local.c src/x86_64/Ginit_remote.c src/x86_64/Gregs.c src/
    x86_64/Gresume.c src/x86_64/Gstep.c src/x86_64/Lcreate_addr_space.c src/x86_64/Lget_proc_info.c src/x86_64/Lget_save_loc.c src/x86_64/Lglobal.c src/x86_64/Linit.c src/x86_64/Linit_local.c src/x86_64/Linit_remote.c src/x86_64/Lregs.c src/x86_64/Lresume.c
    src/x86_64/Lstep.c src/x86_64/getcontext.S src/x86_64/Gstash_frame.c src/x86_64/Gtrace.c src/x86_64/Gos-linux.c src/x86_64/Lstash_frame.c src/x86_64/Ltrace.c src/x86_64/Los-linux.c src/x86_64/setcontext.S src/elf64.c -o debian/out/libunwind.so.0 -g -O2 -
    ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -DHAVE_CONFIG_H -DNDEBUG -D_GNU_SOURCE -Werror -Wno-unused-parameter -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -
    DNDEBUG -Iinclude -Isrc -Iinclude/tdep-x86_64 -Idebian/include -Wl,-z,relro -Wl,-z,now -fPIC -shared -Wl,-soname,libunwind.so.0 -Wl,-rpath=/usr/lib/x86_64-linux-gnu/android -lpthread -nostdlib -lc -lgcc -Ldebian/out -l7z
    src/ptrace/_UPT_get_dyn_info_list_addr.c: In function ‘get_list_addr’: src/ptrace/_UPT_get_dyn_info_list_addr.c:75:10: note: ‘#pragma message: Implement get_list_addr(), please.’
    75 | # pragma message("Implement get_list_addr(), please.")
    | ^~~~~~~
    /usr/bin/ld: cannot find -l7z: No such file or directory
    collect2: error: ld returned 1 exit status


    The full build log is available from: http://qa-logs.debian.net/2024/01/15/android-platform-external-libunwind_10.0.0+r36-4_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)