Can't build javacc with any 1.4 compiler (blackdown, sun, jikes): ------------------ tree-files-init: tree-files: [java] Java Result: 129 [java] Java Result: 129 compile-nojar: [javac] Compiling 82 source files to /var/tmp/portage/javacc-3.2-r3/work/javacc-3.2/classes [javac] /var/tmp/portage/javacc-3.2-r3/work/javacc-3.2/src/org/javacc/parser/NormalProduction.java:96: cannot resolve symbol [javac] symbol : class Token [javac] location: class org.javacc.parser.NormalProduction [javac] public Token firstToken, lastToken; ------------------ Portage 2.1.1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11 i686) ================================================================= System uname: 2.6.16-hardened-r11 i686 AMD Athlon(tm) 64 Processor 3800+ Gentoo Base System version 1.12.5 Last Sync: Sat, 23 Sep 2006 14:20:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ " LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="" PKGDIR="/usr/portage//packages/x86/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 acl apache2 bash-completion bzip2 crypt elibc_glibc fam fastcgi hardened innodb input_devices_keyboard input_devices_mouse ipv6 jpeg jpeg2k kernel_linux mmx mysql ncurses nptl nptlonly pam perl pic pie png python readline sasl snmp ssl tcpd tiff tools truetype unicode userland_GNU vhosts xml zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Can't reproduce, probably something related to hardened? Here, Token.java is created during tree-files, but I see your tree-files target ends with Java Result: 129, that's probably the problem. Can you post full emerge output (preferably using sun, without jikes) to see if there's even some earlier problem?
Can't do anything without provided info.
Afer a reboot everything worked fine.. But I can't explain it to me - I installed sun-jre, setup it as default jre, made an env-update, sourced /etc/profile..
well that's odd. because javacc doesn't built for me since it is tried to be pulled in by some dependency, and i assumed, well yeah, someone who knows java a little more will fix it sooner or later, so i just emerged around this dependency, but it is still there. can't remember since when i'm having this one though, but what i can tell, is, a restart doesn't help ;-) FYI, emerge output: [...] compile-nojar: [javac] Compiling 139 source files to /var/tmp/portage/dev-java/javacc-4.2/work/javacc/classes [javac] /var/tmp/portage/dev-java/javacc-4.2/work/javacc/src/org/javacc/utils/JavaFileGenerator.java:269: cannot resolve symbol [javac] symbol : constructor PrintWriter (java.lang.String) [javac] location: class java.io.PrintWriter [javac] new JavaFileGenerator(args[0], map).generate(new PrintWriter(args[1])); [javac] ^ [javac] 1 error [...] the java-vm is blackdown-jdk-1.4.2 What info exactly do you need more?