Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45318 - dev-java/ant-1.6.1-r1 fails to emerge
Summary: dev-java/ant-1.6.1-r1 fails to emerge
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:
Depends on:
Blocks:
 
Reported: 2004-03-21 14:12 UTC by aent
Modified: 2004-04-01 19:57 UTC (History)
0 users

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 aent 2004-03-21 14:12:36 UTC
Calculating dependencies ...done!
[ebuild     U ] dev-java/ant-1.6.1-r1 [1.5.4-r1] +doc  0 kB
[ebuild  N    ] dev-java/ant-optional-1.6.1-r1  +doc -javamail  0 kB


BUILD SUCCESSFUL
Total time: 17 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
Invalid implementation version between Ant core and Ant optional tasks.
 core    : 1.6.0
 optional: 1.6.1


Reproducible: Always
Steps to Reproduce:
1. emerge -u dev-java/ant



Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /opt/resin/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.noved.org/
ftp://gentoo.mirrors.pair.com ftp://ftp.uesb.edu/pub/mirrors/linux/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib accessibility acl acpi alsa apache2 apm arts avi berkdb bonobo cdr
crypt cups curl dga directfb doc dvb dvd encode esd evo faad fbcon firebird flac
flash foomaticdb freetds gd gdbm gif glut gnome gnomedb gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imap imlib informix innodb jack java jikes joystick
jpeg kde ladcca lcms ldap libg++ libgda libwww lirc mad mcal mikmod mmx motif
mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mysql nas ncurses netcdf nls
nvidia oggvorbis opengl optional-tasks oss pam pdflib perl plotutils png pnp
postgres python qt quicktime readline regexp rhino ruby samba sasl scanner sdl
slang spell sqlite sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode
usb wmf wxwindows x86 xine xinerama xml xml2 xmms xosd xv xvid zlib"

main smarty # java-config --java-version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-21 16:23:20 UTC
emerge -C ant && emerge ant ant-optional
Comment 2 aent 2004-03-21 18:19:21 UTC
Still gives the same error :(
Comment 3 aent 2004-03-21 18:36:36 UTC
Just noticed this is a duplicate of bug 44950 which was marked fixed, but its still not working for me...
Comment 4 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-21 18:39:17 UTC
emerge -C ant ant-optional
emerge ant

If this doesn't work, ant is LYING to you :P

We'll solve this issue ;)
Comment 5 aent 2004-03-21 20:12:49 UTC
Already tried that as you recommended in the other :P Its lying to me!
Comment 6 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-21 20:28:54 UTC
ls -l /usr/share/ant/lib/

What's the output of that when you emerge -C ant-optional, and before that. Something is strange.
Comment 7 Benoit Labrousse 2004-03-21 23:39:14 UTC
I've done an emerge -C ant ant-optional and I've exactly the same bug:


BUILD SUCCESSFUL
Total time: 25 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
Invalid implementation version between Ant core and Ant optional tasks.
 core    : 1.6.0
 optional: 1.6.1

!!! ERROR: dev-java/ant-1.6.1-r1 failed.
!!! Function src_compile, Line 60, Exitcode 1
!!! (no error message)





Comment 8 aent 2004-03-22 05:53:40 UTC
(The output of emerge -C ant ant-optional was obviously different before, since it removed the old packages)
main root # emerge -C ant ant-optional
 
--- Couldn't find ant to unmerge.
 
--- Couldn't find ant-optional to unmerge.
 
>>> unmerge: No packages selected for removal.
main root # ls -l /usr/share/ant/lib/
ls: /usr/share/ant/lib/: No such file or directory

I didn't do it before I unmerged them before, so I don't know what was there then...
Comment 9 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-26 22:48:13 UTC
Any updates on this? I haven't been able to reproduce this one :/
Comment 10 aent 2004-03-27 09:43:14 UTC
Still having the problems :(

If anyone wants to try anything with me in attempt to fix it, I'll be in #gentoo-java ...
Comment 11 Chetan Sarva 2004-03-30 14:29:37 UTC
If you emerged an older 4.x version of tomcat (the current ebuild won't do this) it appended the tomcat path to your classpath like so:
$ echo $CLASSPATH
/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:.:/usr/share/tomcat/lib:.

To fix this, edit /etc/env.d/21tomcat and comment out the CLASSPATH line. Then:
# java-config -X && env-update && source /etc/profile
# emerge dev-java/ant ant-optional

That should do it.
Comment 12 Benoit Labrousse 2004-03-31 23:22:36 UTC
Thanks a lot! 
I had to modify the CLASSPATH in /etc/env.d/21java but you gave me the right clue!

Comment 13 Chris Aniszczyk (RETIRED) gentoo-dev 2004-04-01 19:57:37 UTC
This one is fixed, joy! Mental note, clear classpath... ;O