Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541166 - dev-java/qdox-1.12-r1:temp/environment: line 3902: jflex: command not found
Summary: dev-java/qdox-1.12-r1:temp/environment: line 3902: jflex: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 19:58 UTC by Toralf Förster
Modified: 2015-02-28 20:53 UTC (History)
3 users (show)

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 Toralf Förster gentoo-dev 2015-02-23 19:58:08 UTC
>>> Emerging (7 of 34) java-virtuals/saaj-api-1.3-r3
>>> Installing (7 of 34) java-virtuals/saaj-api-1.3-r3
>>> Emerging (8 of 34) dev-java/jsr101-1.4-r1
>>> Installing (8 of 34) dev-java/jsr101-1.4-r1
>>> Emerging (9 of 34) dev-java/portletapi-1.0
>>> Installing (9 of 34) dev-java/portletapi-1.0
>>> Emerging (10 of 34) dev-java/ant-trax-1.9.2
>>> Installing (10 of 34) dev-java/ant-trax-1.9.2
>>> Emerging (11 of 34) dev-java/commons-digester-1.8.1-r1
>>> Installing (11 of 34) dev-java/commons-digester-1.8.1-r1
>>> Emerging (12 of 34) dev-java/ant-contrib-1.0_beta2-r2
>>> Installing (12 of 34) dev-java/ant-contrib-1.0_beta2-r2
>>> Emerging (13 of 34) dev-java/jakarta-jstl-1.1.2-r2
>>> Installing (13 of 34) dev-java/jakarta-jstl-1.1.2-r2
>>> Emerging (14 of 34) dev-java/commons-cli-1.2
>>> Installing (14 of 34) dev-java/commons-cli-1.2
>>> Emerging (15 of 34) dev-java/bsf-2.4.0-r1
>>> Installing (15 of 34) dev-java/bsf-2.4.0-r1
>>> Emerging (16 of 34) dev-java/ant-antlr-1.9.2
>>> Installing (16 of 34) dev-java/ant-antlr-1.9.2
>>> Emerging (17 of 34) dev-java/jline-1.0
>>> Installing (17 of 34) dev-java/jline-1.0
>>> Emerging (18 of 34) dev-java/jna-3.4.0
>>> Installing (18 of 34) dev-java/jna-3.4.0
>>> Emerging (19 of 34) dev-java/jansi-1.1
>>> Installing (19 of 34) dev-java/jansi-1.1
>>> Emerging (20 of 34) dev-java/jflex-1.4.3
>>> Installing (20 of 34) dev-java/jflex-1.4.3
>>> Emerging (21 of 34) dev-java/asm-1.4.3-r3
>>> Installing (21 of 34) dev-java/asm-1.4.3-r3
>>> Emerging (22 of 34) dev-java/cglib-2.0.2-r2
>>> Installing (22 of 34) dev-java/cglib-2.0.2-r2
>>> Emerging (23 of 34) dev-java/jmock-1.1.0-r2
>>> Installing (23 of 34) dev-java/jmock-1.1.0-r2
>>> Emerging (24 of 34) dev-java/qdox-1.12-r1
>>> Failed to emerge dev-java/qdox-1.12-r1, Log file:
>>>  '/var/log/portage/dev-java:qdox-1.12-r1:20150223-195046.log'
 * Package:    dev-java/qdox-1.12-r1
 * Repository: gentoo
 * Maintainer: java@gentoo.org proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Using: icedtea-bin-6
rm: cannot remove ‘src/main/com/thoughtworks/qdox/tools/QDoxTester.java’: No such file or directory
/var/tmp/portage/dev-java/qdox-1.12-r1/temp/environment: line 3902: jflex: command not found
 * ERROR: dev-java/qdox-1.12-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 3902:  Called die
 * The specific snippet of code:
 *       jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/ || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-java/qdox-1.12-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/qdox-1.12-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.13.5"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info =qdox-1.12
 * The complete build log is located at '/var/log/portage/dev-java:qdox-1.12-r1:20150223-195046.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT'
 * S: '/var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT'


        This is a built bot  stable  chroot named amd64 at a hardened stable host.

        
Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.18.7-hardened x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.18.7-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164808 total,   1719908 free
KiB Swap:   16777212 total,  16748792 free
Timestamp of tree: Mon, 23 Feb 2015 15:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.10.3-r1, 1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --quiet  --deep --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cli corefonts cracklib crypt cups cxx dbus dnssec dri drmkms dvd ecc extraengine ffmpeg fontconfig fortran fpm gdbm gtk gudev gui iconv isag jpeg libav libvirtd logrotate macvtap mbox minizip mmx modules multilib mysql ncurses nls nptl ogg opengl openmp pam pax_kernel pcre plasma png policykit qemu qt3support qt4 readline session spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 tcpd theora thinkpad threads tk tls truetype uml unicode usb usbredir uxa v4l v4l2 video vorbis xa xmp xscreensaver xvfb xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARG ETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 ARJANEN Loïc Jean David 2015-02-24 12:48:28 UTC
I have the same problem when trying to emerge qdox, it seems to be because jflex installs itself as jflex-<version> (e.g. jflex-1.6 for version 1.6) and the first line of qdox's src_compile() asks for a jflex unsuffixed, as seen in the error message.
Comment 2 Paul 2015-02-25 23:31:35 UTC
Same issue when installing NetBeans IDE.

Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-AMD_A10-5700_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     7266420 total,   1325892 free
KiB Swap:    2097148 total,   1971164 free
Timestamp of tree: Wed, 25 Feb 2015 09:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo java
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"                                                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gbm gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libav libkms libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xa xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 3 Mauro Crociara 2015-02-26 15:03:45 UTC
Hello guys, i found the same problem during the installation of netbeans-8.0.2: 

the qdox build log: https://bpaste.net/show/07f407bea74f
the jflex build log: https://bpaste.net/show/b0b50299da0f

qdox look for /usr/bin/jflex, but the jflex binary are located as:

/usr/bin/jflex-1.4.3
/usr/bin/jflex-1.6

I don't see any "eselect or --config" to select the right binary. A workaround to solve the problem could create a symlink to the bin, adding it to the path:

ln -s /usr/bin/jflex-1.6 /usr/bin/jflex

mars realnot # which jflex
/usr/bin/jflex

This permit to emerge qdox and netbeans properly.
Comment 4 Miroslav Šulc gentoo-dev 2015-02-26 16:09:37 UTC
sorry for this. fixed jlex has been just committed to the tree, it's 1.4.3-r2. it will get automatically emerged if you have or need jflex:0 installed and then the things should work fine again. if not, please reopen this bug.
Comment 5 Mauro Crociara 2015-02-26 17:37:23 UTC
The repositories contains the version 1.4.3-r2. Just tested and works properly. Thanks for the rapid support! The Gentoo developers are always one step ahead!
Comment 6 Paul 2015-02-26 23:29:57 UTC
Even with the 
**
**jflex versions I have installed I ran a test after I installed new slot 1.4:**

[I] dev-java/jflex
     Available versions:  
     (0)    1.4.3
     (1.4)  (~)1.4.3-r1
     (1.5)  (~)1.5.0^t (~)1.5.1^t
     (1.6)  (~)1.6.0^t
       {doc examples source vim-syntax ELIBC="FreeBSD"}
     Installed versions:  1.4.3(12:38:49 PM 02/26/2015)(doc source -vim-syntax ELIBC="-FreeBSD") 1.4.3-r1(1.4)(12:41:56 PM 02/26/2015)(-doc -source -vim-syntax ELIBC="-FreeBSD") 1.6.0(1.6)^t(12:48:28 PM 02/26/2015)(-doc -examples -source -vim-syntax ELIBC="-FreeBSD")
     Homepage:            http://www.jflex.de/
     Description:         JFlex is a lexical analyzer generator for Java

** Effects of running new slot 1.4 "fix", which still failed**

>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-java/netbeans-java-8.0.2

>>> Emerging (1 of 24) dev-java/qdox-1.12-r1::gentoo
 * qdox-1.12-20100531.205010-5-project.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                   [ ok ]
 * Using: icedtea-7
>>> Unpacking source...
>>> Unpacking qdox-1.12-20100531.205010-5-project.tar.gz to /var/tmp/portage/dev-java/qdox-1.12-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/qdox-1.12-r1/work
>>> Preparing source in /var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT ...
rm: cannot remove ‘src/main/com/thoughtworks/qdox/tools/QDoxTester.java’: No such file or directory
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT ...
/var/tmp/portage/dev-java/qdox-1.12-r1/temp/environment: line 3864: jflex: command not found
 * ERROR: dev-java/qdox-1.12-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 3864:  Called die
 * The specific snippet of code:
 *       jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/ || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-java/qdox-1.12-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/qdox-1.12-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-7  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea7"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info =qdox-1.12
 * The complete build log is located at '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT'
 * S: '/var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT'

>>> Failed to emerge dev-java/qdox-1.12-r1, Log file:

>>>  '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/build.log'

 * Messages for package dev-java/qdox-1.12-r1:

 * ERROR: dev-java/qdox-1.12-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 3864:  Called die
 * The specific snippet of code:
 *       jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/ || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-java/qdox-1.12-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/qdox-1.12-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/qdox-1.12-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT'
 * S: '/var/tmp/portage/dev-java/qdox-1.12-r1/work/qdox-1.12-SNAPSHOT'

The only solution that worked was:
ln -s /usr/bin/jflex-1.6 /usr/bin/jflex

It seems that the /usr/bin/jflex is the only input that is accepted. The links would need to be updated on each new development unless fixed. 

Mauro Crociara try to retest by removing your link, then reinstall the packages and see what the results are.
Comment 7 Mauro Crociara 2015-02-26 23:37:44 UTC
Paul have you sinced your tree and eix? sync your tree, unmerge jflex and try to do a full update:"emerge -avNDu @ world", netbeans and other packages will take the right jflex

dev-java/jflex
     Available versions:  
     (0)    1.4.3
     (1.4)  (~)1.4.3-r1
     (1.5)  (~)1.5.0^t (~)1.5.1^t
     (1.6)  (~)1.6.0^t

After the sync the new slot 0 became 1.4.3-r2 

realnot@mars ~ $ eix jflex
[I] dev-java/jflex
     Available versions:  
     (1.4)  ~1.4.3-r1
     (0)    1.4.3-r2 <--------------( this one )
     (1.5)  ~1.5.0^t ~1.5.1^t
     (1.6)  ~1.6.0^t
Comment 8 Paul 2015-02-28 20:53:46 UTC
wow im such a noob thx.