Package: libbpfcc Version: 0.16.0-2+b1 Followup-For: Bug #942290 Control: retitle -1 libbpfcc: libbcc_bpf.so: needs to link with -lelf and -lz
The same issue now also applies to libz: $ lib=/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 $ link=/lib/x86_64-linux-gnu/libz.so.1.2.11 $ pkg="$(dpkg-query --search "$lib" | sed s/:.*//)" $ src="$(grep-aptavail --no-field-names --show-field Source:Package --field Package --exact-match --pattern "$pkg" | sed 's/ .*//')" $ first="$(printf '%s' "$src" | head --bytes 1)" $ adequate "$pkg" | grep -v elf libbpfcc: undefined-symbol /usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 => gzclose libbpfcc: undefined-symbol /usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 => gzgets libbpfcc: undefined-symbol /usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 => gzopen $ lddtree "$lib" libbcc_bpf.so.0.16.0 => /usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 (interpreter => none) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 ld-linux-x86-64.so.2 => /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 $ symtree "$lib" /usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 libc.so.6 => socket,__xpg_basename,fopen,strncmp,perror,__isoc99_sscanf,epoll_wait,ftell,strncpy,time,__stack_chk_fail,unlink,mkdir,realloc,getpid,strdup,strtol,mmap,feof,fgets,calloc,strlen,send,memset,dirname,strstr,rmdir,__errno_location,bind,fseek,read,getpagesize,getsockopt,dup3,poll,__fprintf_chk,recv,__isoc99_fscanf,memcpy,memcpy,fclose,fmemopen,fmemopen,setsockopt,malloc,__ctype_b_loc,stderr,ioctl,munmap,__snprintf_chk,__memset_chk,setrlimit,if_nametoindex,strtoull,__getdelim,if_indextoname,fwrite,fread,epoll_ctl,geteuid,statfs,__memcpy_chk,close,open,strchr,getsockname,epoll_create1,__vfprintf_chk,qsort,accept,__strcpy_chk,__cxa_finalize,syscall,__xpg_strerror_r,__sprintf_chk,getrlimit,memmove,uname,access,strcmp,strerror,write,snprintf,sysconf,reallocarray,free WEAK => _ITM_deregisterTMCloneTable,__gmon_start__,_ITM_registerTMCloneTable UNRESOLVED => gelf_getshdr,gzclose,elf_rawdata,gzgets,elf_getscn,elf_begin,gelf_getrel,elf_memory,elf_end,elf_strptr,elf_nextscn,gzopen,gelf_getehdr,elf_version,elf_getdata,gelf_getclass,gelf_getsym $ objdump -T "$link" | grep -E " ($(symtree "$lib" | sed -n 's/ UNRESOLVED => //p' | tr , '|'))$" 00000000000127c0 g DF .text 0000000000000160 Base gzgets 0000000000011110 g DF .text 0000000000000023 Base gzclose 0000000000011480 g DF .text 000000000000000d Base gzopen $ w3m -dump https://qa.debian.org/bls/packages/"$first"/"$src".html | grep -A2 symbol • W shlibs-symbol-not-found (amd64, ppc64, ppc64el) Found 3 issues. $ chronic getbuildlog "$src" last $ grep 'dpkg-shlibdeps: warning: symbol .* used by .* found in none of the libraries' ./*.log | grep -v elf ./bpfcc_0.16.0-2+b1_amd64.log:dpkg-shlibdeps: warning: symbol gzopen used by debian/libbpfcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries ./bpfcc_0.16.0-2+b1_amd64.log:dpkg-shlibdeps: warning: symbol gzclose used by debian/libbpfcc/usr/lib/x86_64-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries ./bpfcc_0.16.0-2+b1_ppc64el.log:dpkg-shlibdeps: warning: symbol gzgets used by debian/libbpfcc/usr/lib/powerpc64le-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries ./bpfcc_0.16.0-2+b1_ppc64el.log:dpkg-shlibdeps: warning: symbol gzclose used by debian/libbpfcc/usr/lib/powerpc64le-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries ./bpfcc_0.16.0-2+b1_ppc64.log:dpkg-shlibdeps: warning: symbol gzgets used by debian/libbpfcc/usr/lib/powerpc64-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries ./bpfcc_0.16.0-2+b1_ppc64.log:dpkg-shlibdeps: warning: symbol gzclose used by debian/libbpfcc/usr/lib/powerpc64-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries ./bpfcc_0.16.0-2+b1_ppc64.log:dpkg-shlibdeps: warning: symbol gzopen used by debian/libbpfcc/usr/lib/powerpc64-linux-gnu/libbcc_bpf.so.0.16.0 found in none of the libraries -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libbpfcc depends on: ii libc6 2.31-3 ii libelf1 0.181-1 ii libgcc-s1 10.2.0-13 ii libtinfo6 6.2+20200918-1 ii libz3-4 4.8.9-1 ii zlib1g 1:1.2.11.dfsg-2 libbpfcc recommends no packages. libbpfcc suggests no packages. -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part