Package: dpkg-dev
Version: 1.15.3.1
Severity: normal
Hi,
during packaging of libv4l 0.6.0 I noticed strange warnings from dpkg-shlibdeps.
These are now also emitted with the in-archive version 0.5.9-1 but were not
present at former upload time
Warnings from 0.5.9-1:
dh_shlibdeps -s
dpkg-shlibdeps: warning: symbol snpri...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fo...@glibc_2.1 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fwr...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol std...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pthread_mutex_l...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol strer...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol get...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol ffl...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pthread_mutex_unl...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol __errno_locat...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l1.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: 2 other similar warnings have been skipped (use -v to
see them all).
dpkg-shlibdeps: warning: debian/libv4l-0/usr/lib/libv4l/v4l2convert.so contains
an unresolvable reference to symbol sysc...@glibc_2.0: it's probably a plugin.
dpkg-shlibdeps: warning: symbol snpri...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fo...@glibc_2.1 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fwr...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol std...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pthread_mutex_l...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol strer...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol get...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol ffl...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pthread_mutex_unl...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pthread_mutex_i...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4l2.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: 3 other similar warnings have been skipped (use -v to
see them all).
dpkg-shlibdeps: warning: symbol __fxs...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol snpri...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fo...@glibc_2.1 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fwr...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol std...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol strer...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol long...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol cal...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol mem...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol fsc...@glibc_2.0 used by
debian/libv4l-0/usr/lib/libv4lconvert.so.0 found in none of the libraries.
dpkg-shlibdeps: warning: 8 other similar warnings have been skipped (use -v to
see them all).
dpkg-shlibdeps: warning: dependency on libc.so.6 could be avoided if
"debian/libv4l-0/usr/lib/libv4l1.so.0
debian/libv4l-0/usr/lib/libv4l/v4l2convert.so
debian/libv4l-0/usr/lib/libv4l2.so.0 debian/libv4l-0/usr/lib/libv4lconvert.so.0
debian/libv4l-0/usr/lib/libv4l/v4l1compat.so" were not uselessly linked against
it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if
"debian/libv4l-0/usr/lib/libv4l1.so.0 debian/libv4l-0/usr/lib/libv4l2.so.0"
were not uselessly linked against it (they use none of its symbols).
On a Debian Lenny system, none of the GLIBC warnings are emitted.
Whats going on here?
Cheers,
Gregor
Some (maybe) helpful stuff:
Link command:
cc -shared -Wl,-soname,libv4l1.so.0 -o libv4l1.so.0 libv4l1.o log.o
../libv4l2/libv4l2.so -lpthread
$ ldd debian/libv4l-0/usr/lib/libv4l1.so.0
linux-gate.so.1 => (0xb7fe2000)
libv4l2.so.0 => not found
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7fbb000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe3000)
$ objdump -T /lib/i686/cmov/libc.so.6|grep snprintf
00063200 w DF .text 000000f7 GLIBC_2.0 vsnprintf
000f81c0 g DF .text 00000107 GLIBC_2.3.4 __vsnprintf_chk
00063200 w DF .text 000000f7 GLIBC_2.0 __vsnprintf
000f8180 g DF .text 00000036 GLIBC_2.3.4 __snprintf_chk
000495a0 w DF .text 00000038 GLIBC_2.0 snprintf
$ objdump -T debian/libv4l-0/usr/lib/libv4l1.so.0
debian/libv4l-0/usr/lib/libv4l1.so.0: file format elf32-i386
DYNAMIC SYMBOL TABLE:
00000000 DF *UND* 00000000 GLIBC_2.0 __errno_location
00000000 DF *UND* 00000000 v4l2_get_control
00000000 DF *UND* 00000000 GLIBC_2.0 strerror
00000000 DF *UND* 00000000 GLIBC_2.0 syscall
00000000 w D *UND* 00000000 __gmon_start__
00000000 w D *UND* 00000000 _Jv_RegisterClasses
00000000 DF *UND* 00000000 GLIBC_2.0 getenv
00000000 DF *UND* 00000000 v4l2_ioctl
00000000 DF *UND* 00000000 v4l2_read
00000000 DF *UND* 00000000 v4l2_dup
00000000 DF *UND* 00000000 GLIBC_2.0 fflush
00000000 DF *UND* 00000000 GLIBC_2.0 pthread_mutex_unlock
00000000 DF *UND* 00000000 v4l2_munmap
00000000 DO *UND* 00000000 GLIBC_2.0 stderr
00000000 DF *UND* 00000000 GLIBC_2.1 fopen
00000000 DF *UND* 00000000 GLIBC_2.0 fwrite
00000000 DF *UND* 00000000 GLIBC_2.0 fprintf
00000000 DF *UND* 00000000 GLIBC_2.0 pthread_mutex_lock
00000000 DF *UND* 00000000 v4l2_fd_open
00000000 DF *UND* 00000000 v4l2_set_control
00000000 DO *UND* 00000000 v4l2_log_file
00000000 DF *UND* 00000000 GLIBC_2.0 snprintf
00000000 DF *UND* 00000000 v4l2_close
00000000 w DF *UND* 00000000 GLIBC_2.1.3 __cxa_finalize
00000000 DF *UND* 00000000 v4l2_mmap
00000c88 g DF .text 0000016b Base v4l1_munmap
00004928 g D *ABS* 00000000 Base _end
00004900 g D *ABS* 00000000 Base _edata
00001e6c g DF .text 00000184 Base v4l1_close
00001e14 g DF .text 00000058 Base v4l1_dup
00004900 g D *ABS* 00000000 Base __bss_start
00000f56 g DF .text 00000090 Base v4l1_read
00000df3 g DF .text 00000163 Base v4l1_mmap
00000910 g DF .init 00000000 Base _init
00002c18 g DF .fini 00000000 Base _fini
00001485 g DF .text 0000098f Base v4l1_ioctl
00001ff0 g DF .text 00000688 Base v4l1_open
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages dpkg-dev depends on:
ii binutils 2.19.51.20090704-1 The GNU assembler, linker and bina
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii dpkg 1.15.3.1 Debian package management system
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii lzma 4.43-14 Compression method of 7z format in
ii make 3.81-6 An utility for Directing compilati
ii patch 2.5.9-5 Apply a diff file to an original
ii perl [perl5] 5.10.0-24 Larry Wall's Practical Extraction
ii perl-modules 5.10.0-24 Core Perl modules
Versions of packages dpkg-dev recommends:
ii build-essential 11.4 Informational list of build-essent
ii gcc [c-compiler] 4:4.3.3-9 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.3-13 The GNU C compiler
ii gcc-4.4 [c-compiler] 4.4.0-10 The GNU C compiler
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii gpgv 1.4.9-4 GNU privacy guard - signature veri
Versions of packages dpkg-dev suggests:
ii debian-keyring 2009.05.28 GnuPG (and obsolete PGP) keys of D
ii debian-maintainers 1.62 GPG keys of Debian maintainers
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]