Source: openchemlib
Version: 2022.4.2+dfsg-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@lists.debian.org
Usertags: default-java17


openchemlib fails to build with OpenJDK 17 because the dh_installdocs override
in debian/rules attempts to replace the embedded copy of jQuery, but the
layout of the javadoc has changed:


     debian/rules override_dh_installdocs
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  dh_installdocs
  ln -fs /usr/share/javascript/jquery/jquery.js 
/<<PKGBUILDDIR>>/debian/libopenchemlib-java-doc/usr/share/doc/libopenchemlib-java/api/jquery/external/jquery/jquery.js
  ln: failed to create symbolic link 
'/<<PKGBUILDDIR>>/debian/libopenchemlib-java-doc/usr/share/doc/libopenchemlib-java/api/jquery/external/jquery/jquery.js':
 No such file or directory
  make[1]: *** [debian/rules:10: override_dh_installdocs] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:6: binary] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned 
exit status 2


Removing the unused javadoc package would be a good idea.

Reply via email to