Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227209 - Please Stabilise dev-java/sablecc-3.2
Summary: Please Stabilise dev-java/sablecc-3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-06-15 14:47 UTC by Maks Verver
Modified: 2010-05-22 13:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for SableCC 3.2 (sablecc-3.2.ebuild,781 bytes, text/plain)
2008-06-15 14:49 UTC, Maks Verver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maks Verver 2008-06-15 14:47:59 UTC
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:
Comment 1 Maks Verver 2008-06-15 14:49:24 UTC
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.
Comment 2 Maks Verver 2008-08-15 19:30:43 UTC
Any chance of getting any feedback on this? It's been two months!
Comment 3 Alistair Bush (RETIRED) gentoo-dev 2010-03-27 17:36:02 UTC
Hijacking this version bump report for the stable request as well.

Arches please test.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2010-04-03 19:28:01 UTC
Tested on x86: Everything fine.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-13 12:04:55 UTC
stable x86, thanks Thomas
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2010-05-11 12:52:07 UTC
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.

Comment 7 Maks Verver 2010-05-11 13:52:05 UTC
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.)
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2010-05-11 16:20:33 UTC
You're absolutely right, I forgot to source the profile in my chroot. Thanks! It seems to work on ppc, marked stable.
Comment 9 Pacho Ramos gentoo-dev 2010-05-22 13:42:46 UTC
amd64 stable, closing