Package: tcl-expect Version: 5.45.4-1 Severity: minor File: /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 User: debian...@lists.debian.org Usertags: undefined-symbol adequate
libexpect.so needs to link with Tcl, see the output of adequate, symtree and objdump below. I detected this on amd64 but the Debian build log scanner also detected dpkg-buildpackage complaining about it on other architectures, see the w3m and build log output below. I filed this bug at severity minor since it looks like the code using libexpect.so (expect, skycat) also already uses Tcl libs. This bug report brought to you by adequate: http://bonedaddy.net/pabs3/log/2013/02/23/inadequate-software/ $ adequate tcl-expect tcl-expect:amd64: undefined-symbol /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 => Tcl_ErrnoMsg tcl-expect:amd64: undefined-symbol /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 => Tcl_Free tcl-expect:amd64: undefined-symbol /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 => Tcl_Alloc $ man adequate | grep -A4 undefined-symbol undefined-symbol The symbol has not been found in the libraries linked with the binary. Either the binary either needs to be linked with an additional shared library, or the dependency on the shared library package that provides this symbol is too weak. References: Debian Policy §3.5, §8.6, §10.2. $ lddtree /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 libexpect.so.5.45.4 => /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 (interpreter => none) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 ld-linux-x86-64.so.2 => /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 $ symtree /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 libutil.so.1 => openpty libm.so.6 => log,pow libc.so.6 => fflush,strcpy,__printf_chk,exit,srand,fopen,strncmp,optind,wait,__longjmp_chk,pipe,perror,__isoc99_sscanf,signal,strncpy,__vsprintf_chk,fork,time,__stack_chk_fail,unlink,realloc,abort,stdin,getpid,strftime,gmtime,strtol,isatty,feof,fgets,strlen,strstr,strcspn,tcsendbreak,__errno_location,tcsetattr,read,ttyname,getopt,dup2,__fprintf_chk,__sigsetjmp,stdout,memcpy,memcpy,rand,malloc,__ctype_b_loc,getenv,optarg,stderr,ioctl,alarm,system,dup,execvp,freopen,fileno,fwrite,waitpid,close,open,localtime,strchr,__vfprintf_chk,fdopen,tcgetattr,sleep,__strcpy_chk,__cxa_finalize,setsid,fcntl,__sprintf_chk,link,__xstat,memmove,_IO_getc,__strcat_chk,setbuf,strcmp,write,free WEAK => _ITM_deregisterTMCloneTable,__gmon_start__,_ITM_registerTMCloneTable UNRESOLVED => Tcl_Free,Tcl_Alloc,Tcl_ErrnoMsg $ objdump -T /usr/lib/x86_64-linux-gnu/libtcl8.6.so.0 | grep -E "($(symtree /usr/lib/x86_64-linux-gnu/libexpect.so.5.45.4 | sed -n 's/ UNRESOLVED => //p' | tr , '|'))$" 0000000000117f30 g DF .text 00000000000003db Base Tcl_ErrnoMsg 000000000004af60 g DF .text 0000000000000005 Base Tcl_Free 000000000004ae20 g DF .text 0000000000000021 Base Tcl_Alloc $ w3m -dump https://qa.debian.org/bls/packages/e/expect.html | grep -A2 symbol • W shlibs-symbol-not-found (alpha, arm64, armel, armhf, hppa, hurd-i386, i386, ia64, m68k, mips, mips64el, mipsel, powerpc, powerpcspe, ppc64, ppc64el, s390x, sh4, sparc64, x32) $ w3m -dump https://qa.debian.org/bls/bytag/W-shlibs-symbol-not-found.html | grep -A12 description description The build logs contains a like like dpkg-shlibdeps: warning: symbol NAME used by BINARY found in none of the libraries. Possible reasons: • A library not linked with a library needed. While this can sometimes make sense in order to allow the using binary to decide which of multiple available implementations to use, it means that dependency information might be incorrect, optimisations like prelinking might fail and stuff like that. $ chronic getbuildlog expect last $ grep 'dpkg-shlibdeps: warning: symbol .* used by .* found in none of the libraries' *.log expect_5.45.4-1_alpha.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/alpha-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_alpha.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/alpha-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_alpha.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/alpha-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_arm64.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/aarch64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_arm64.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/aarch64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_arm64.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/aarch64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_armel.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/arm-linux-gnueabi/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_armel.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/arm-linux-gnueabi/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_armel.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/arm-linux-gnueabi/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_armhf.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/arm-linux-gnueabihf/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_armhf.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/arm-linux-gnueabihf/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_armhf.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/arm-linux-gnueabihf/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_hppa.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/hppa-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_hppa.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/hppa-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_hppa.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/hppa-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_hurd-i386.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/i386-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_hurd-i386.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/i386-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_hurd-i386.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/i386-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_i386.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/i386-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_i386.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/i386-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_i386.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/i386-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ia64.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/ia64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ia64.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/ia64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ia64.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/ia64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_m68k.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/m68k-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_m68k.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/m68k-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_m68k.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/m68k-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mips64el.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/mips64el-linux-gnuabi64/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mips64el.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/mips64el-linux-gnuabi64/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mips64el.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/mips64el-linux-gnuabi64/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mipsel.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/mipsel-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mipsel.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/mipsel-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mipsel.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/mipsel-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mips.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/mips-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mips.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/mips-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_mips.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/mips-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_powerpc.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/powerpc-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_powerpc.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/powerpc-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_powerpc.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/powerpc-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_powerpcspe.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/powerpc-linux-gnuspe/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_powerpcspe.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/powerpc-linux-gnuspe/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_powerpcspe.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/powerpc-linux-gnuspe/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ppc64el.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/powerpc64le-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ppc64el.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/powerpc64le-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ppc64el.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/powerpc64le-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ppc64.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/powerpc64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ppc64.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/powerpc64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_ppc64.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/powerpc64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_s390x.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/s390x-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_s390x.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/s390x-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_s390x.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/s390x-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_sh4.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/sh4-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_sh4.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/sh4-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_sh4.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/sh4-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_sparc64.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/sparc64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_sparc64.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/sparc64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_sparc64.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/sparc64-linux-gnu/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_x32.log:dpkg-shlibdeps: warning: symbol Tcl_Alloc used by debian/tcl-expect/usr/lib/x86_64-linux-gnux32/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_x32.log:dpkg-shlibdeps: warning: symbol Tcl_ErrnoMsg used by debian/tcl-expect/usr/lib/x86_64-linux-gnux32/libexpect.so.5.45.4 found in none of the libraries expect_5.45.4-1_x32.log:dpkg-shlibdeps: warning: symbol Tcl_Free used by debian/tcl-expect/usr/lib/x86_64-linux-gnux32/libexpect.so.5.45.4 found in none of the libraries -- System Information: Debian Release: buster/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 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages tcl-expect:amd64 depends on: ii libc6 2.26-4 ii libtcl8.6 8.6.8+dfsg-2 tcl-expect:amd64 recommends no packages. Versions of packages tcl-expect:amd64 suggests: ii expect 5.45.4-1 -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part