You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N:
I: unstripped-static-library
N:
N: The package installs an unstripped static library.
N:
N: Please note, that static libraries have to be stripped with the --strip-debug option. You will probably also want to use
N: --remove-section=.comment --remove-section=.note to avoid the static-library-has-unneeded-section tag.
N:
N: dh_strip (after debhelper/9.20150811) will do this automatically for you.
N:
N: Visibility: info
N: Show-Always: no
N: Check: libraries/static
In Debian, there is one helper scripts called dh_strip to strip some unnecessary options in the library(static and dynamic), but there is some gap for use in practice, there is the code:
if ($fn =~ m/\/lib[^\/]*\.a$/ && $fn !~ m/.*_g\.a$/) {
# Is it a binary file, or something else (maybe a linker
# script on Hurd, for example? I don't use file, because
# file returns a variety of things on static libraries.
if (-B $fn) {
push @static_libs, $fn;
return;
}
}
So we can see, why the warning info was generated. The tool will look for a static library with lib- prefix, like libstatic-library.a and so I'm in the middle of a dilemma.
My sponsor suggests me to fix the issue(include another one) and so I open the issue.
The text was updated successfully, but these errors were encountered:
When I was trying to package on Debian, I got one warning like:
Background:
In Debian, there is one helper scripts called
dh_strip
to strip some unnecessary options in the library(static and dynamic), but there is some gap for use in practice, there is the code:So we can see, why the warning info was generated. The tool will look for a static library with
lib-
prefix, like libstatic-library.a and so I'm in the middle of a dilemma.My sponsor suggests me to fix the issue(include another one) and so I open the issue.
The text was updated successfully, but these errors were encountered: