dev-db/hsqldb-1.8.0.10 emerge failed Reproducible: Always Steps to Reproduce: 1.nice -n 19 emerge -av dev-db/hsqldb 2.Calculating dependencies... done! [ebuild N ] dev-db/hsqldb-1.8.0.10 USE="-doc -java6 -source -test" 0 kB 3. Actual Results: >>> Emerging (1 of 19) dev-db/hsqldb-1.8.0.10 * hsqldb_1_8_0_10.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Using: kaffe >>> Unpacking source... >>> Unpacking hsqldb_1_8_0_10.zip to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work removed `lib/hsqldb.jar' removed `lib/servlet.jar' * Applying resolve-config-softlinks.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work >>> Compiling source in /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb ... Rewriting attributes Rewriting ./build/build.xml * Disabling all optional ANT_TASKS Buildfile: build/build.xml init: javaversion6: javaversion4: javaversion2: -prepare: [mkdir] Created dir: /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes codeswitcher: [javac] Compiling 1 source file to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes switches: switchtojdk14: [java] ........................ switchtojdk16: store: [javac] Compiling 6 source files to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes lib: [javac] Compiling 41 source files to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes [javac] [javac] Found 8 semantic errors compiling "/var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/src/org/hsqldb/lib/HsqlTimer.java": [javac] [javac] 838. void addTask(final Task task) { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 863. ((Task) oldHeap[i]).cancelled = true; [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 899. synchronized Task peekTask() { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 902. && ((Task) super.heap[0]).isCancelled()) { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 906. return (Task) super.heap[0]; [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 922. synchronized void signalTaskCancelled(Task task) { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 941. Task removeTask() { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 944. return (Task) super.remove(); [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". BUILD FAILED /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/build/build.xml:265: Compile failed; see the compiler error output for details. Total time: 16 seconds * ERROR: dev-db/hsqldb-1.8.0.10 failed: * eant failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4384: Called java-pkg-2_src_compile * environment, line 2393: Called eant 'jar' 'jarclient' 'jarsqltool' 'jarutil' '-f' 'build/build.xml' * environment, line 943: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of 'emerge --info =dev-db/hsqldb-1.8.0.10', * the complete build log and the output of 'emerge -pqv =dev-db/hsqldb-1.8.0.10'. !!! When you file a bug report, please include the following information: GENTOO_VM=kaffe CLASSPATH="" JAVA_HOME="/opt/kaffe-1.1.7" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/environment'. * S: '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb' >>> Failed to emerge dev-db/hsqldb-1.8.0.10, Log file: >>> '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/build.log' * Messages for package dev-db/hsqldb-1.8.0.10: * ERROR: dev-db/hsqldb-1.8.0.10 failed: * eant failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4384: Called java-pkg-2_src_compile * environment, line 2393: Called eant 'jar' 'jarclient' 'jarsqltool' 'jarutil' '-f' 'build/build.xml' * environment, line 943: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of 'emerge --info =dev-db/hsqldb-1.8.0.10', * the complete build log and the output of 'emerge -pqv =dev-db/hsqldb-1.8.0.10'. * The complete build log is located at '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/environment'. * S: '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb' emerge --info =dev-db/hsqldb-1.8.0.10 Portage 2.2_rc51 (!../usr/portage/profiles/default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 24 Nov 2009 10:30:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" 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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/mnt/nfs_portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="rsync://192.168.1.1/gentoo-portage/distfiles rsync://192.168.1.1/gentoo-portage/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo" LANG="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="cs us" PKGDIR="/mnt/nfs_portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/nfs_portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo faad fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jack java jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs us" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -pqv =dev-db/hsqldb-1.8.0.10 [ebuild N ] dev-db/hsqldb-1.8.0.10 USE="-doc -java6 -source -test" !!! The following installed packages are masked: - app-emulation/virtualbox-bin-3.0.8 (masked by: PUEL license(s)) A copy of the 'PUEL' license is located at '/mnt/nfs_portage/licenses/PUEL'. - dev-java/sun-jce-bin-1.5.0 (masked by: sun-bcla-java-vm license(s)) A copy of the 'sun-bcla-java-vm' license is located at '/mnt/nfs_portage/licenses/sun-bcla-java-vm'. - dev-java/sun-jce-bin-1.6.0 (masked by: sun-bcla-java-vm license(s)) - games-fps/enemy-territory-2.60b (masked by: RTCW-ETEULA license(s)) A copy of the 'RTCW-ETEULA' license is located at '/mnt/nfs_portage/licenses/RTCW-ETEULA'. - dev-java/sun-jdk-1.6.0.15 (masked by: dlj-1.1 license(s)) A copy of the 'dlj-1.1' license is located at '/mnt/nfs_portage/licenses/dlj-1.1'. - dev-java/blackdown-jre-1.4.2.03-r14 (masked by: package.mask, sun-bcla-java-vm license(s)) /mnt/nfs_portage/profiles/package.mask: # Vlastimil Babka <caster@gentoo.org> (17 Nov 2009) # Removal for EOL and security, bug #287615 For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Please unmask the licenses for sun jdk, or try icedtea6-bin
After java unmask I get this result Emerging (1 of 19) dev-db/hsqldb-1.8.0.10 * hsqldb_1_8_0_10.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Using: kaffe >>> Unpacking source... >>> Unpacking hsqldb_1_8_0_10.zip to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work removed `lib/hsqldb.jar' removed `lib/servlet.jar' * Applying resolve-config-softlinks.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work >>> Compiling source in /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb ... Rewriting attributes Rewriting ./build/build.xml * Disabling all optional ANT_TASKS Buildfile: build/build.xml init: javaversion6: javaversion4: javaversion2: -prepare: [mkdir] Created dir: /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes codeswitcher: [javac] Compiling 1 source file to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes switches: switchtojdk14: [java] ........................ switchtojdk16: store: [javac] Compiling 6 source files to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes lib: [javac] Compiling 41 source files to /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/classes [javac] [javac] Found 8 semantic errors compiling "/var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/src/org/hsqldb/lib/HsqlTimer.java": [javac] [javac] 838. void addTask(final Task task) { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 863. ((Task) oldHeap[i]).cancelled = true; [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 899. synchronized Task peekTask() { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 902. && ((Task) super.heap[0]).isCancelled()) { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 906. return (Task) super.heap[0]; [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 922. synchronized void signalTaskCancelled(Task task) { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 941. Task removeTask() { [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". [javac] [javac] [javac] 944. return (Task) super.remove(); [javac] ^--^ [javac] *** Semantic Error: The static type "org.hsqldb.lib.HsqlTimer$TaskQueue" must use a qualified name to access the non-static member type "org.hsqldb.lib.HsqlTimer$Task" of the enclosing type "org.hsqldb.lib.HsqlTimer". BUILD FAILED /var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb/build/build.xml:265: Compile failed; see the compiler error output for details. Total time: 56 seconds * ERROR: dev-db/hsqldb-1.8.0.10 failed: * eant failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4384: Called java-pkg-2_src_compile * environment, line 2393: Called eant 'jar' 'jarclient' 'jarsqltool' 'jarutil' '-f' 'build/build.xml' * environment, line 943: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of 'emerge --info =dev-db/hsqldb-1.8.0.10', * the complete build log and the output of 'emerge -pqv =dev-db/hsqldb-1.8.0.10'. !!! When you file a bug report, please include the following information: GENTOO_VM=kaffe CLASSPATH="" JAVA_HOME="/opt/kaffe-1.1.7" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/temp/environment'. * S: '/var/tmp/portage/dev-db/hsqldb-1.8.0.10/work/hsqldb'
Change the JVM in use with eselect java-vm. You're still trying to use kaffe.
when I do eselect java-vm list I get this result: eselect java-vm list Available Java Virtual Machines: [1] blackdown-jre-1.4.2 [2] icedtea6-bin [3] kaffe [4] sun-jdk-1.6 system-vm eselect java-vm show Current system-vm sun-jdk-1.6 Current user-vm (unset) So I thing that sun-jdk is set as java-vm. Anyway I done the command eselect java-vm set system sun-jdk-1.6. The error remain the some.
That's odd. Is your installation an old one? IIRC I've seen some similar JVM selection problems during Gentoo java layout 1 -> java layout 2 change or thereabouts, but that was months or years ago. Have you read and successfully upgraded from java layout 1 to 2 as per the news item 2009-04-18-java-config-wrapper-0.16? I.e., especially run java-check-environment and follow any instructions.
I changed to layout 2 quite long ago. # java-check-environment * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many * respects. * Please refer to our upgrade guide for details: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * Checking fastjar ... [ ok ] * Checking vm_environment_files ... [ ok ] * Checking user_settings ... * Running as root. Don't need to check user settings. [ ok ] * Checking generation_1_system_vm ... [ ok ] * Checking java_config_1 ... [ ok ] * Checking global_classpath ... [ ok ] * Checking virtual_provides ... [ ok ] * Checking overlays_eclasses ... [ ok ] * Checking package_env ... [ ok ] * Checking proc_mounted ... [ ok ] * Java environment is sane. Congratulations!
Ok, now I realized that you don't have java6 in your USE, so portage goes for an older 1.5/1.4 jdk, and only has a choice between blackdown-jdk and kaffe on your system -- and ends up using kaffe. If you don't explicitly need kaffe then you can probably just unmerge it, or at least mark blackdown-jdk to be used for 1.4 (e.g., over at /etc/java-config-2/build/jdk.conf). But those are just workaround attempts and won't fix hsqldb compilation with kaffe (which this bug is about?). But there is a problem with kaffe, too, as it is bitrotting both in portage tree as well as upstream. See, e.g., comments over at bug #292659, like comment 4.
the flag java6 worked for me. I have no need to use kaffe. I thing the problem was caused because I dad too little info about the licence masking. But as you wrote it is not real solution.