Bug#852342: java-package: make-jpkg strips binaries and breaks the work of Ops tools

Nobuhiro Ban ban.nobuhiro at gmail.com
Mon Jan 23 17:59:32 UTC 2017


Package: java-package
Version: 0.55
Severity: important

In jessie (or later), you got stripped binary files with make-jpkg.
Stripping java binary breaks the work of Ops tools.
For example, you got an error to use the jmap command to dump heap.

I think this is a recurrence of #291238 (fixed in 0.20).


Before 0.55, make-jpkg directly calls dh_*; so minimum dh_* commands are used.

>From java-package-0.50+nmu2/lib/j2se.sh:
>    echo "    dh_testdir"
>    dh_testdir
>    echo "    dh_testroot"
>    dh_testroot
...(snip)

But 0.55 or after, make-jpkg calls dpkg-buildpackage;
so many other dh_* commands (including dh_strip) are called.


Regards,
Nobuhiro



More information about the pkg-java-maintainers mailing list