Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161582 - dev-java/hibernate-3.1.3 missing jdbc2-stdext dependency?
Summary: dev-java/hibernate-3.1.3 missing jdbc2-stdext dependency?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 17:59 UTC by Arttu Valo
Modified: 2007-01-11 19:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arttu Valo 2007-01-11 17:59:53 UTC
Emerging hibernate on amd64 when enabling keyword ~amd64 for hibernate I get:

>>> Unpacking hibernate-3.1.3.tar.gz to /var/tmp/portage/hibernate-3.1.3/work
!!! ERROR: Package jdbc2-stdext was not found!

!!! ERROR: dev-java/hibernate-3.1.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  hibernate-3.1.3.ebuild, line 63:   Called java-pkg_jar-from 'jdbc2-stdext'
  java-utils-2.eclass, line 739:   Called die

!!! There was a problem getting the classpath for jdbc2-stdext.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! 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.10"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""


Explicitly emerging jdbc2-stdext (manually downloading the required jar from Sun and then doing "emerge --oneshot jdbc2-stdext") before hibernate allows emerge hibernate to pass too. Should jdbc2-stdext be noted as a dependency for hibernate in its ebuild since it seems to be required?


Reproducible: Didn't try




emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.6
Last Sync: Thu, 11 Jan 2007 15:00:03 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
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="-O2 -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.aiya.ru/pub/gentoo/"
LINGUAS="en fi"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader dri dvd dvdr dvdread dvi elibc_glibc fortran gdbm gif gnome gpm gtk gtk2 hal i8x0 iconv input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog joystick kde kernel_linux libg++ linguas_en linguas_fi lirc_devices_all motif mysql ncurses nfs nls nptl nptlonly nvidia odbc ogg openal opengl pam pcre perl pic png postgres ppds pppd python qt readline reflection samba scanner session snmp socks5 spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_dummy video_cards_fglrx video_cards_nvidia video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga wxwindows xinerama xml xml2 xorg xsl zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-01-11 19:13:04 UTC
jdbc2-stdext does not seem to be needed to compile hibernate so I just removed the java-pkg_jar-from call for it.
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2007-01-11 19:22:19 UTC
(In reply to comment #1)
> jdbc2-stdext does not seem to be needed to compile hibernate so I just removed
> the java-pkg_jar-from call for it.
> 

If I recall correctly, jdbc2-stdext is included with 1.4+ for sun at least. May need to verify with ibm/jrockit to see if they include it.