Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159457 - dev-java/groovy-1.0_rc01 and groovy-1.0 fail to compile
Summary: dev-java/groovy-1.0_rc01 and groovy-1.0 fail to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 159519 160212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-30 02:59 UTC by Sean
Modified: 2007-01-05 03:38 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 Sean 2006-12-30 02:59:48 UTC
>>> Emerging (9 of 9) dev-java/groovy-1.0_rc01 to /
 * groovy-1.0-RC-01-src.tar.gz MD5 ;-) ...                                                              [ ok ]
 * groovy-1.0-RC-01-src.tar.gz RMD160 ;-) ...                                                           [ ok ]
 * groovy-1.0-RC-01-src.tar.gz SHA1 ;-) ...                                                             [ ok ]
 * groovy-1.0-RC-01-src.tar.gz SHA256 ;-) ...                                                           [ ok ]
 * groovy-1.0-RC-01-src.tar.gz size ;-) ...                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                  [ ok ]
 * checking groovy-1.0-RC-01-src.tar.gz ;-) ...                                                         [ ok ]
 * Using: ibm-jdk-bin-1.5
>>> Unpacking source...
>>> Unpacking groovy-1.0-RC-01-src.tar.gz to /var/tmp/portage/groovy-1.0_rc01/work
tar: A lone zero block at 12606
>>> Source unpacked.
Rewriting ./src/tck/build.xml (using xml-rewrite.py)
Rewriting ./build.xml (using xml-rewrite.py)
>>> Compiling source in /var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01 ...
Buildfile: build.xml

compile:
    [mkdir] Created dir: /var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01/target/classes
    [javac] Compiling 397 source files to /var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01/target/classes

BUILD FAILED
/var/tmp/portage/groovy-1.0_rc01/work/groovy-1.0-RC-01/build.xml:36: /root/.maven/repository not found.

Total time: 1 second

!!! ERROR: dev-java/groovy-1.0_rc01 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  groovy-1.0_rc01.ebuild, line 79:   Called eant '-Dnoget=true' 'jar'
  java-utils-2.eclass, line 1377:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.5  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.5.0.3"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info



I modified /usr/portage/dev-java/groovy/files/build.xml-1.0_rc01 as follows:

# diff build.xml-1.0_rc01 build.xml-1.0_rc01.old
11c11
<   <property name="libdir" value="${basedir}/target/lib"></property>
---
>   <property name="libdir" value="${user.home}/.maven/repository"></property>

Now compilation is successful.

I doubt it will be required, but here is `emerge --info` anyway.

Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5, 2.6.15-gentoo-r1-ronin i686)
=================================================================
System uname: 2.6.15-gentoo-r1-ronin i686 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.6
Last Sync: Fri, 29 Dec 2006 23:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo-distfiles http://212.219.56.132/sites/www.ibiblio.org/gentoo/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/ ftp://194.117.143.70/mirrors/gentoo"
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/local/portage"
SYNC="rsync://mirror.bytemark.co.uk/gentoo"
USE="x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm bash-completion berkdb bzip2 cgi cli courier cracklib crypt cups dlloader dri eds elibc_glibc emboss encode expat fam fastcgi foomaticdb fortran gdbm gif gpm gstreamer gtk2 iconv imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog javamail jikes jpeg kernel_linux ldap libg++ libwww logrotate mad mikmod motif mp3 mpeg nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls offensive ogg pam pcre perl png postfix postgres pppd python qt3 qt4 quicktime readline reflection ruby sasl session snmp spell spl sqlite sqlite3 ssl tcpd truetype userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo virtual-users vorbis xml xmlrpc xorg zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-30 12:48:08 UTC
Fixed in CVS, thanks for reporting.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 16:11:52 UTC
*** Bug 159519 has been marked as a duplicate of this bug. ***
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-05 03:36:03 UTC
Fixed in CVS the regression in 1.0, reported on IRC.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-05 03:38:06 UTC
*** Bug 160212 has been marked as a duplicate of this bug. ***