Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254325 - Stable request for dev-java/commons-betwixt-0.8
Summary: Stable request for dev-java/commons-betwixt-0.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL: http://www.gentoo.org/proj/en/java/ge...
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-01-09 15:59 UTC by Petteri Räty (RETIRED)
Modified: 2010-02-09 11:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-java:commons-betwixt-0.8:20090111-133001.log (dev-java:commons-betwixt-0.8:20090111-133001.log,37.50 KB, text/plain)
2009-01-11 13:33 UTC, Markus Meier
Details
fixes an example rss-xml file for the testsuite (commons-betwixt-0.8-rss.patch,549 bytes, patch)
2010-01-11 20:38 UTC, Andreas Schürch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2009-01-09 15:59:27 UTC
*commons-betwixt-0.8 (06 Apr 2008)

  06 Apr 2008; Petteri Räty <betelgeuse@gentoo.org>
  +commons-betwixt-0.8.ebuild:
  Version bump.
Comment 1 Markus Meier gentoo-dev 2009-01-11 13:33:08 UTC
Created attachment 178038 [details]
dev-java:commons-betwixt-0.8:20090111-133001.log

testsuite fails (tested with sun and ibm jdk-1.6):

    [junit] Testcase: testHashMapWriteEmpty took 0.249 sec
    [junit] 	FAILED
    [junit] (Unequal child nodes@entry) expected:<2> but was:<3>
    [junit] junit.framework.AssertionFailedError: (Unequal child nodes@entry) expected:<2> but was:<3>
    [junit] 	at org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:301)
    [junit] 	at org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:313)
    [junit] 	at org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:313)
    [junit] 	at org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:176)
    [junit] 	at org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:152)
    [junit] 	at org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:142)
    [junit] 	at org.apache.commons.betwixt.TestMaps.testHashMapWriteEmpty(TestMaps.java:68)
    [junit] 

BUILD FAILED
/var/tmp/portage/dev-java/commons-betwixt-0.8/work/commons-betwixt-0.8-src/build.xml:91: Test org.apache.commons.betwixt.TestMaps failed

Total time: 26 seconds
 * 
 * ERROR: dev-java/commons-betwixt-0.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 4033:  Called eant 'test' '-DJunit.present=true'
 *             environment, line  909:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed

GENTOO_VM=ibm-jdk-bin-1.6  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.6.0.3"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28 x86_64)
=================================================================
System uname: Linux-2.6.28-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sun, 11 Jan 2009 13:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/fax /usr/share/config /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/spool/fax/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB de"
MAKEOPTS="-j2"
PKGDIR="/mnt/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 arts avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo examples fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session source spell spl sse sse2 ssl startup-notification svg sysfs tcpd test tiff truetype unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Markus Meier gentoo-dev 2009-03-15 22:53:17 UTC
(In reply to comment #1)
> testsuite fails (tested with sun and ibm jdk-1.6):

ping?
Comment 3 Matthias Langer 2009-03-16 02:14:48 UTC
on amd64:

The test-suite fails here too, although slightly different as pointed out in comment 1:

"
[...]
dev-java/commons-betwixt-0.8  USE="test -doc -source"
[...]
internal-test:
[...]
[junit] Testcase: testHashMapWriteEmpty took 0.192 sec
[junit] Testcase: testHashMapWriteNotEmpty took 0.015 sec
[...]
[junit] Testcase: testRoundTrip took 2.011 sec
[junit] 	Caused an ERROR
[junit] The markup declarations contained or pointed to by the document type declaration must be well-formed.
[junit] org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed.
[junit] 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[junit] 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[junit] 	at org.apache.commons.digester.Digester.parse(Digester.java:1788)
[junit] 	at org.apache.commons.digester.rss.RSSDigester.parse(RSSDigester.java:189)
[junit] 	at org.apache.commons.betwixt.TestRSSRoundTrip.testRoundTrip(TestRSSRoundTrip.java:74)
[junit] 

BUILD FAILED
/var/tmp/portage/dev-java/commons-betwixt-0.8/work/commons-betwixt-0.8-src/build.xml:91: Test org.apache.commons.betwixt.TestRSSRoundTrip failed

Total time: 17 seconds
 * 
 * ERROR: dev-java/commons-betwixt-0.8 failed.
[...]
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.12"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
"

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Sun, 15 Mar 2009 22:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ "
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/repos/gentoo"
PORTDIR_OVERLAY="/var/portage/repos/layman/java-overlay /var/portage/repos/private"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipv6 isdnlog java java6 jpeg jpeg2k kpathsea lcms libnotify lm_sensors log4j mad matroska midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap multilib musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd pulseaudio python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tetex theora threads tiff truetype unicode usb vcd vim-syntax vorbis xattr xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon konica ptp2 kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Brent Baude (RETIRED) gentoo-dev 2009-03-18 14:59:18 UTC
ppc stable
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-02 10:05:35 UTC
We still need advise on the test failures...
Comment 6 Pacho Ramos gentoo-dev 2009-12-24 11:40:44 UTC
Well, tests in current stable (dev-java/commons-betwixt-0.7-r1) also fail, then, maybe it shouldn't be a blocker for this one, but I would prefer waiting for Java team confirmation about 0.8 working ok and, if ok, would be better to restrict tests until they are fixed
Comment 7 Andreas Schürch gentoo-dev 2010-01-11 20:38:46 UTC
Created attachment 216115 [details, diff]
fixes an example rss-xml file for the testsuite

Proudly stolen the patch from http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg46083.html

epatch "${FILESDIR}/${P}-rss.patch" during src_test() will fix the tests!
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2010-01-11 22:04:05 UTC
(In reply to comment #7)
> Created an attachment (id=216115) [details]
> fixes an example rss-xml file for the testsuite
> 

Applied. Thanks. Arches please try again.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2010-01-12 15:23:05 UTC
x86 stable, thanks Andreas
Comment 10 Pacho Ramos gentoo-dev 2010-02-09 11:30:45 UTC
amd64 stable