Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300769

Summary: FEATURES="test" emerge =dev-java/jfreechart-1.0.13 fails
Product: Gentoo Linux Reporter: Emanuel Ydrefors <E.Ydrefors>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 266295    
Bug Blocks:    
Attachments: The full build.log file

Description Emanuel Ydrefors 2010-01-12 20:06:25 UTC
When I emerged jfreechart with test enabled, it fails with 

BUILD FAILED
/var/tmp/portage/dev-java/jfreechart-1.0.13/work/jfreechart-1.0.13/ant/build.xml:294: Test org.jfree.chart.annotations.junit.AnnotationsPackageTests failed

Total time: 10 seconds
 *
 * ERROR: dev-java/jfreechart-1.0.13 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 4334:  Called eant '-f' 'ant/build.xml' 'test' '-Ditext.jar=/usr/share/itext/lib/iText.jar' '-Djcommon.jar=/usr/share/jcommon-1.0/lib/jcommon.jar' '-Dservlet.jar=/usr/share/tomcat-servlet-api-2.3/lib/servlet.jar' '-Djunit.jar=/usr/share/junit/lib/junit.jar'
 *             environment, line  909:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed

Reproducible: Always

Steps to Reproduce:
1.FEATURES="test" emerge =dev-java/jfreechart-1.0.13
2.
3.

Actual Results:  
It fails with the error described above


GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.6.2"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)                                                                                         
=================================================================                             
System uname: Linux-2.6.31-gentoo-r6-i686-Pentium-R-_Dual-Core_CPU_T4200_@_2.00GHz-with-gentoo-1.12.13                                                                                      
Timestamp of tree: Sat, 09 Jan 2010 14:30:01 +0000                                            
ccache version 2.4 [enabled]                                                                  
app-shells/bash:     4.0_p35                                                                  
dev-java/java-config: 2.1.9-r2                                                                
dev-lang/python:     2.6.4                                                                    
dev-util/ccache:     2.4-r7                                                                   
sys-apps/baselayout: 1.12.13                                                                  
sys-apps/sandbox:    1.6-r2                                                                   
sys-devel/autoconf:  2.63-r1                                                                  
sys-devel/automake:  1.9.6-r2, 1.10.2                                                         
sys-devel/binutils:  2.18-r3                                                                  
sys-devel/gcc-config: 1.4.1                                                                   
sys-devel/libtool:   2.2.6b                                                                   
virtual/os-headers:  2.6.27-r2                                                                
ACCEPT_KEYWORDS="x86"                                                                         
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri dvd fortran gdbm gpm hal iconv ipv6 kde modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt4 readline reflection session spl ssl symlink sysfs tcpd truetype unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2010-01-16 10:51:04 UTC
    [junit] Testcase: testEquals took 0.001 sec
    [junit] Testcase: testCloning took 0 sec
    [junit] Testcase: testSerialization took 0 sec

BUILD SUCCESSFUL
Total time: 33 seconds

Please attach the full build.log.
Comment 2 Emanuel Ydrefors 2010-01-16 11:38:30 UTC
Created attachment 216667 [details]
The full build.log file
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2010-01-16 11:56:24 UTC
(In reply to comment #2)
> Created an attachment (id=216667) [details]
> The full build.log file
> 

    [junit] Testcase: testDrawWithNullInfo took 0.444 sec
    [junit] 	Caused an ERROR
    [junit] Probable fatal error:No fonts found.
    [junit] java.lang.Error: Probable fatal error:No fonts found.
    [junit] 	at sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088)

I am guessing it works with other than icedtea6-bin. 
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-10-19 18:39:25 UTC
Works here with icedtea6-bin-1.9.1, please reopen if not.