SableCC 3.2 has been the stable release for at least a year or so, so it would be nice to add it to portage. The main difference with the current ebuild (for version 3.1) is that 3.2 requires Java 1.5, so I would suggest keeping the older ebuild as well for those that want to use SableCC with Java 1.4. Reproducible: Always Steps to Reproduce:
Created attachment 156925 [details] ebuild for SableCC 3.2 This ebuild is simply a copy of the existing ebuild file, with the required jre and jdk versions increased from 1.4 to 1.5.
Any chance of getting any feedback on this? It's been two months!
Hijacking this version bump report for the stable request as well. Arches please test.
Tested on x86: Everything fine.
stable x86, thanks Thomas
When I type "sablecc" at the command prompt, it doesn't run because JAVA_HOME isn't set to anything. Should this be configured somehow? This is a PowerPC system using IBM's JDK.
I think this can occur for (at least) two reasons. One is that you don't have a user VM configured. Run java-config -L to view available options, and java-config -s <id> to change the active VM. Two is that /etc/profile (which sets the JAVA_HOME path according to the selected VM) is not being sourced. bash does this automatically but only when you run it as a login shell (e.g. "bash -l" instead of "bash") but some terminal emulators mess this up. In that case, a workaround is to manually run "bash -l" or to source /etc/profile from $HOME/.bashrc. (The story is similar for csh. In either case running the shell with -l should work.)
You're absolutely right, I forgot to source the profile in my chroot. Thanks! It seems to work on ppc, marked stable.
amd64 stable, closing