First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 176638
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Brigada <brigad@rpi.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 176638 depends on: Show dependency tree
Bug 176638 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-05-01 00:43 0000
When I try to emerge dev-java/jdbc-postgresql, it fails, telling me that it
can't find junit.  If I emerge dev-java/junit first, it works.  The
dev-java/jdbc-postgresql ebuild probably just needs to add a dependency on
dev-java/junit.

Here's the failing output:

eta ~ # emerge jdbc-postgresql
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-java/jdbc-postgresql-8.2_p505 to /
 * postgresql-jdbc-8.2-505.src.tar.gz RMD160 ;-) ...                           
                                                                               
        [ ok ]
 * postgresql-jdbc-8.2-505.src.tar.gz SHA1 ;-) ...                             
                                                                               
        [ ok ]
 * postgresql-jdbc-8.2-505.src.tar.gz SHA256 ;-) ...                           
                                                                               
        [ ok ]
 * postgresql-jdbc-8.2-505.src.tar.gz size ;-) ...                             
                                                                               
        [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                               
        [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                               
        [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                               
        [ ok ]
 * checking postgresql-jdbc-8.2-505.src.tar.gz ;-) ...                         
                                                                               
        [ ok ]
 * Using: sun-jdk-1.5
>>> Unpacking source...
>>> Unpacking postgresql-jdbc-8.2-505.src.tar.gz to /var/tmp/portage/dev-java/jdbc-postgresql-8.2_p505/work
 * Applying jdbc-postgresql-8.2_p505-build.xml.patch ...                       
                                                                               
        [ ok ]
!!! ERROR: Package junit was not found!

!!! ERROR: dev-java/jdbc-postgresql-8.2_p505 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  jdbc-postgresql-8.2_p505.ebuild, line 59:   Called java-pkg_jar-from
'--build-only' 'junit'
  java-utils-2.eclass, line 877:   Called die

!!! There was a problem getting the classpath for junit.
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/dev-java/jdbc-postgresql-8.2_p505/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

Here is my emerge --info:
eta ~ # emerge --info
Portage 2.1.2.5 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1,
2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 30 Apr 2007 23:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
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.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -fomit-frame-pointer -O3 -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -fomit-frame-pointer -O3 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac aiglx alsa apache2 bash-completion berkdb bitmap-fonts bzip2 cairo
cli cracklib crypt cups dbus dga doc dri dvi fontconfig gdbm glitz gtk iconv
isdnlog ithreads java5 jpeg libg++ madwifi midi mmx mmxext ncurses no-old-linux
nptl nptlonly openal opengl pam pcre pdf perl png ppds pppd readline reflection
samba sdl session spell spl sse sse2 ssl svg tcpd tetex threads tiff timidity
truetype truetype-fonts type1-fonts vim-syntax vorbis win32codecs 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 mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

My PORTDIR_OVERLAY only contains packages related to X11.

------- Comment #1 From Miroslav Ć ulc 2007-05-01 08:26:25 0000 -------
Fixed in CVS. The solution was little bit different. Ebuild wanted to symlink
junit.jar also in case when 'test' USE flag was disabled (which didn't pull in
junit dependency and ended up in this bug). Now junit.jar is symlinked only
when 'test' USE flag is enabled.

Thank you for reporting.

First Last Prev Next    No search results available      Search page      Enter new bug