Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264810 - dev-java/commons-cli-1.1: failed when try to emerge it in a system with ant-core-7.1-r2 )
Summary: dev-java/commons-cli-1.1: failed when try to emerge it in a system with ant-c...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 22:29 UTC by Victor Orozco
Modified: 2009-10-08 12:01 UTC (History)
0 users

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


Attachments
build.log for commons.cli (build.log,30.82 KB, text/plain)
2009-04-06 19:15 UTC, Victor Orozco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Orozco 2009-04-03 22:29:08 UTC
When I try to update the package, the emerge crash I'm updating from  dev-java/commons-cli-1.0-r5, looks as a junit or classpath problem.

Reproducible: Always

Steps to Reproduce:
1.emerge dev-java/commons-cli-1.1 without use flags active
2.the build crash starting with: junit.framework does not exist
    [javac] import junit.framework.Test;





Junit installed packages:
junit
ant-junit
ant-junit4

Ant version:
ant-core

Final message error:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.13"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info


Emerge --info:
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Celeron-R-_M_CPU_430_@_1.73GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Apr 2009 21:30:16 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.3.9
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.28-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/xbmc/userdata"
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/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/churritos-local /usr/portage/local/layman"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi addbookmarks additions admin administrator alsa amarok amazon amd amrnb antlr apache2 archive ares ascii aspell automount avahi bash-completion bdf berkdb binary-drivers bindist branding bzip2 c++ cairo ccache cdda cddb cdio cdr cli contentcache corba cracklib crypt css cups cursors custom-cxxflags% daap dbus dc1394 directfb disk-partition divx dri dts dvb dvd dvdr dvdread eds emboss encode equalizer esd evo fam fastbuild fat fbcon fbcondecor fbsplash ffmpeg firefox flac fortran ftp fuse gconf gdbm gdm gif git gnome gnome-keyring gnome-print gnutella gnutls gpm grub gstreamer gtk gtk2 hal hddtemp hfs httpd ia32 icons iconv id3tag imagemagick ipv6 isdnlog java java6 jpeg laptop libcaca libgcrypt libnotify live lua mad madwifi midi mikmod mmx mp3 mp4 mpeg mpeg2 mudflap musepack mysql ncurses nls nocxx nptl nptlonly nsplugin ntfs objc objc++ objc-gc ogg openal openexr opengl openmp pam pcimcia pcre pdf perl php plugins png ppds pppd python qt3 qt3support readline reflection samba sdl session shout simplexml skins spell spl srt sse sse2 sse3 ssl startup-notification stream subversion svg sysfs taglib tcpd theora tiff tokenizer truetype udf unicode usb vcd verse vorbis webkit win32codecs wmf wxwindows x x264 x86 xcb xcomposite xinerama xml xorg xscreensaver xsl xulrunner xv xvid 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 mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-04-04 09:24:09 UTC
Please attach full build.log
Comment 2 Victor Orozco 2009-04-06 19:15:37 UTC
Created attachment 187483 [details]
build.log for commons.cli

Sorry for forget it
Comment 3 Bernhard T 2009-06-21 02:03:04 UTC
managed to resolve the same bug on my system by doing the following:
emerge -C junit 
 -> demerged junit-3.8.1-r3 which was the only one installed
emerge ant-junit
 -> which emerged
 [ebuild  N    ] dev-java/junit-3.8.2-r1  USE="-doc -source" 451 kB
 [ebuild  N    ] dev-java/ant-junit-1.7.1  0 kB

after that emerging dev-java/commons-cli-1.1 went fine.
Comment 4 Bernhard T 2009-06-21 02:04:25 UTC
sorry, meant to say "work around the bug". The bug still remains of course
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-10-08 12:01:13 UTC
Please reopen if there's still a problem with commons-cli-1.2