Hi Alexandre,

On 2022-03-23 16:33, Alexandre Rossi wrote:
> Seems to work:
> 
>   $ ls -la /usr/share/java/htmlcleaner*
>   lrwxrwxrwx 1 root root     15 18 mars  18:20 
> /usr/share/java/htmlcleaner-2.26.jar -> htmlcleaner.jar
>   -rw-r--r-- 1 root root 176219 18 mars  18:20 /usr/share/java/htmlcleaner.jar
>   $ sudo dpkg -i 
> oss/debian/davmail/libhtmlcleaner-java_2.26-1+fix+bad+jar+name+1_all.deb
>   [...]
>   $ ls -la /usr/share/java/htmlcleaner*
>   -rw-r--r-- 1 root root 176219 23 mars  15:27 
> /usr/share/java/htmlcleaner-2.26.jar
>   lrwxrwxrwx 1 root root     20 23 mars  15:27 
> /usr/share/java/htmlcleaner.jar -> htmlcleaner-2.26.jar

Many thanks for the proposed patch. It seems we need a decision now on
which one is actually buggy: maven-debian-helper or java-policy. I would
vote for upholding the java-policy if only the symlink placement switch
does not break anything (neither reverse dependencies not the update
mechanism). Having versionless symlinks parallels nicely lib*-dev shlib
scheme and there might be situations where this is beneficial for Java
too. Unluckily enough, there are >700 source packages now directly
affected by this [1].

[1] https://lintian.debian.org/tags/bad-jar-name

Best,
Andrius

Reply via email to