Dear Maintainer, When calling "ant" through "/bin/ant" instead of "/usr/bin/ant" it fails with "/bin/ant: 1: cd: can't cd to /bin/../share/ant/bin/..". This also happens when "/bin" is in $PATH before "/usr/bin".
Hi Jochen, This looks like a duplicate of bug #914748 [1] and is addressed by the patch [2]. (I tested on a system with usrmerge installed to be sure.) However, the patch hasn't been backported to stable. Cheers, tony [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914748 [2] https://salsa.debian.org/java-team/ant/-/blob/master/debian/patches/0017-usrmerge-proof.patch