Package: libncurses-dev
Version: 6.3-2
Severity: normal

Unfortunately libncurses++w.a is not stripped on i386 (and apparently on
some other architecture[1], but I have not checked which one), because
dh_strip skips it due to bug #875780[2]:

,----
| $ perl -e 'print "@ARGV[0] not recognized as binary file\n" unless -B 
(@ARGV[0])' /usr/lib/i386-linux-gnu/libncurses++w.a
| /usr/lib/i386-linux-gnu/libncurses++w.a not recognized as binary file
`----

This increases the installed size by some 500 kiB and also creates a
reproducibility problem[3], because upstream (with good reasons) does
not create deterministic archives, as mentioned in NEWS:

,----
| 20151010
|       + add workaround for breakage of POSIX makefiles by recent binutils
|         change.
`----

This problem has persisted at least since version 6.3-2 according to
[3], and I was hoping that newer toolchains might stop exposing the
dh_strip bug, but it seems we are stuck with it for Bookworm unless I
find some workaround.  Which is likely going to look quite ugly. :-(


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386


1. 
https://udd.debian.org/lintian/?email1=&email2=&email3=&packages=ncurses&ignpackages=&format=html&lt_error=on&lt_warning=on&lt_information=on&lintian_tag=unstripped-static-library#all
2. https://bugs.debian.org/875780
3. 
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/ncurses.html

Reply via email to