Bug#764988: fixed in javatools 0.49

Emmanuel Bourg ebourg at apache.org
Wed Jun 10 10:01:05 UTC 2015


This change caused a build failure in libjdom1-java and libjdom2-java.

libjdom2-java uses mh_install to install the jar in /usr/share/java, and
then jh_classpath to tweak the manifest of the jar installed. In the
version 0.49 jh_classpath is run before mh_install and fails to find the
jar since it hasn't been installed yet.

With javahelper 0.48 we had this sequence:

  dh binary --buildsystem=ant --with maven_repo_helper,javahelper
     dh_testroot -O--buildsystem=ant
     dh_prep -O--buildsystem=ant
     dh_auto_install -O--buildsystem=ant
     dh_install -O--buildsystem=ant
     jh_installjavadoc -O--buildsystem=ant
     dh_installdocs -O--buildsystem=ant
     dh_installchangelogs -O--buildsystem=ant
     dh_perl -O--buildsystem=ant
     dh_link -O--buildsystem=ant
     mh_install -O--buildsystem=ant
     jh_installlibs -O--buildsystem=ant
     jh_classpath -O--buildsystem=ant
     jh_manifest -O--buildsystem=ant
     jh_exec -O--buildsystem=ant
     jh_depends -O--buildsystem=ant
     dh_compress -O--buildsystem=ant
     dh_fixperms -O--buildsystem=ant
     dh_installdeb -O--buildsystem=ant
     dh_gencontrol -O--buildsystem=ant
     dh_md5sums -O--buildsystem=ant
     dh_builddeb -O--buildsystem=ant

and we now have:

  dh binary --buildsystem=ant --with maven_repo_helper,javahelper
     dh_testroot -O--buildsystem=ant
     dh_prep -O--buildsystem=ant
     dh_auto_install -O--buildsystem=ant
     dh_install -O--buildsystem=ant
     jh_installjavadoc -O--buildsystem=ant
     dh_installdocs -O--buildsystem=ant
     dh_installchangelogs -O--buildsystem=ant
     dh_perl -O--buildsystem=ant
     dh_link -O--buildsystem=ant
     jh_installlibs -O--buildsystem=ant
     jh_classpath -O--buildsystem=ant
     jh_manifest -O--buildsystem=ant



More information about the pkg-java-maintainers mailing list