Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 182276
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Seamus Riordan <sriordan@andrew.cmu.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bcprov-build.log bcprov build log text/plain Seamus Riordan 2007-06-16 22:53 0000 10.70 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182276 depends on: Show dependency tree
Bug 182276 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-16 22:52 0000
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 From Seamus Riordan 2007-06-16 22:53:20 0000 -------
Created an attachment (id=122283) [details]
bcprov build log

build log on bcprov-1.36-r1 emerge failure

------- Comment #2 From Petteri Räty 2007-06-16 22:57:38 0000 -------
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 From Petteri Räty 2007-06-16 22:59:42 0000 -------
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 From Seamus Riordan 2007-06-16 23:07:44 0000 -------
> 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 From Vlastimil Babka (Caster) 2007-06-16 23:21:00 0000 -------
Oh the joy of searching and adding this dep everywhere it's used.

------- Comment #6 From Vlastimil Babka (Caster) 2007-06-16 23:30:06 0000 -------
(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 From Petteri Räty 2007-06-17 08:41:52 0000 -------
(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 From Petteri Räty 2007-06-17 08:46:46 0000 -------
--- 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() {

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug