Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248299 - dev-java/commons-cli-1.1 cannot be build
Summary: dev-java/commons-cli-1.1 cannot be build
Status: RESOLVED DUPLICATE of bug 215659
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 14:50 UTC by Maciej Piechotka
Modified: 2009-01-26 17:30 UTC (History)
2 users (show)

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


Attachments
The build log (build.log,33.24 KB, text/plain)
2008-11-23 14:52 UTC, Maciej Piechotka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2008-11-23 14:50:28 UTC
dev-java/commons-cli-1.1 cannot be build as it do not find junit (I have both 3.x and 4.x and ant-junit)

Reproducible: Always

Steps to Reproduce:
Emerge it 



NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc15 (default/linux/x86/2008.0/developer, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-zen3 i686)
=================================================================
System uname: Linux-2.6.27-zen3-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 23 Nov 2008 03:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8, 2.6-r5
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=pentium-m -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-Os -mtune=pentium-m -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args -fvisibility-inlines-hidden"
DISTDIR="/var/tmp/distfiles"
FEATURES="ccache collision-protect cvs digest distlocks multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms sign splitdebug stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--add-needed -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="en_GB en_US pl"
PKGDIR="/usr/portage/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"
PORTDIR_OVERLAY="/usr/local/portage-crossdev /usr/portage/local/layman/zen-overlay /usr/portage/local/layman/rbu /usr/portage/local/layman/java-overlay /usr/portage/local/layman/x11 /usr/portage/local/layman/my-gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa applet attr avahi avalon bash-completion berkdb bittorrent boo browseplugin bzip2 c++ cairo calendar caps cddb cdparanoia cdr cli clisp context cracklib crypt cups curl curlwrappers cxx d daap dbus deskbar detex devhelp disk-partition djvu docbook dri dvd dvdnav dvdr dvdread eclipse eds emacs emboss encode eog epiphany esd evo evolution exif expat extra fam ffmpeg flac flash fortran fuse galago gconf gd gdbm gdl gedit gif gimp git glib glut gmail gmp gnome gnome-keyring gnutls gpm gsf gstreamer gtk guile hal iconv idle imap inherit-graph inotify ipod iproute2 ipv6 isdnlog jabber java java5 java6 jingle jpeg jpeg2k jython keyring kpathsea kqemu laptop latex libburn libffi libgda libnotify libsexy logrotate lucene mad maildir mailwrapper mhash midi mikmod mmap mmx mono moonlight mozilla mp3 mpeg mudflap mule musicbrainz nautilus ncurses network networkmanager nls nntp no-old-linux nptl nptlonly nsplugin nss ntpl ogg oggvorbis openal opengl openmp pam pango pbm pccts pch pcre pda pdf perl png policykit pop postgres ppds pppd pulseaudio python qt3support quicktime raw readline reflection regex reiserfs resolvconf rhino ruby samba scanner science sdl session snmp soap soup sourceview spell spl sqlite sqlite3 sse sse2 ssh ssl startup-notification subversion svg symlink sysfs syslog tcpd tetex theora threads threadsafe tiff timidity totem tracker trayicon truetype unicode usb valgrind vim vorbis vte webkit wifi win32codecs wxwindows x86 xattr xcb xforms xhtml xml xml2 xorg xsl xslt xulrunner xv zeroconf zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="null empty dmix dshare ioplug" 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="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maciej Piechotka 2008-11-23 14:52:02 UTC
Created attachment 172944 [details]
The build log
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2008-11-23 15:35:23 UTC
Reassigning to us.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2008-11-23 17:02:31 UTC
Does it work with python-2.5?
Comment 4 Maciej Piechotka 2008-11-24 09:12:20 UTC
Looks like: 215659

Bug of portage, which is not blocking junit 3.8?
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2008-11-24 19:19:39 UTC
(In reply to comment #4)
> Looks like: 215659
> 
> Bug of portage, which is not blocking junit 3
>

So you have 3.8.1-r3 installed and Portage doesn't complain? Your commons-cli ebuild is coming from the main tree and not from an overlay (where there isn't a blocker in place)?
Comment 6 Maciej Piechotka 2008-11-24 19:52:34 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Looks like: 215659
> > 
> > Bug of portage, which is not blocking junit 3
> >
> 
> So you have 3.8.1-r3 installed and Portage doesn't complain?

Yes

> Your commons-cli
> ebuild is coming from the main tree and not from an overlay (where there isn't
> a blocker in place)?
> 

I have no overlay with commons-cli.
Comment 7 Zac Medico gentoo-dev 2008-11-24 21:35:50 UTC
If it's 3.8.1-r3, then normally the upgrade should go something like this:

[ebuild     U ] dev-java/junit-3.8.2-r1 [3.8.1-r3]
[ebuild     U ] dev-java/commons-cli-1.1 [1.0-r5]

The blocker ensures that the junit upgrade occurs before the commons-cli upgrade.

Please post output for `emerge --pretend --debug junit:0 commons-cli`.
Comment 8 Georgi Georgiev 2009-01-25 17:13:17 UTC
I have junit-3.8.2-r1 and junit-4.5.

commons-cli still fails with the same error.
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2009-01-25 17:56:03 UTC
(In reply to comment #8)
> I have junit-3.8.2-r1 and junit-4.5.
> 
> commons-cli still fails with the same error.
> 

Post the info asked in the previous comment.
Comment 10 Georgi Georgiev 2009-01-26 17:23:17 UTC
(In reply to comment #9)
> 
> Post the info asked in the previous comment.
> 

Sorry, problem solved now (after consulting bug 215659).

The /usr/share/ant-core/lib/junit.jar symlink was not cleaned on my system for some reason (paludis at fault I suppose).
I cleaned it manually and it's fine now.
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2009-01-26 17:30:41 UTC

*** This bug has been marked as a duplicate of bug 215659 ***