Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196009 - [java-gcj-overlay] dev-java/lucene-2.2.0 fails to build
Summary: [java-gcj-overlay] dev-java/lucene-2.2.0 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 05:10 UTC by Daniel LaMotte
Modified: 2008-11-01 07:16 UTC (History)
1 user (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 Daniel LaMotte 2007-10-16 05:10:57 UTC
Hopefully I got this in the right spot.

I'm really sorry if its not.  I did search for a better spot, but came up empty.  Please let me know and I can submit this somewhere else.

Here is the build log:

>>> Emerging (1 of 2) dev-java/lucene-2.2.0 to /
 * lucene-2.2.0-src.tar.gz RMD160 ;-) ...                                                                                                                                           [ ok ]
 * lucene-2.2.0-src.tar.gz SHA1 ;-) ...                                                                                                                                             [ ok ]
 * lucene-2.2.0-src.tar.gz SHA256 ;-) ...                                                                                                                                           [ ok ]
 * lucene-2.2.0-src.tar.gz size ;-) ...                                                                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                              [ ok ]
 * checking lucene-2.2.0-src.tar.gz ;-) ...                                                                                                                                         [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking lucene-2.2.0-src.tar.gz to /var/tmp/portage/dev-java/lucene-2.2.0/work
 * Applying common-build.xml.diff ...                                                                                                                                               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0 ...
Rewriting source attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting target attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting nowarn attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
 * Using all available ANT_TASKS
Buildfile: build.xml

javacc-uptodate-check:

javacc-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.2.0/work/lucene-2.2.0/build/classes/java
    [javac] Compiling 234 source files to /var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/build/classes/java
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-core:
     [rmic] RMI Compiling 1 class to /var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/build/classes/java

jar-core:
      [jar] Building jar: /var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/build/lucene-core-2.2.0.jar

build-contrib:   
   [subant] No sub-builds to iterate on

javadocs:
    [mkdir] Created dir: /var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/build/docs/api

BUILD FAILED
/var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/build.xml:157: The following error occurred while executing this line:
/var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/build.xml:409: /var/tmp/portage/dev-java/lucene-2.2.0/work/lucene-2.2.0/contrib/analyzers/src/java not found.

Total time: 9 seconds                                                                                                                                                                     
 *
 * ERROR: dev-java/lucene-2.2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   lucene-2.2.0.ebuild, line 26:   Called eant 'jar-core' 'javadocs'
 *   java-utils-2.eclass, line 2007:   Called die
 *
 * eant failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/lucene-2.2.0/temp/build.log'.
 *
!!! 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.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info




Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4-shimmy i686)
=================================================================
System uname: 2.6.21-gentoo-r4-shimmy i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Sat, 13 Oct 2007 09:00:08 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2 -s"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion battery berkdb bitmap-fonts bzip2 cli cpufreq cracklib crypt cscope cups curl dbus divx doc dri dvd epydoc fortran gdbm gmp gnutls gpm gtk hal hpn iconv ipv6 isdnlog ithreads java jpeg libedit midi mp3 mplayer mudflap ncurses nls nptl nptlonly nsplugin offensive opengl openmp pam pam_timestamp pcre perl png pppd prediction python qt3support quicktime readline realmedia reflection session spl sse2 ssl startup-notification tcpd threads tiff truetype truetype-fonts type1-fonts unicode vim-syntax wifi win32codecs wmp x86 xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel LaMotte 2007-11-13 16:14:54 UTC
I'm not sure if anyone has looked at this, but I finally got time to look deeper into this issue and it looks like its an ebuild issue and not an upstream issue.

The ebuild does rm -fr contrib in the ${S} dir.  The build fails because of the missing contrib/ dir.  Is there a reason for removing this?  I made a copy of the ebuild in my local overlay and removed the rm -fr contrib and it built perfectly.

Without this package, eclipse-sdk-3.3.0 will not build.
Comment 2 Martin Slota 2007-11-15 13:08:22 UTC
> I'm not sure if anyone has looked at this, but I finally got time to look
> deeper into this issue and it looks like its an ebuild issue and not an
> upstream issue.
> 
> The ebuild does rm -fr contrib in the ${S} dir.  The build fails because of the
> missing contrib/ dir.  Is there a reason for removing this?  I made a copy of
> the ebuild in my local overlay and removed the rm -fr contrib and it built
> perfectly.
> 
> Without this package, eclipse-sdk-3.3.0 will not build.

Removing the "rm -rf contrib" line works for me, too. Another (temporary) solution should be to disable the "doc" USE flag.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-01 07:16:23 UTC
2.2.0 in the main tree does not do the rm.