Bug#979624: ant doesn't work when called as /bin/ant

Jochen Topf jochen at remote.org
Sat Jan 9 09:06:31 GMT 2021


Package: ant
Version: 1.10.5-2
Severity: normal

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".

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ant depends on:
ii  default-jre-headless [java8-runtime-headless]     2:1.11-71
ii  openjdk-11-jre-headless [java8-runtime-headless]  11.0.9.1+1-1~deb10u2

Versions of packages ant recommends:
ii  ant-optional  1.10.5-2

Versions of packages ant suggests:
pn  ant-doc                                 <none>
pn  default-jdk | java-compiler | java-sdk  <none>

-- no debconf information



More information about the pkg-java-maintainers mailing list