Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76924 - dev-java/jaxen-1.1_beta2 build error
Summary: dev-java/jaxen-1.1_beta2 build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 10:26 UTC by Daniel Webert
Modified: 2005-01-09 00:08 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 Daniel Webert 2005-01-06 10:26:16 UTC
dev-java/jaxen-1.1_beta2 build error

<snip>
    [javac]    158.     String name = attribute.getNodeName();
    [javac]                    ^--^
    [javac] *** Semantic Warning: Local "name" shadows a field of the same name in "org.jaxen.dom.NamespaceNode".

    [javac] Found 4 semantic errors compiling "/var/tmp/portage/jaxen-1.1_beta2/work/jaxen-1.1-beta-2/src/java/main/org/jaxen/jdom/DocumentNavigator.java":

    [javac]    230.             current = current.getParent();
    [javac]                     ^---------------------------^
    [javac] *** Semantic Error: The type of the right sub-expression, "org.jdom.Parent", is not assignable to the variable, of type "org.jdom.Element".


    [javac]    457.             element = ((Text)context).getParent();
    [javac]                     ^-----------------------------------^
    [javac] *** Semantic Error: The type of the right sub-expression, "org.jdom.Parent", is not assignable to the variable, of type "org.jdom.Element".


    [javac]    469.             element = ((Comment)context).getParent();
    [javac]                     ^--------------------------------------^
    [javac] *** Semantic Error: The type of the right sub-expression, "org.jdom.Parent", is not assignable to the variable, of type "org.jdom.Element".


    [javac]    473.             element = ((ProcessingInstruction)context).getParent();
    [javac]                     ^----------------------------------------------------^
    [javac] *** Semantic Error: The type of the right sub-expression, "org.jdom.Parent", is not assignable to the variable, of type "org.jdom.Element".

    [javac] Issued 1 semantic warning compiling "/var/tmp/portage/jaxen-1.1_beta2/work/jaxen-1.1-beta-2/src/java/main/org/jaxen/saxpath/base/XPathLexer.java":

    [javac]    302.     Token previousToken = getPreviousToken();
    [javac]                   ^-----------^
    [javac] *** Semantic Warning: Local "previousToken" shadows a field of the same name in "org.jaxen.saxpath.base.XPathLexer".

BUILD FAILED
/var/tmp/portage/jaxen-1.1_beta2/work/jaxen-1.1-beta-2/build.xml:37: Compile failed; see the compiler error output for details.

Total time: 13 seconds

!!! ERROR: dev-java/jaxen-1.1_beta2 failed.
!!! Function src_compile, Line 57, Exitcode 1
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.
</snip>

<snip>
porkoo ~ # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-cko2 i686)
=================================================================
System uname: 2.6.10-cko2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  5 2005, 14:39:26)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.3, 1.8.5-r2, 1.4_p6, 1.7.9, 1.5, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math"
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-mem -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks loadpolicy sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X X509 Xaw3d a52 aac aalib acl adns aim aliaschain alsa amd apache2 apm arts artswrappersuid async audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bonobo bzip2 bzlib c++ calendar cddb cdparanoia cdr cdrom chroot clamav clanJavaScript clanVoice client cnamefix codecs cpdflib crypt css ctype cups curl curlwrappers dba dedicated devmap dillo dio disablekernelsupport distcache distribution divx4linux dnd dts dv dvd dvdr dvdread edl encode erandom escreen esd estraier ethereal etwin evms2 exif faac faad fam fbcon ffmpeg flac flash flatfile flood fmod font-server foomaticdb fpx freetype fs ftp ftruncate fusion fwdzone gb gd gdbm geoip ggi gif gimp gkrellm glut gmail gmp gphoto2 gpm gps graphviz gs gtk gtk2 gtkhtml hal hardened hardenedphp hbci howl hub iconv icq ieee1394 imagemagick imap imlib imlib2 immqt-bc inifile innodb intl ipv6 ipv6arpa ithreads jabber java javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice lcd lcms ldap libcaca libclamav libg++ libsamplerate libwww live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska mbox mcal md5sum memlimit mhash mikmod mime ming mixer mmx mmx2 mng motif moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn multipleip mysql nas ncurses net network neural nis nls nntp nowin nptl ntlm nvidia nviz oav offensive ofx oggvorbis openal opengl oscar oss pam passfile pcap pcre pdflib perl php physfs pic pie png postgres prelude procmail python qt quicktime quotas quotes readline real rplay rrdtool rtc samba sasl sdl semanticfix server session sftplogging silc silverxp skey slang slp smartcard smime sndfile snmp soap sockets socks5 softmmu speex spell sse sse2 ssl stats streamzap stroke subject-rewrite svg svga szip tcltk tcpd tga theora threads thumbnail tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts uml underscores unicode uptimed usb userlocales uudeview v4l v4l2 vda vhosts vim-with-x virus-scan winbind wmf wsconvert xanim xchatdccserver xchattext xface xfs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xsl xv xvid xvmc yahoo yv12 zlib linguas_en linguas_de linguas_es"


</snip>
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-09 00:08:34 UTC
removed junit tests to fix this. the code for unit testing is a mess, tried to fixing it but it is not worth the trouble. thanks anyway for reporting this issue.