Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107451 - can't emerge (build) hibernate-3.0-rc1
Summary: can't emerge (build) hibernate-3.0-rc1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 91986 102001 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-27 14:29 UTC by Jorge Herrera
Modified: 2007-01-25 16:52 UTC (History)
8 users (show)

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


Attachments
hibernate-3.0.5.ebuild (hibernate-3.0.5.ebuild,3.99 KB, text/plain)
2005-11-18 15:22 UTC, nebojsa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Herrera 2005-09-27 14:29:37 UTC
when I emerge hibernate-3.0-rc1, I get the following error:
BUILD FAILED
/var/tmp/portage/hibernate-3.0_rc1/work/hibernate-3.0/build.xml:671: taskdef A
class needed by class org.hibernate.tool.instrument.InstrumentTask cannot be
found: net/sf/cglib/transform/AbstractTransformTask

Total time: 26 seconds

!!! ERROR: dev-java/hibernate-3.0_rc1 failed.
!!! Function src_compile, Line 158, Exitcode 1
!!! Build failed.
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. I tried to emerge it 3 times and always got the same output
2.
3.
Comment 1 Lim Swee Tat (RETIRED) gentoo-dev 2005-09-28 05:03:53 UTC
??  There's only hibernate-3.0.5 in the portage tree at the moment.

Ciao
ST Lim
Comment 2 Jorge Herrera 2005-09-28 06:19:34 UTC
(In reply to comment #1)
> ??  There's only hibernate-3.0.5 in the portage tree at the moment.
> 
> Ciao
> ST Lim

What do you mean? I've just sync (emerge --sync) and I can only see
hibernate-2.1.8 and hibernate-3.0_rc1

If I try to emerge, =dev-java/hibernate-3.0.5 I get the following:
Calculating dependencies   
emerge: there are no ebuilds to satisfy "=dev-java/hibernate-3.0.5"
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-09-29 11:59:18 UTC
betelgeuse@pena /usr/portage/dev-java/hibernate $ cvs up
betelgeuse@pena /usr/portage/dev-java/hibernate $ pwd
/usr/portage/dev-java/hibernate
betelgeuse@pena /usr/portage/dev-java/hibernate $ ls
ChangeLog  CVS/  files/  hibernate-2.1.8.ebuild  hibernate-3.0_rc1.ebuild 
Manifest  metadata.xml
betelgeuse@pena /usr/portage/dev-java/hibernate $

I can confirm that there is 3.0-rc1 in the tree as the reporter says.
Comment 4 Raúl Casado 2005-10-21 00:17:20 UTC
Same here. I can not merge the hibernate package!

--------------------------------------------------
emerge error
--------------------------------------------------
churro ~ # emerge -Dva hibernate

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/hibernate-3.0_rc1  +c3p0 -dbcp +doc -jboss -jcs -jikes 
+junit -oscache -swarmcache 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) dev-java/hibernate-3.0_rc1 to /
>>> md5 files   ;-) hibernate-3.0_rc1.ebuild
>>> md5 files   ;-) hibernate-2.1.8.ebuild
>>> md5 files   ;-) files/digest-hibernate-2.1.8
>>> md5 files   ;-) files/digest-hibernate-3.0_rc1
>>> md5 src_uri ;-) hibernate-3.0rc1.tar.gz
>>> Unpacking source...
>>> Unpacking hibernate-3.0rc1.tar.gz to /var/tmp/portage/hibernate-3.0_rc1/work
tar: A lone zero block at 120580
sed: no se puede leer test/org/hibernate/test/CacheTest.java: No existe el 
fichero o el directorio
>>> Source unpacked.
  [taskdef] Could not load definitions from resource checkstyletask.properties. 
It could not be found.
  [taskdef] Could not load definitions from resource clovertasks. It could not 
be found.
     [echo] Build Hibernate-3.0 (2005-10-21 09:06:31)
     [echo] JDK version: 1.4
[antlrtask] ANTLR Parser Generator   Version 2.7.4   1989-2004 jGuru.com
[antlrtask] ANTLR Parser Generator   Version 2.7.4   1989-2004 jGuru.com
[antlrtask] ANTLR Parser Generator   Version 2.7.4   1989-2004 jGuru.com
     [echo] Build Hibernate-3.0 (2005-10-21 09:06:31)
     [echo] JDK version: 1.4
    [javac] /var/tmp/portage/hibernate-3.0_rc1/work/hibernate-3.0/test/org/
hibernate/test/cache/SecondLevelCacheTest.java:11: cannot resolve symbol
    [javac] symbol  : class TreeCacheProvider
    [javac] location: package cache
    [javac] import org.hibernate.cache.TreeCacheProvider;
    [javac]                            ^
    [javac] /var/tmp/portage/hibernate-3.0_rc1/work/hibernate-3.0/test/org/
hibernate/test/cache/SecondLevelCacheTest.java:79: cannot resolve symbol
    [javac] symbol  : class TreeCacheProvider
    [javac] location: class org.hibernate.test.cache.SecondLevelCacheTest
    [javac]             cfg.setProperty( Environment.CACHE_PROVIDER, 
TreeCacheProvider.class.getName() );
    [javac]                                                              ^
    [javac] 2 errors

BUILD FAILED
/var/tmp/portage/hibernate-3.0_rc1/work/hibernate-3.0/build.xml:262: Compile 
failed; see the compiler error output for details.

Total time: 44 seconds

!!! ERROR: dev-java/hibernate-3.0_rc1 failed.
!!! Function src_compile, Line 155, Exitcode 1
!!! Build failed.
!!! If you need support, post the topmost build error, NOT this status message.

---------------------------------------------
Machine info
---------------------------------------------
churro ~ # emerge --info
Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-
gentoo-r4 i686)
=================================================================
System uname: 2.6.13-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://
gentoo.chem.wisc.edu/gentoo/ http://linuv.uv.es/mirror/gentoo/ ftp://ftp.
mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.caliu.info/pub/gentoo/
"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="es"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts browserplugin c3p0 
ccache cdparanoia cdr cpudetection crypt css cups curl doc dri dvd dvdr dvdread 
eds emboss encode examples foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 
imagemagick innodb ipv6 j2ee java jce jfs jpeg jpg junit kde libg++ libwww log4j 
mad mikmod mime mimencode mmx mmxext motif mozcalendar mozdevelop mozsha1 mozsvg 
mp3 mpeg mpeg2 mpeg4 mplayer msn mysql ncurses nls odbc ogg oggvorbis opengl oss 
pam pdf pdflib perl php png python qt quicktime readline samba sdl server spell 
sse sse-filters sse2 ssl subversion svg svga svgz tcltk tcpd tiff truetype 
truetype-fonts type1-fonts vnc vorbis webdav wifi win32codecs wxgtk1 x11vnc xine 
xml xml2 xmms xv zlib linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS

Comment 5 Lim Swee Tat (RETIRED) gentoo-dev 2005-11-05 07:05:18 UTC
Adding java@gentoo so that the tree in the experimental tree with the fixed
hibernate can go to cvs.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2005-11-05 07:10:49 UTC
(In reply to comment #5)
> Adding java@gentoo so that the tree in the experimental tree with the fixed
> hibernate can go to cvs.

What would you like us to do to the experimental tree? You can contact axxo or
karltk for commit rights.
Comment 7 Lim Swee Tat (RETIRED) gentoo-dev 2005-11-05 20:34:31 UTC
Hi,
  not sure what to do.  The current hibernate in the experimental tree has
dependencies on jboss-modules which are not available in the cvs tree yet. 
Who's running the hibernate code in the experimental tree now?
Comment 8 Lim Swee Tat (RETIRED) gentoo-dev 2005-11-05 21:15:00 UTC
*** Bug 91986 has been marked as a duplicate of this bug. ***
Comment 9 Lim Swee Tat (RETIRED) gentoo-dev 2005-11-05 21:18:47 UTC
*** Bug 102001 has been marked as a duplicate of this bug. ***
Comment 10 nebojsa 2005-11-18 15:22:39 UTC
Created attachment 73149 [details]
hibernate-3.0.5.ebuild
Comment 11 nebojsa 2005-11-18 15:24:18 UTC
Comment on attachment 73149 [details]
hibernate-3.0.5.ebuild

attached ebuild works with jboss installed. It uses jboss-cache from hibernate
distribution instead of installed one
Comment 12 David Owen 2006-01-24 09:32:41 UTC
The following allows the build to proceed:

java-config -B cglib-2
env-update && source /etc/profile
emerge -av hibernate
Comment 13 Josh Nichols (RETIRED) gentoo-dev 2006-01-24 09:40:30 UTC
(In reply to comment #7)
> Hi,
>   not sure what to do.  The current hibernate in the experimental tree has
> dependencies on jboss-modules which are not available in the cvs tree yet. 
> Who's running the hibernate code in the experimental tree now?

The only changes in the experimental should be to depend on the individual modules from jboss, instead of the whole thing. I can take care of porting whatever change is necessary back to experimental.
Comment 14 Patrizio Bassi 2007-01-02 03:22:20 UTC
after 1 year this bug is still open with no fix, can you update this ebuild?
Comment 15 Miroslav Šulc gentoo-dev 2007-01-02 04:12:03 UTC
You can find latest hibernate in overlay:
http://overlays.gentoo.org/proj/java/browser/migrated-java-experimental-overlay/dev-java/hibernate

I'll try to find out whether it is ready for moving to portage tree.
Comment 16 Patrizio Bassi 2007-01-02 04:44:09 UTC
seems compiling. 3.2.1 out however.

i don't know if it's stable enough to hit the portage, but at the moment the portage's version is completly broken, so worth a try.

thanks
Comment 17 Josh Nichols (RETIRED) gentoo-dev 2007-01-11 04:49:34 UTC
I just added hibernate-3.0.5-r2. emerge --sync in a few hours, and give that a try.
Comment 18 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-25 16:52:31 UTC
Assuming 3.0.5 fixed it