> > > > While the lintian warnings look like this: > > X: libgphoto2-dev: unstripped-static-library > > usr/lib/x86_64-linux-gnu/libgphoto2/2.5.8/adc65.a(adc65.o) > > > > It seems the static libraries built does not have the prefix ``lib'', > > so dh_strip does not detect it as a static library. I am not sure if > > this is intended.
> > > > I think the solution for now will be to add the following to ``rule'': > > override_dh_strip: > > dh_strip > > find . -name '*.a' \( \! -name '*_g.a' \) \ > > -exec strip --strip-debug \ > > --remove-section=.comment \ > > --remove-section=.note {} \; The solution works. No lintian message about that now. If you want to see the package: https://mentors.debian.net/package/libgphoto2 http://mentors.debian.net/debian/pool/main/libg/libgphoto2/libgphoto2_2.5.8-2.dsc regards, -- Herbert Parentes Fortes Neto (hpfn)