Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 89883
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Boman <michael.boman@gmail.com>
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 89883 depends on: Show dependency tree
Bug 89883 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: 2005-04-20 20:27 0000
dev-util/pmd doesn't compile: it is using deprecated API according to the
compiler output.

Reproducible: Always
Steps to Reproduce:
1.emerge dev-util/pmd
Actual Results:  
>>> emerge (15 of 15) dev-util/pmd-1.5-r1 to /
>>> md5 files   ;-) pmd-1.5.ebuild
>>> md5 files   ;-) pmd-1.5-r1.ebuild
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) files/digest-pmd-1.5
>>> md5 files   ;-) files/digest-pmd-1.5-r1
>>> md5 src_uri ;-) pmd-src-1.5.zip
>>> Unpacking source...
>>> Unpacking pmd-src-1.5.zip to /var/tmp/portage/pmd-1.5-r1/work
Could not find package jaxen
>>> Source unpacked.
Buildfile: build.xml

copy:
     [copy] Copying 18 files to
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/build/rulesets
     [copy] Copying 1 file to
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/build/net/sourceforge/pmd/util/viewer/resources

compile:
    [javac] Compiling 433 source files to
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/build
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:8:
package org.jaxen does not exist
    [javac] import org.jaxen.DefaultNavigator;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:9:
package org.jaxen does not exist
    [javac] import org.jaxen.XPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:10:
package org.jaxen.util does not exist
    [javac] import org.jaxen.util.SingleObjectIterator;
    [javac]                       ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:22:
cannot resolve symbol
    [javac] symbol  : class DefaultNavigator
    [javac] location: class net.sourceforge.pmd.jaxen.DocumentNavigator
    [javac] public class DocumentNavigator extends DefaultNavigator {
    [javac]                                        ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:182:
cannot resolve symbol
    [javac] symbol  : class XPath
    [javac] location: class net.sourceforge.pmd.jaxen.DocumentNavigator
    [javac]     public XPath parseXPath(String arg0) throws SAXPathException {
    [javac]            ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:12:
package org.jaxen does not exist
    [javac] import org.jaxen.BaseXPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:13:
package org.jaxen does not exist
    [javac] import org.jaxen.JaxenException;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:14:
package org.jaxen does not exist
    [javac] import org.jaxen.XPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:23:
cannot resolve symbol
    [javac] symbol  : class XPath
    [javac] location: class net.sourceforge.pmd.rules.XPathRule
    [javac]     private XPath xpath;
    [javac]             ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:43:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class net.sourceforge.pmd.rules.XPathRule
    [javac]     private void init() throws JaxenException {
    [javac]                                ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:54:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class net.sourceforge.pmd.rules.XPathRule
    [javac]     private static void throwJaxenAsRuntime(final JaxenException
ex) {
    [javac]                                                   ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/ASTViewer.java:11:
package org.jaxen does not exist
    [javac] import org.jaxen.BaseXPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/ASTViewer.java:12:
package org.jaxen does not exist
    [javac] import org.jaxen.JaxenException;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/ASTViewer.java:13:
package org.jaxen does not exist
    [javac] import org.jaxen.XPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/viewer/model/ViewerModel.java:8:
package org.jaxen does not exist
    [javac] import org.jaxen.BaseXPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/viewer/model/ViewerModel.java:9:
package org.jaxen does not exist
    [javac] import org.jaxen.JaxenException;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/viewer/model/ViewerModel.java:10:
package org.jaxen does not exist
    [javac] import org.jaxen.XPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/viewer/model/ViewerModel.java:91:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class net.sourceforge.pmd.util.viewer.model.ViewerModel
    [javac]     throws ParseException, JaxenException
    [javac]                            ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:17:
package org.jaxen does not exist
    [javac] import org.jaxen.BaseXPath;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:18:
package org.jaxen does not exist
    [javac] import org.jaxen.JaxenException;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:19:
package org.jaxen does not exist
    [javac] import org.jaxen.UnsupportedAxisException;
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:103:
cannot resolve symbol
    [javac] symbol  : class UnsupportedAxisException
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]     public void testDescendantAxisIterator() throws
UnsupportedAxisException {
    [javac]                                                     ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:121:
cannot resolve symbol
    [javac] symbol  : class UnsupportedAxisException
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]     public void testDescendantAxisIterator2() throws
UnsupportedAxisException {
    [javac]                                                      ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:155:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]     public void testXPath() throws JaxenException {
    [javac]                                    ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:161:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]     public void testXPath2() throws JaxenException {
    [javac]                                     ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:167:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]     public void testXPath3() throws JaxenException {
    [javac]                                     ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:173:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]     public void testXPath4() throws JaxenException {
    [javac]                                     ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:232:
cannot resolve symbol
    [javac] symbol  : class SingleObjectIterator
    [javac] location: class net.sourceforge.pmd.jaxen.DocumentNavigator
    [javac]             return new SingleObjectIterator(((Attribute)
contextNode).getParent());
    [javac]                        ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/jaxen/DocumentNavigator.java:236:
cannot resolve symbol
    [javac] symbol  : class SingleObjectIterator
    [javac] location: class net.sourceforge.pmd.jaxen.DocumentNavigator
    [javac]                 return new SingleObjectIterator(parent);
    [javac]                            ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:37:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class net.sourceforge.pmd.rules.XPathRule
    [javac]         } catch (JaxenException ex) {
    [javac]                  ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/rules/XPathRule.java:50:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class net.sourceforge.pmd.rules.XPathRule
    [javac]             xpath = new BaseXPath(path, new DocumentNavigator());
    [javac]                         ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/ASTViewer.java:123:
cannot resolve symbol
    [javac] symbol  : class XPath
    [javac] location: class net.sourceforge.pmd.util.ASTViewer.XPathListener
    [javac]                 XPath xpath = new
BaseXPath(xpathQueryArea.getText(), new DocumentNavigator());
    [javac]                 ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/ASTViewer.java:123:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class net.sourceforge.pmd.util.ASTViewer.XPathListener
    [javac]                 XPath xpath = new
BaseXPath(xpathQueryArea.getText(), new DocumentNavigator());
    [javac]                                   ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/ASTViewer.java:138:
cannot resolve symbol
    [javac] symbol  : class JaxenException
    [javac] location: class net.sourceforge.pmd.util.ASTViewer.XPathListener
    [javac]             } catch (JaxenException je) {
    [javac]                      ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/viewer/model/ViewerModel.java:93:
cannot resolve symbol
    [javac] symbol  : class XPath
    [javac] location: class net.sourceforge.pmd.util.viewer.model.ViewerModel
    [javac]     XPath xpath = new BaseXPath( xPath, new DocumentNavigator(  )
);
    [javac]     ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/src/net/sourceforge/pmd/util/viewer/model/ViewerModel.java:93:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class net.sourceforge.pmd.util.viewer.model.ViewerModel
    [javac]     XPath xpath = new BaseXPath( xPath, new DocumentNavigator(  )
);
    [javac]                       ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:105:
cannot resolve symbol
    [javac] symbol  : method getDescendantAxisIterator
(net.sourceforge.pmd.ast.Node)
    [javac] location: class net.sourceforge.pmd.jaxen.DocumentNavigator
    [javac]             Iterator iter =
nav.getDescendantAxisIterator(rule.statement);
    [javac]                                    ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:123:
cannot resolve symbol
    [javac] symbol  : method getDescendantAxisIterator
(net.sourceforge.pmd.ast.Node)
    [javac] location: class net.sourceforge.pmd.jaxen.DocumentNavigator
    [javac]         Iterator iter =
nav.getDescendantAxisIterator(rule.primaryPrefix);
    [javac]                            ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:156:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]             BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]                 ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:156:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]             BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]                                       ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:162:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]         BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]         ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:162:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]         BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]                               ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:168:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]         BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]         ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:168:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]         BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]                               ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:174:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]         BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]         ^
    [javac]
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/regress/test/net/sourceforge/pmd/jaxen/DocumentNavigatorTest.java:174:
cannot resolve symbol
    [javac] symbol  : class BaseXPath
    [javac] location: class
test.net.sourceforge.pmd.jaxen.DocumentNavigatorTest
    [javac]         BaseXPath xPath = new BaseXPath(".//*", new
DocumentNavigator());
    [javac]                               ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 46 errors

BUILD FAILED
/var/tmp/portage/pmd-1.5-r1/work/pmd-1.5/etc/build.xml:35: Compile failed; see
the compiler error output for details.

Total time: 3 seconds

!!! ERROR: dev-util/pmd-1.5-r1 failed.
!!! Function src_compile, Line 37, Exitcode 1
!!! died on ant
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Package compiled and installed without problems

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20050125-r1,
2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 26 2005, 00:11:10)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.6.3, 1.4_p6, 1.5, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -mcpu=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
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="x86 GAPING_SECURITY_HOLE X adns alsa apm arts avi bash-completion berkdb
bitmap-fonts bluetooth cdr crypt cups curl emboss encode esd ethereal fam flac
foomaticdb fortran gd gdbm gif gnome gpm gps gsm gstreamer gtk gtk2 imagemagick
imlib ipv6 jack java jpeg junit kde kdeenablefinal ldap libg++ libwww mad
mikmod
motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcmcia
pdflib perl png pnp python qt quicktime readline samba sdl slang snmp spell ssl
svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts unicode
usb vorbis xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Jan Brinkmann (RETIRED) 2005-04-21 07:47:42 0000 -------
fixed in cvs, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug