Package: linda
Version: 0.3.14
Severity: normal

Hi Steve

linda gives me the following warnings for the mondo package:
W: mondo; The library libmondo has a different SOVER versus the shlibs file.
W: mondo; The library libmondo has a different SOVER versus the shlibs file.

The libraries in this package are:
/usr/lib/libmondo.so.2.0.3
/usr/lib/libmondo-newt.so.1.0.0

The shlibs file reads:
libmondo 2 mondo
libmondo-newt 1 mondo

I believe the above is correct and linda should not give a warning.

My Python skills are non-existent, fortunately 'print' just works, so I've done 
this in library.py:

if sym.endswith('.so'):
    sover = sym.split(self.libraries[library])[1].split('.so')[0]
    print("if: file sym library sover value", file, sym, library, sover, 
shlibs_file[self.libraries[library]][0])
else:
    sover = sym.split('.so.')[1]
    print("else: file sym library sover value", file, sym, library, sover, 
shlibs_file[self.libraries[library]][0])

which gives the following when running linda against the mondo package:

('else: file sym library sover value', '/usr/share/bug/mondo/control', 
'/usr/lib/libmondo-newt.so.1', '/usr/lib/libmondo-newt.so.1.0.0', '1', '2')
('else: file sym library sover value', '/usr/share/bug/mondo/control', 
'/usr/lib/libmondo-newt.so.1', '/usr/lib/libmondo.so.2.0.3', '1', '2')
W: mondo; The library libmondo has a different SOVER versus the shlibs file.
W: mondo; The library libmondo has a different SOVER versus the shlibs file.

So, it appears the value of 'library' is correct and for some reason the values 
of the other variables aren't.

Please let me know if you need more information. I'd surely be happy to test 
changes as well.

Cheers
Andree

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages linda depends on:
ii  binutils                      2.15-6     The GNU assembler, linker and bina
ii  dash                          0.5.2-5    The Debian Almquist Shell
ii  file                          4.12-1     Determines file type using "magic"
ii  man-db                        2.4.2-22   The on-line manual pager
ii  python                        2.3.5-2    An interactive high-level object-o

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to