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

Re: dh_strip and Python Extensions



Piotr Ożarowski <piotr@debian.org> writes:
> [Christian Kastner, 2011-05-26]
>> On 05/26/2011 02:32 AM, Nikolaus Rath wrote:
>> > I'm not quite sure when this started, but dh_strip is placing my Python
>> > .so extensions into /usr/lib/debug/..., which makes Lintian complain:
>> > [...]
>> > 
>> > $ lintian ../python-llfuse-dbg_0.31-1_amd64.deb
>> > W: python-llfuse-dbg: python-debug-in-wrong-location usr/lib/debug/usr/lib/pyshared/python2.6/llfuse.so /usr/lib/debug/usr/lib/pymodules/python2.6/llfuse.so
>> > W: python-llfuse-dbg: python-debug-in-wrong-location usr/lib/debug/usr/lib/pyshared/python2.6/llfuse_d.so /usr/lib/debug/usr/lib/pymodules/python2.6/llfuse_d.so
>> 
>> The first path is where dh_strip has installed the files. The second
>> path, however, is where they are expected. See [0] for a fix, and [1]
>> for a rationale.
>
> you can also use dh_python2

I am using dh_python2 - does that mean I should not be calling dh_strip?

Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


Reply to: