[lttng-dev] checkinstall and lttng-ust with Java/JNI support

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Wed Apr 24 17:25:36 EDT 2013


   I was fooling around with checkinstall in order to create installation packages for lttng-modules, userspace-rcu, etc., when I ran into what seems a very obscure bug (googling for the error message "unable to create `/proc/self/coredump_filter.dpkg-new'" brings up nothing).

   It occurs when building the Debian package for lttng-ust, but only if Java/JNI support was requested. That is to say, building lttng-ust with no extra support or with just systemtap support packages just fine.

   But when I build it with JNI/Java support, the 'sudo checkinstall make install' runs into this at the end:

Selecting previously unselected package lttng-ust-java.
(Reading database ... 147274 files and directories currently installed.)
Unpacking lttng-ust-java (from .../lttng-ust-java_2.2.0-rc1-12_amd64.deb) ...
dpkg: error processing /home/daniel/Documents/git.lttng.org/lttng-ust-2.2.0-rc1+-a16877a-Java/lttng-ust-java_2.2.0-rc1-12_amd64.deb (--install):
 unable to create `/proc/self/coredump_filter.dpkg-new' (while processing `./proc/self/coredump_filter'): No such file or directory
Processing triggers for man-db ...
Errors were encountered while processing:
 /home/daniel/Documents/git.lttng.org/lttng-ust-2.2.0-rc1+-a16877a-Java/lttng-ust-java_2.2.0-rc1-12_amd64.deb

   Note that the install supervised by checkinstall worked fine, and the package was built successfully: the problem occurs when the package is fed to apt, it seems.  The resulting package will cause the same error when run through the Ubuntu Software Centre, for instance, meaning it is unusable.

   Any clues as to what is failing here?

Daniel U. Thibault
R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
2459 route de la Bravoure
Québec, QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada / Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>



More information about the lttng-dev mailing list