First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 39021
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Charles Goodwin <charlie@vexi.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 39021 depends on: Show dependency tree
Bug 39021 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-22 04:32 0000
Never has for me.  I always end up adding it to package.mask - but no more!

I have the latest Sun JDK.

>>> md5 src_uri ;-) apache-ant-1.6.0-src.tar.bz2
>>> Unpacking source...
>>> Unpacking apache-ant-1.6.0-src.tar.bz2 to /var/tmp/portage/ant-1.6.0-r2/work * Applying build.sh-exit-fix.patch.gz...                                 [ ok ]>>> Source unpacked.
... Bootstrapping Ant Distribution
... Compiling Ant Classes
src/main/org/apache/tools/ant/Location.java:125: cannot resolve symbol
symbol  : method fromURI (java.lang.String)
location: class org.apache.tools.ant.util.FileUtils
            this.fileName = FileUtils.newFileUtils().fromURI(fileName);
                                                  ^
src/main/org/apache/tools/ant/Target.java:229: cannot resolve symbol
symbol  : class EmptyEnumeration
location: class org.apache.tools.ant.util.CollectionUtils
            return new CollectionUtils.EmptyEnumeration();
                                      ^
src/main/org/apache/tools/ant/DirectoryScanner.java:699: cannot resolve symbol
symbol  : method rtrimWildcardTokens (java.lang.String)
location: class org.apache.tools.ant.types.selectors.SelectorUtils
                SelectorUtils.rtrimWildcardTokens(includes[icounter]);
                             ^
src/main/org/apache/tools/ant/types/selectors/MappingSelector.java:81: cannot resolve symbol
symbol  : method getFileTimestampGranularity ()
location: class org.apache.tools.ant.util.FileUtils
        granularity = (int) FileUtils.newFileUtils().getFileTimestampGranularity();
                                                  ^
src/main/org/apache/tools/ant/RuntimeConfigurable.java:278: cannot resolve symbol
symbol  : class EmptyEnumeration
location: class org.apache.tools.ant.util.CollectionUtils
            return new CollectionUtils.EmptyEnumeration();
                                      ^
src/main/org/apache/tools/ant/Diagnostics.java:240: cannot resolve symbol
symbol  : method getClassSource (java.lang.Class)
location: class org.apache.tools.ant.util.LoaderUtils
        File f = LoaderUtils.getClassSource(clazz);
                            ^
src/main/org/apache/tools/ant/taskdefs/FixCRLF.java:568: cannot resolve symbol
symbol  : method rename (java.io.File,java.io.File)
location: class org.apache.tools.ant.util.FileUtils
                fileUtils.rename(tmpFile, destFile);
                         ^
src/main/org/apache/tools/ant/taskdefs/Copy.java:645: cannot resolve symbol
symbol  : method copyFile (java.lang.String,java.lang.String,org.apache.tools.ant.types.FilterSetCollection,java.util.Vector,boolean,boolean,java.lang.String,java.lang.String,org.apache.tools.ant.Project)
location: class org.apache.tools.ant.util.FileUtils
                        fileUtils.copyFile(fromFile, toFile, executionFilters,
                                 ^
src/main/org/apache/tools/ant/taskdefs/Zip.java:422: cannot resolve symbol
symbol  : method rename (java.io.File,java.io.File)
location: class org.apache.tools.ant.util.FileUtils
                    fileUtils.rename(zipFile, renamedFile);
                             ^
src/main/org/apache/tools/ant/taskdefs/Zip.java:539: cannot resolve symbol
symbol  : method rename (java.io.File,java.io.File)
location: class org.apache.tools.ant.util.FileUtils
                    fileUtils.rename(renamedFile, zipFile);
                             ^
src/main/org/apache/tools/ant/taskdefs/Move.java:267: cannot resolve symbol
symbol  : method copyFile (java.io.File,java.io.File,org.apache.tools.ant.types.FilterSetCollection,java.util.Vector,boolean,boolean,java.lang.String,java.lang.String,org.apache.tools.ant.Project)
location: class org.apache.tools.ant.util.FileUtils
            getFileUtils().copyFile(fromFile, toFile, executionFilters,
                        ^
src/main/org/apache/tools/ant/taskdefs/Rename.java:125: cannot resolve symbol
symbol  : method rename (java.io.File,java.io.File)
location: class org.apache.tools.ant.util.FileUtils
            FileUtils.newFileUtils().rename(src, dest);
                                  ^
src/main/org/apache/tools/ant/taskdefs/Replace.java:462: cannot resolve symbol
symbol  : method rename (java.io.File,java.io.File)
location: class org.apache.tools.ant.util.FileUtils
                fileUtils.rename(temp, src);
                         ^
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:223: cannot resolve symbol
symbol  : method getNamespaceXMLReader ()
location: class org.apache.tools.ant.util.JAXPUtils
            XMLReader parser = JAXPUtils.getNamespaceXMLReader();
                                        ^
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:227: cannot resolve symbol
symbol  : method toURI (java.lang.String)
location: class org.apache.tools.ant.util.FileUtils
                uri = fu.toURI(buildFile.getAbsolutePath());
                        ^
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:450: cannot resolve symbol
symbol  : method fromURI (java.lang.String)
location: class org.apache.tools.ant.util.FileUtils
                String path = fu.fromURI(systemId);
                                ^
src/main/org/apache/tools/ant/helper/ProjectHelper2.java:459: cannot resolve symbol
symbol  : method toURI (java.lang.String)
location: class org.apache.tools.ant.util.FileUtils
                    inputSource.setSystemId(fu.toURI(file.getAbsolutePath()));
                                              ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
17 errors
... Failed compiling Ant classes !
Bootstrap FAILED
 
!!! ERROR: dev-java/ant-1.6.0-r2 failed.
!!! Function src_compile, Line 41, Exitcode 1
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Charles Goodwin 2004-01-22 06:51:26 0000 -------
mightymax linux-2.6.2_rc1-love1 # java-config -L
[sun-j2sdk-1.4.2] "Sun JDK 1.4.2" (/etc/env.d/java/20sun-j2sdk-1.4.2) *

mightymax linux-2.6.2_rc1-love1 # java-config -O
/opt/sun-j2sdk-1.4.2

------- Comment #2 From Adrian Almenar 2004-01-22 18:44:42 0000 -------
Can you post "emerge info" output ?

------- Comment #3 From Charles Goodwin 2004-01-22 22:39:40 0000 -------
mightymax root # emerge info
Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-rc1-love3)
=================================================================
System uname: 2.6.1-rc1-love3 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -frename-registers -mfpmath=sse,387 -msse -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -frename-registers -mfpmath=sse,387 -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.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 alsa apache2 arts avi berkdb bonobo crypt cups dnd dvd encode esd evo fbcon foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde ldap libg++ libwww mad maildir mbox mikmod mng mozilla moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg nas ncurses nls nptl oggvorbis openal opengl pam pdflib perl plotutils png postgres python qt quicktime readline samba sasl sdl slang spell sse ssl svga tcltk tcpd truetype usb wmf wxwindows x86 xml2 xmms xv xvid zlib"

------- Comment #4 From Matteo Coloberti 2004-01-23 02:45:58 0000 -------
I tried to compile it from script: the problem is in bootstrap.sh at line 118,
when it try to copile ant without its util. I don't think i can write a patch
for this script but if you have a older version of ant you can compile it with
build.xml. It's easy run ant from bash. It works. This is not a solution for
the emerge.

------- Comment #5 From Matteo Coloberti 2004-01-23 04:52:57 0000 -------
To solve this probelm you have to unmerge old version of ant and go on with
upgrade... if you have ant 1.5.4 on your computer ebuild should compile the new
version with build.xml. My suggestion, nothing else! 

So try...
emerge -C dev-java/ant
emerge dev-java/ant

------- Comment #6 From Charles Goodwin 2004-01-23 05:50:32 0000 -------
That worked.

So should the ebuild be stating ant-1.5.6 and below as blockers than need to be removed first?

------- Comment #7 From Lim Swee Tat (RETIRED) 2004-01-24 07:37:59 0000 -------
Is this bug considered closed??

------- Comment #8 From Charles Goodwin 2004-01-24 12:30:11 0000 -------
No.

The ant ebuild should either be blocked by a previous ant install or suggest unmerging ant if the initial attempt to emerge fails.

------- Comment #9 From Chris Aniszczyk (RETIRED) 2004-02-15 22:25:15 0000 -------
Fixed in 1.6.0-r3

Cheers.

First Last Prev Next    No search results available      Search page      Enter new bug