[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: poco and poco-doc (updated packages) [3rd try]



George Danchev <danchev@spnet.net> writes:
> On Saturday 07 June 2008, Krzysztof Burghardt wrote:

>> This looks reasonable, but trigger another lintian warrning:
>>
>> N: Processing binary package libpocoxml5-dbg (version 1.3.2+dfsg1-1) ...
>> W: libpocoxml5-dbg: package-name-doesnt-match-sonames libPocoXMLd5
>
> sure, lintian has provided you with oneliner (as copied verbatim from
> libpkg-guide #3 Naming shared library packages) to determine the correct
> package name out of the soname, but unfortunately it doesn't seem to be
> working for object files containing debugging information (I didn't
> check why, will probably do;-):
>
> $ objdump -p usr/lib/debug/usr/lib/libPocoXMLd.so.5 | 
> sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | 
> sed -e's/\([0-9]\)\.so\./\1-/; s/\.so\.//'

I think there's something more fundamentally wrong here.  If this is a
regular shared library, not detached debugging symbols, it's in the wrong
directory.  The *only* thing that should be in /usr/lib/debug is detached
debugging symbols.  (There's a lintian check for that as well; I'm not
sure why it's not triggering -- maybe I'm misunderstanding what's going
on?)

If you're shipping a debugging version of the shared library that's a full
shared library in its own right because building with debugging changes
the library, then yes, you'll need to override a warning about the package
name.  But it should be in /usr/lib.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: