Bug#1011534: [Debichem-devel] Bug#1011534: opsin: FTBFS with OpenJDK 17 due to new javadoc layout

2022-05-25 Thread Andrius Merkys
Hello,

On 2022-05-24 20:08, Emmanuel Bourg wrote:
> opsin 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:
> 
>   dh_installdocs
>   ln -fs /usr/share/javascript/jquery/jquery.js 
> /<>/debian/libopsin-java-doc/usr/share/doc/libopsin-java/api/jquery/external/jquery/jquery.js
>   ln: failed to create symbolic link 
> '/<>/debian/libopsin-java-doc/usr/share/doc/libopsin-java/api/jquery/external/jquery/jquery.js':
>  No such file or directory
>   make[1]: *** [debian/rules:17: override_dh_installdocs] Error 1
> 
> The javadoc packages are rarely used (the popcon of libopsin-java-doc has
> never exceeded 5 in 10 years) and they induce a maintenance burden,
> I strongly recommend removing this package.

I will check if I can easily accommodate the layout changes between
different OpenJDK versions. Otherwise dropping javadoc package is indeed
the easy way out for this issue.

Best,
Andrius



Bug#1011534: opsin: FTBFS with OpenJDK 17 due to new javadoc layout

2022-05-24 Thread Emmanuel Bourg
Source: opsin
Version: 2.6.0-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@lists.debian.org
Usertags: default-java17


opsin 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:

  dh_installdocs
  ln -fs /usr/share/javascript/jquery/jquery.js 
/<>/debian/libopsin-java-doc/usr/share/doc/libopsin-java/api/jquery/external/jquery/jquery.js
  ln: failed to create symbolic link 
'/<>/debian/libopsin-java-doc/usr/share/doc/libopsin-java/api/jquery/external/jquery/jquery.js':
 No such file or directory
  make[1]: *** [debian/rules:17: override_dh_installdocs] Error 1



The javadoc packages are rarely used (the popcon of libopsin-java-doc has
never exceeded 5 in 10 years) and they induce a maintenance burden,
I strongly recommend removing this package.