Bug#350801: /usr/bin/javac: Too many levels of symbolic links
Package: java-gcj-compat-dev
Version: 1.0.51-1
Severity: normal
$ /usr/bin/javac
bash: /usr/bin/javac: Too many levels of symbolic links
So let's see:
/usr/bin/javac -> /etc/alternatives/javac
/etc/alternatives/javac -> /usr/lib/jvm/java-gcj/bin/javac
/usr/lib/jvm/java-gcj/bin/javac -> ../../../../bin/ecj
(seems to be /usr/bin/ecj, please DON'T do something like this,
as it is a symlink across partition boundaries if /usr is mounted
on a different partition than / with /etc which must be ok)
/usr/bin/ecj -> /etc/alternatives/ecj
/etc/alternatives/ecj -> /usr/bin/ecj-bootstrap
-rwxr-xr-x 1 root root 340 2006-01-28 09:33 /usr/bin/ecj-bootstrap
Invoking /etc/alternatives/javac works.
ln -sf /etc/alternatives/javac t; ./t
ln: accessing `t': Too many levels of symbolic links
So it is really the depth and not the '../../' orgy this time.
bye,
-christian-
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8-smp
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages java-gcj-compat-dev depends on:
ii ecj-bootstrap [ecj] 3.1.2-1 bootstrap version of the Eclipse J
ii gcj-4.0 4.0.2-7j1 The GNU compiler for Java(TM)
ii gjdoc 0.7.7-1 documentation generation framework
ii java-gcj-compat 1.0.51-1 Java runtime environment using GIJ
Versions of packages java-gcj-compat-dev recommends:
pn ecj-bootstrap-gcj <none> (no description available)
pn libgcj6-src <none> (no description available)
-- no debconf information
Reply to: