Source: openchemlib
Version: 2022.4.2+dfsg-1
Severity: important
Tags: ftbfs sid bookworm
User: [email protected]
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.
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.