Hi need this package for Netbeans 6.5-r1 but it appears this error if I try to emerge this package: Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking lucene-2.3.2-src.tar.gz to /var/tmp/portage/dev-java/lucene-2.3.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2 ... Rewriting attributes Rewriting ./build.xml Rewriting ./common-build.xml Using following ANT_TASKS: ant-nodeps javacc Buildfile: build.xml clean-javacc: javacc-uptodate-check: javacc-notice: [echo] [echo] One or more of the JavaCC .jj files is newer than its corresponding [echo] .java file. Run the "javacc" target to regenerate the artifacts. [echo] jflex-uptodate-check: jflex-notice: init: javacc-check: javacc-QueryParser: [javacc] Java Compiler Compiler Version 4.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/src/java/org/apache/lucene/queryParser/QueryParser.jj . . . [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "CharStream.java" does not exist. Will create one. [javacc] Parser generated successfully. javacc-HTMLParser: [javacc] Java Compiler Compiler Version 4.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/src/demo/org/apache/lucene/demo/html/HTMLParser.jj . . . [javacc] Warning: Line 22, Column 3: Bad option name "OPTIMIZE_TOKEN_MANAGER". Option setting will be ignored. [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "SimpleCharStream.java" does not exist. Will create one. [javacc] Parser generated with 0 errors and 1 warnings. javacc: BUILD SUCCESSFUL Total time: 2 seconds Disabling all optional ANT_TASKS Buildfile: build.xml javacc-uptodate-check: javacc-notice: jflex-uptodate-check: jflex-notice: init: clover.setup: clover.info: [echo] [echo] Clover not found. Code coverage reports disabled. [echo] clover: common.compile-core: [mkdir] Created dir: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java [javac] Compiling 258 source files to /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java compile-core: [rmic] RMI Compiling 1 class to /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java jar-core: [jar] Building jar: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/lucene-core-2.3.2.jar [jar] Manifest is invalid: The attribute "POOL DEBUG" may not occur more than once in the same section BUILD FAILED /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/common-build.xml:186: The following error occurred while executing this line: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/common-build.xml:256: Invalid Manifest: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/MANIFEST.MF Total time: 11 seconds RROR: dev-java/lucene-2.3.2 failed. Call stack: ebuild.sh, line 49: Called src_compile environment, line 4037: Called eant '-Dversion=2.3.2' 'jar-core' 'jar-demo' environment, line 893: Called die The specific snippet of code: ant ${antflags} "${@}" || die "eant failed" The die message: eant failed emerge --info: Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking lucene-2.3.2-src.tar.gz to /var/tmp/portage/dev-java/lucene-2.3.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2 ... Rewriting attributes Rewriting ./build.xml Rewriting ./common-build.xml Using following ANT_TASKS: ant-nodeps javacc Buildfile: build.xml clean-javacc: javacc-uptodate-check: javacc-notice: [echo] [echo] One or more of the JavaCC .jj files is newer than its corresponding [echo] .java file. Run the "javacc" target to regenerate the artifacts. [echo] jflex-uptodate-check: jflex-notice: init: javacc-check: javacc-QueryParser: [javacc] Java Compiler Compiler Version 4.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/src/java/org/apache/lucene/queryParser/QueryParser.jj . . . [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "CharStream.java" does not exist. Will create one. [javacc] Parser generated successfully. javacc-HTMLParser: [javacc] Java Compiler Compiler Version 4.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/src/demo/org/apache/lucene/demo/html/HTMLParser.jj . . . [javacc] Warning: Line 22, Column 3: Bad option name "OPTIMIZE_TOKEN_MANAGER". Option setting will be ignored. [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "SimpleCharStream.java" does not exist. Will create one. [javacc] Parser generated with 0 errors and 1 warnings. javacc: BUILD SUCCESSFUL Total time: 2 seconds Disabling all optional ANT_TASKS Buildfile: build.xml javacc-uptodate-check: javacc-notice: jflex-uptodate-check: jflex-notice: init: clover.setup: clover.info: [echo] [echo] Clover not found. Code coverage reports disabled. [echo] clover: common.compile-core: [mkdir] Created dir: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java [javac] Compiling 258 source files to /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java compile-core: [rmic] RMI Compiling 1 class to /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java jar-core: [jar] Building jar: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/lucene-core-2.3.2.jar [jar] Manifest is invalid: The attribute "POOL DEBUG" may not occur more than once in the same section BUILD FAILED /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/common-build.xml:186: The following error occurred while executing this line: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/common-build.xml:256: Invalid Manifest: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/MANIFEST.MF Total time: 11 seconds RROR: dev-java/lucene-2.3.2 failed. Call stack: ebuild.sh, line 49: Called src_compile environment, line 4037: Called eant '-Dversion=2.3.2' 'jar-core' 'jar-demo' environment, line 893: Called die The specific snippet of code: ant ${antflags} "${@}" || die "eant failed" The die message: eant failed Portage 2.1.6_rc1 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc4-zen1 x86_64) ================================================================= System uname: Linux-2.6.28-rc4-zen1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5 Timestamp of tree: Mon, 24 Nov 2008 13:31:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/zen-overlay /usr/local/portage/layman/java-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi aim alsa amd64 asf avcodec avi berkdb bluetooth bzip2 cdr cli cpp cracklib crypt cups debug dell diskwrite dri dvd dvdr fbcon ffmpeg fortran ftpaac gdbm gif gpm gtk iconv icq imap ipv6 isdnlog java java6 jpeg lastfm latex libnotify midi mmx mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png ppds pppd python readline reflection rss ruby samba session spell spl sqlite sse sse2 ssl sysfs tcpd threads tiff unicode usb vorbis wavpack wifi wma x264 xml xorg xvid xvmc zlib" 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" NETBEANS_MODULES="j2ee profiler xml mobility identity ide apisupport java harness gsf groovy websvccommon" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Reproducible: Always
Created attachment 173257 [details] build.log
Created attachment 173258 [details] emerge --info
!!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.10" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
Please attach the MANIFEST.MF that was generated.
Created attachment 173275 [details] Manifest
(In reply to comment #5) > Created an attachment (id=173275) [edit] > Implementation-Version: 2.3.2 POOL DEBUG: [PID/TID] ACTION (SIZE > /POOL SIZE /TOTAL SIZE) POOL "TAG" <__FILE__:__LINE__> (ALLOCS > /TOTAL ALLOCS/CLEARS) > POOL DEBUG: [23780/139676528138048] GLOBAL > 0x1aac010 <memory/unix/apr_pools.c:ap > r_pool_initialize> > POOL DEBUG: [23780/139676528138048] CREATE ( > 0/ 0/ 200) 0x1aac5d0 "misc/unix/start.c:58" <misc/ > unix/start.c:58> (0/0/0) > POOL DEBUG: [23780/139676528138048] CREATE > ( 0/ 0/ 200) 0x1aac680 "subversion/libsvn_subr > /dso.c:50" <subversion/libsvn_subr/dso.c:50> (0/0/0) > POOL DEBUG: [23 I think somebody is corrupted on your system. Please fsck the partition that holds /var/tmp/portage. There is absolutely nothing in lucene-2.3.2 that would have data like this in it.
No response from user. I say corrupted disk/partition on user system.
Created attachment 199876 [details] faulty manifest.mf for lucene-2.3.2 I have the same bug. I'm not posting my emerge output, since it's identical. Here's my emerge --info. Also the MANIFEST.MF is attached. I ran fsck on my /var partition, as suggested above. It did find some problems, and fixed them. But lucene still doesn't build. I reran fsck just in case, and this time it didn't turn up anything. emerge --info Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.0.1 Timestamp of tree: Sat, 01 Aug 2009 18:15:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en en_US en-US" MAKEOPTS="-j2" PKGDIR="/usr/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="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X aac acl acpi akonadi alsa amd64 apache2 bash-completion branding bzip2 cairo cdaudio cdr cli consolekit cracklib crypt css cups dbus debug dri dvd dvdr dvdread eds emboss encode esd evo fam firefox floppy foomaticdb fortran gdbm gif gimp git gmp gpm hal htmlhandbook iconv imagemagick ipv6 isdnlog java jpeg kde kig-scripting lame laptop latex ldap libnotify lm_sensors mad mdnsresponder-compat mikmod mmx mng mozdevelop mp3 mp3tunes mp4 mpeg msn mudflap multilib musicbrainz nat ncurses nls npp nptl nptlonly nsplugin odbc offensive ogg openexr opengl openmp oscar pam pcre pdf perl php plasma plugins png postgres ppds pppd python qt3support qt4 quicktime readline reflection sdl semantic-desktop session spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vorbis wifi xcb xcomposite xml xorg xpm xscreensaver xsl xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="emu10k1" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en-US" SANE_BACKENDS="nothing" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
From those here originally, please see the updates on bug 279050, where we have traced it to a broken subversion causing the corrupt manifest.