Debian Bug report logs - #631011
lintian: add embedded-libcharls

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <lintian-maint@debian.org>; Source for lintian is src:lintian.

Reported by: Mathieu Malaterre <malat@debian.org>

Date: Sun, 19 Jun 2011 17:39:02 UTC

Severity: wishlist

Found in version lintian/2.4.3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#631011; Package lintian. (Sun, 19 Jun 2011 17:39:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <mathieu.malaterre@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sun, 19 Jun 2011 17:39:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: lintian: add embedded-libcharls
Date: Sun, 19 Jun 2011 19:34:53 +0200
Package: lintian
Version: 2.4.3
Severity: normal


hi

it would be nice to add a embedded-libcharls check. Currently there are at least two packages shipping CharLS as convinient library:

$ dpkg -L libdcmtk2 | grep charls
/usr/lib/libcharls.so.2.0.0

and

$ dpkg -L libgdcm2.0 | grep charls
/usr/lib/libgdcmcharls.so.2.0.17

thanks !

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils               2.20.1-16         The GNU assembler, linker and bina
ii  diffstat               1.53-1            produces graph of changes introduc
ii  dpkg-dev               1.15.8.10         Debian package development tools
ii  file                   5.04-5            Determines file type using "magic"
ii  gettext                0.18.1.1-3        GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl        0.1.24+b1         Perl interface to libapt-pkg
ii  libclass-accessor-perl 0.34-1            Perl module that automatically gen
ii  libipc-run-perl        0.89-1            Perl module for running processes
ii  libparse-debianchangel 1.1.1-2.1         parse Debian changelogs and output
ii  libtimedate-perl       1.2000-1          collection of modules to manipulat
ii  liburi-perl            1.54-2            module to manipulate and access UR
ii  locales                2.11.2-10         Embedded GNU C Library: National L
ii  man-db                 2.5.7-8           on-line manual pager
ii  perl [libdigest-sha-pe 5.10.1-17         Larry Wall's Practical Extraction 

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch            <none>     (no description available)
ii  libtext-template-perl         1.45-1     Text::Template perl module
ii  man-db                        2.5.7-8    on-line manual pager

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#631011; Package lintian. (Sun, 19 Jun 2011 18:33:15 GMT) Full text and rfc822 format available.

Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Sun, 19 Jun 2011 18:33:16 GMT) Full text and rfc822 format available.

Message #10 received at 631011@bugs.debian.org (full text, mbox):

From: Niels Thykier <niels@thykier.net>
To: Mathieu Malaterre <mathieu.malaterre@gmail.com>, 631011@bugs.debian.org
Subject: Re: Bug#631011: lintian: add embedded-libcharls
Date: Sun, 19 Jun 2011 20:27:11 +0200
[Message part 1 (text/plain, inline)]
On 2011-06-19 19:34, Mathieu Malaterre wrote:
> Package: lintian
> Version: 2.4.3
> Severity: normal
> 
> 
> hi
> 


Hi

> it would be nice to add a embedded-libcharls check. Currently there are at least two packages shipping CharLS as convinient library:
> 

I assume you mean embedded-library libcharls (we replaced embedded-$lib
with embedded-library in 2.5.0~rc1).

Anyhow, we do this based on one (or more) discriminating string(s) in
the library.  Unfortunately I checked libcharls1 (1.0-1) and I cannot
really find anything but symbol names.  For convenience I have attached
Lintian's string file for libcharls1 (extracted from the lab).

> $ dpkg -L libdcmtk2 | grep charls
> /usr/lib/libcharls.so.2.0.0
> 
> and
> 
> $ dpkg -L libgdcm2.0 | grep charls
> /usr/lib/libgdcmcharls.so.2.0.17
> 
> thanks !
> 
> -- System Information:
> [...]
> 
> 

~Niels

[libCharLS.so.1.0.strings.gz (application/gzip, attachment)]

Severity set to 'wishlist' from 'normal' Request was from Jakub Wilk <jwilk@debian.org> to control@bugs.debian.org. (Tue, 29 Nov 2011 18:06:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#631011; Package lintian. (Tue, 29 Nov 2011 19:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jakub Wilk <jwilk@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>. (Tue, 29 Nov 2011 19:03:03 GMT) Full text and rfc822 format available.

Message #17 received at 631011@bugs.debian.org (full text, mbox):

From: Jakub Wilk <jwilk@debian.org>
To: 631011@bugs.debian.org
Cc: Mathieu Malaterre <mathieu.malaterre@gmail.com>
Subject: Re: Bug#631011: lintian: add embedded-libcharls
Date: Tue, 29 Nov 2011 20:00:41 +0100
[Message part 1 (text/plain, inline)]
* Niels Thykier <niels@thykier.net>, 2011-06-19, 20:27:
>>it would be nice to add a embedded-libcharls check. Currently there 
>>are at least two packages shipping CharLS as convinient library:
>
>I assume you mean embedded-library libcharls (we replaced embedded-$lib 
>with embedded-library in 2.5.0~rc1).
>
>Anyhow, we do this based on one (or more) discriminating string(s) in 
>the library.  Unfortunately I checked libcharls1 (1.0-1) and I cannot 
>really find anything but symbol names.  For convenience I have attached 
>Lintian's string file for libcharls1 (extracted from the lab).

Yeah, if we want to detect software linking statically to libchars, this 
is rather hopeless.

>> $ dpkg -L libdcmtk2 | grep charls
>> /usr/lib/libcharls.so.2.0.0
>>
>> and
>>
>> $ dpkg -L libgdcm2.0 | grep charls
>> /usr/lib/libgdcmcharls.so.2.0.17

But for the these cases of dynamic libraries like these, we could just 
look at exported symbols. With the attached patch I get this:

$ lintian -T embedded-library libdcmtk2_3.6.0-6_i386.deb libgdcm2.0_2.0.17-3_i386.deb | grep charls
E: libdcmtk2: embedded-library usr/lib/libcharls.so.2.0.0: libcharls
E: libgdcm2.0: embedded-library usr/lib/libgdcmcharls.so.2.0.17: libcharls

That said, the patch is quite ugly and I'm not sure if it's a good idea 
to apply it.

-- 
Jakub Wilk
[lintian-libcharls.diff (text/x-diff, attachment)]

Changed Bug submitter to 'Mathieu Malaterre <malat@debian.org>' from 'Mathieu Malaterre <mathieu.malaterre@gmail.com>' Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 28 Mar 2012 13:54:42 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 18:50:35 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.