Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120181 - dev-java/openjms-0.7.6.1-r1 fails to compile
Summary: dev-java/openjms-0.7.6.1-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 06:22 UTC by Josh Nichols (RETIRED)
Modified: 2007-08-29 23:15 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 Josh Nichols (RETIRED) gentoo-dev 2006-01-24 06:22:13 UTC
Buildfile: build.xml

prepare:
    [mkdir] Created dir: /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build
    [mkdir] Created dir: /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src
    [mkdir] Created dir: /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src/org/exolab/jms/selector/parser
    [mkdir] Created dir: /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/classes

schemas:

prepare:

castor.uptodate:

castor:
     [java] -- Suppressing non fatal warnings.
    [touch] Creating /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/connector.xsd.tstamp

prepare:

castor.uptodate:

castor:
     [java] -- Suppressing non fatal warnings.
    [touch] Creating /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/openjms.xsd.tstamp

prepare:

castor.uptodate:

castor:
     [java] -- Suppressing non fatal warnings.
    [touch] Creating /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/database.xsd.tstamp

parser:
    [antlr] ANTLR Parser Generator   Version 2.7.3   1989-2004 jGuru.com
    [antlr] ANTLR Parser Generator   Version 2.7.3   1989-2004 jGuru.com

jdk.version:
     [echo]  Using version 1.4

jdk14work:
     [echo] Compiling with JDK1.4
     [copy] Copying 1 file to /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src/org/exolab/jms/persistence

jdk13work:

jdkspecific:

main:
    [javac] Compiling 483 source files to /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/classes
    [javac] /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src/org/exolab/jms/config/QueueConnectionFactory.java:102: unmarshal(java.io.Reader) in org.exolab.jms.config.QueueConnectionFactory cannot override unmarshal(java.io.Reader) in org.exolab.jms.config.ConnectionFactory; attempting to use incompatible return type
    [javac] found   : org.exolab.jms.config.QueueConnectionFactory
    [javac] required: org.exolab.jms.config.ConnectionFactory
    [javac]     public static org.exolab.jms.config.QueueConnectionFactory unmarshal(java.io.Reader reader)
    [javac]                                                                ^
    [javac] /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src/org/exolab/jms/config/TopicConnectionFactory.java:102: unmarshal(java.io.Reader) in org.exolab.jms.config.TopicConnectionFactory cannot override unmarshal(java.io.Reader) in org.exolab.jms.config.ConnectionFactory; attempting to use incompatible return type
    [javac] found   : org.exolab.jms.config.TopicConnectionFactory
    [javac] required: org.exolab.jms.config.ConnectionFactory
    [javac]     public static org.exolab.jms.config.TopicConnectionFactory unmarshal(java.io.Reader reader)
    [javac]                                                                ^
    [javac] /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src/org/exolab/jms/config/XAQueueConnectionFactory.java:102: unmarshal(java.io.Reader) in org.exolab.jms.config.XAQueueConnectionFactory cannot override unmarshal(java.io.Reader) in org.exolab.jms.config.ConnectionFactory; attempting to use incompatible return type
    [javac] found   : org.exolab.jms.config.XAQueueConnectionFactory
    [javac] required: org.exolab.jms.config.ConnectionFactory
    [javac]     public static org.exolab.jms.config.XAQueueConnectionFactory unmarshal(java.io.Reader reader)
    [javac]                                                                  ^
    [javac] /var/tmp/portage/openjms-0.7.6.1-r1/work/openjms-0.7.6.1/build/generated-src/org/exolab/jms/config/XATopicConnectionFactory.java:102: unmarshal(java.io.Reader) in org.exolab.jms.config.XATopicConnectionFactory cannot override unmarshal(java.io.Reader) in org.exolab.jms.config.ConnectionFactory; attempting to use incompatible return type
    [javac] found   : org.exolab.jms.config.XATopicConnectionFactory
    [javac] required: org.exolab.jms.config.ConnectionFactory
    [javac]     public static org.exolab.jms.config.XATopicConnectionFactory unmarshal(java.io.Reader reader)
    [javac]                                                                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 4 errors



Emerge info:
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java javamail jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl subversion syslog tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-01-24 16:13:22 UTC
This bug is particularly irksome. First, it doesn't appear in ~arch, but does appear in arch. Second, the problem is with a class that it part of this package. 
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-08-29 23:15:41 UTC
I think -r2 compiles just fine as ali_bush commmitted it :)