Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182276 - bcprov-1.36-r1 fails to emerge - package junit.framework does not exist error
Summary: bcprov-1.36-r1 fails to emerge - package junit.framework does not exist error
Status: RESOLVED FIXED
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: 2007-06-16 22:52 UTC by Seamus Riordan
Modified: 2007-06-17 08:46 UTC (History)
1 user (show)

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


Attachments
bcprov build log (bcprov-build.log,10.70 KB, text/plain)
2007-06-16 22:53 UTC, Seamus Riordan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seamus Riordan 2007-06-16 22:52:38 UTC
Gives error package junit.framework does not exist, though junit is installed for bcprov-1.36-r1.  bcprov-1.36 emerges sucessfully

Reproducible: Always

Steps to Reproduce:
1.emerge bcprov
2.
3.

Actual Results:  
bcprov emerge complains about package junit.framework does not exist

cannot find symbol
symbol: class TestCase


Expected Results:  
bcprov to find and use junit and emerge correctly

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.01"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

emerge --info
Portage 2.1.3_rc3 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Timestamp of tree: Sat, 16 Jun 2007 17:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa arts asf avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus divx divx4linux dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac font-server fortran freetype gdbm gif gimp gimp-print glx gmedia gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog joystick jpeg kde kerberos ldap libg++ mad matroska midi mikmod mmx mmxext mp3 mpeg mudflap na_dd ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss pam pcre pdf perl png pppd print python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vorbis win32codecs wmp x86 xft xml xorg xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Seamus Riordan 2007-06-16 22:53:20 UTC
Created attachment 122283 [details]
bcprov build log

build log on bcprov-1.36-r1 emerge failure
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-06-16 22:57:38 UTC
What version is your findutils:
Removing testcases' sources:
find: invalid predicate `-delete'
>>> Source unpacked.

works fine with:
[ebuild   R   ] sys-apps/findutils-4.3.6-r1  USE="-nls (-selinux) -static" 1,711 kB
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-06-16 22:59:42 UTC
Diego: You probably know about different findutils versions and if BSD uses the same findutils package (meaning if we can do >= for it).
Comment 4 Seamus Riordan 2007-06-16 23:07:44 UTC
> What version is your findutils:
> Removing testcases' sources:
> find: invalid predicate `-delete'
> >>> Source unpacked.
> 
> works fine with:
> [ebuild   R   ] sys-apps/findutils-4.3.6-r1  USE="-nls (-selinux) -static"
> 1,711 kB
> 
I was running:
sys-apps/findutils-4.1.20-r1

After updating to findutils-4.3.7 I am able to emerge.  :)

>>> dev-java/bcprov-1.36-r1 merged

Thanks!


Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-16 23:21:00 UTC
Oh the joy of searching and adding this dep everywhere it's used.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-16 23:30:06 UTC
(In reply to comment #3)
> Diego: You probably know about different findutils versions and if BSD uses the
> same findutils package (meaning if we can do >= for it).

Got mail:
No we don't absolutely use findutils so if you add an unconditional
dep it will break the hell loose on us.

Good news is: -delete works fine on FBSD. So you just need to use the
conditional on userland_GNU ( findutils ) . Pleeeease don't commit it
unconditional.

thanks,
Diego from the smartphone. 
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-06-17 08:41:52 UTC
(In reply to comment #5)
> Oh the joy of searching and adding this dep everywhere it's used.
> 

betelgeuse@pena ~ $ qgrep -He "find.*print.*delete"
dev-java/bcprov/bcprov-1.36-r1.ebuild:  find . -path '*test/*.java' -print -delete \

might of course be multilined somewhere
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-06-17 08:46:46 UTC
--- bcprov-1.36-r1.ebuild       16 Jun 2007 23:04:06 -0000      1.7
+++ bcprov-1.36-r1.ebuild       17 Jun 2007 08:44:11 -0000
@@ -15,10 +15,15 @@
 SLOT="0"
 KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd"

+# The src_unpack find needs a new find
+# https://bugs.gentoo.org/show_bug.cgi?id=182276
 DEPEND=">=virtual/jdk-1.4
+       userland_GNU? ( >=sys-apps/findutils-4.3 )
        app-arch/unzip"
 RDEPEND=">=virtual/jre-1.4"

+IUSE="userland_GNU"
+
 S="${WORKDIR}/${MY_P}"

 src_unpack() {