Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137403 - [java-experimental] dev-java/jboss-module-security-4.0.2 doesn't like javacc-4.0
Summary: [java-experimental] dev-java/jboss-module-security-4.0.2 doesn't like javacc-4.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard: java-experimental
Keywords: InOverlay
: 137404 137405 137406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-20 11:56 UTC by Uwe Klosa
Modified: 2012-09-28 10:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Klosa 2006-06-20 11:56:05 UTC
I get the following error when emerging dev-java/jboss-module-security-4.0.2

compile-parsers:
    [mkdir] Created dir: /var/tmp/portage/jboss-module-security-4.0.2/work/jboss-4.0.2-src/security/output/gen-parsers/org/jboss/security/auth/login
   [javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file /var/tmp/portage/jboss-module-security-4.0.2/work/jboss-4.0.2-src/security/src/main/org/jboss/security/auth/login/SunConfigParser.jj . . .
   [javacc] org.javacc.parser.ParseException: Encountered "options" at line 208, column 12.
   [javacc] Was expecting one of:
   [javacc]     ";" ...
   [javacc]     "=" ...
   [javacc]     "++" ...
   [javacc]     "--" ...
   [javacc]     "+=" ...
   [javacc]     "-=" ...
   [javacc]     "*=" ...
   [javacc]     "/=" ...
   [javacc]     "&=" ...
   [javacc]     "|=" ...
   [javacc]     "^=" ...
   [javacc]     "%=" ...
   [javacc]     "<<=" ...
   [javacc]     ">>=" ...
   [javacc]     ">>>=" ...
   [javacc]     "." ...
   [javacc]     "[" ...
   [javacc]     "(" ...
   [javacc]     "<" ...
   [javacc]     ":" ...
   [javacc]     <IDENTIFIER> ...
   [javacc]     
   [javacc] Detected 1 errors and 0 warnings.

BUILD FAILED
/var/tmp/portage/jboss-module-security-4.0.2/work/jboss-4.0.2-src/security/build.xml:160: /opt/sun-jdk-1.5.0.07/jre/bin/java failed with return code 1


GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.07"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"


emerge --info

Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo ftp://mirror.switch.ch/mirror/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-experimental /usr/portage/local/layman/java-migration /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/java-migration-packages"
SYNC="rsync://gentoo.ub.uu.se/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 audiofile avi berkdb bzip2 cairo cdparanoia cdr crypt cups curl dba divx4linux dri dv dvd dvdr dvdread encode esd expat fam ffmpeg firefox flac fommaticdb foomaticdb gd gdbm gif gimpprint glitz gnome gpm gstreamer gtk gtk2 guile hal howl idn imagemagick imlib java jce jikes jpeg junit lame lcms ldap libg libg++ live logrotate lua mad mikmod mjpeg mmx mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss other_var1 other_var2 pam pda perl png postgres ppds python qt quicktime radeon readline real samba sdl speex spell sse sse2 ssl svg tcltk tcpd tetex thunderbird tiff truetype udev unicode usb userlocales vcd vidix vorbis vorbix wavelan webdav win32codecs xine xml xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_sv userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 12:05:37 UTC
*** Bug 137404 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 12:05:48 UTC
*** Bug 137405 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 12:05:59 UTC
*** Bug 137406 has been marked as a duplicate of this bug. ***
Comment 4 Uwe Klosa 2006-06-20 12:17:36 UTC
I'm sorry for the mess but i always got a connection reset when submitting the bug.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-06-20 12:29:08 UTC
As with jboss-module-common, the answer lies in the ebuild itself.

# this doesn't like javacc-4 apparently, but depending on =3* would create a
# up/downgrade cycle

So you should try with javacc-3* (assuming you have javacc-4)

Now I wanna know why azureus is keyworded -* because of "hard migration path" and these apparently known-to-be-broken ebuilds are ~arch, no package.mask or -* 
:)
Comment 6 Uwe Klosa 2006-06-20 13:11:18 UTC
Thanks for the hint. With javacc-3 it compiles.
Comment 7 Ralph Sennhauser (RETIRED) gentoo-dev 2012-09-28 10:29:57 UTC
The jboss-* ebuilds in java-experimental aren't maintained for many years and no one is going to use them anymore. Marking this one obsolete.

Thanks for the report though.