When trying to emerge jmock-1.0.1, the emerge fails with missing classpath elements. In more detail the whole package org.objectweb.asm and cglib-2 is not found. As far as I can see, these packages are builded later. Thus maybe this is just a missing dependency. I will try to emerge cglib and asm first and come back to jmock later. Regards -- erol Reproducible: Always Steps to Reproduce: I simply emerge --update world running ~arch (~x86). Actual Results: The world update failed. Expected Results: Compile Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-rc3 i686) ================================================================= System uname: 2.6.10-rc3 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 09:27:06)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mtune=athlon-xp -O4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3 de/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/x faults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /us ric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=athlon-xp -O4 -pipe" DISTDIR="/mnt/usb/b/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pu sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/mnt/usb/b/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage" USE="x86 3dnow X Xaw3d a52 aac aalib aim alsa apache2 apm arts athena avi berkdb bitmap-fonts bon cscope cups curl divx4linux doc dv dvb dvd dvdr dvdread emacs emboss encode esd faad fam fdftk f foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile icu imagemagick kde ldap libg++ libwww lucid lzo mad mikmod mono mozcalendar mozilla moznoirc mp3 mpeg mpeg4 mpla ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba sdl svga tcltk tcpd tetex tiff transcode truetype truetype-fonts type1-fonts wxwindows xine xinerama xv xvid yahoo zlib linguas_en linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
please provide the emerge log and the output of 'emerge -p jmock'
I've also seen this problem. It seems to be due to a nice 4-way circular dependency, between jmock, qdox, aspectwerkz and cglib. rendezvous ~ # emerge -pv jmock These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/qdox-20050104 +doc -jikes 0 kB [ebuild N ] dev-java/aspectwerkz-2.0_rc2 -jikes 0 kB [ebuild N ] dev-java/cglib-2.0.2-r1 +doc -jikes 0 kB [ebuild N ] dev-java/jmock-1.0.1 +doc -examples -jikes 0 kB Total size of downloads: 0 kB rendezvous ~ # emerge -pv qdox These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/aspectwerkz-2.0_rc2 -jikes 0 kB [ebuild N ] dev-java/cglib-2.0.2-r1 +doc -jikes 0 kB [ebuild N ] dev-java/jmock-1.0.1 +doc -examples -jikes 0 kB [ebuild N ] dev-java/qdox-20050104 +doc -jikes 0 kB Total size of downloads: 0 kB rendezvous ~ # emerge -pv aspectwerkz These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/cglib-2.0.2-r1 +doc -jikes 0 kB [ebuild N ] dev-java/jmock-1.0.1 +doc -examples -jikes 0 kB [ebuild N ] dev-java/qdox-20050104 +doc -jikes 0 kB [ebuild N ] dev-java/aspectwerkz-2.0_rc2 -jikes 0 kB Total size of downloads: 0 kB rendezvous ~ # emerge -pv cglib These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/jmock-1.0.1 +doc -examples -jikes 0 kB [ebuild N ] dev-java/qdox-20050104 +doc -jikes 0 kB [ebuild N ] dev-java/aspectwerkz-2.0_rc2 -jikes 0 kB [ebuild N ] dev-java/cglib-2.0.2-r1 +doc -jikes 0 kB Total size of downloads: 0 kB
After looking at the list for a bit I decided to try each one in turn emerge jmock: qdox -> aspectwerks -> cglib -> jmock compiled OK. So it is possible to compile, but `emerge world` looks at the the dependencies the wrong way.
I can imagine that this could help, but in my case qdox seems to have a dependency on aspectwerkz too, so emerge tries to compile aspectwerkz first and faile again with missing classfiles and a bark about missing qdox-1.6 (see below). mutlu:~ > sudo emerge --verbose --pretend --tree qdox These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild N ] dev-java/qdox-20050104 +doc -jikes 0 kB [ebuild N ] dev-java/jmock-1.0.1 +doc -examples -jikes 0 kB [ebuild N ] dev-java/cglib-2.0.2-r1 +doc -jikes 0 kB [ebuild NS ] dev-java/asm-1.4.3-r1 +doc 0 kB [ebuild N ] dev-java/aspectwerkz-2.0_rc2 -jikes 0 kB Total size of downloads: 0 kB mutlu:~ > sudo emerge -v qdox Calculating dependencies ...done! >>> emerge (1 of 5) dev-java/aspectwerkz-2.0_rc2 to / >>> md5 src_uri ;-) aspectwerkz-2.0.RC2.zip >>> Unpacking source... >>> Unpacking aspectwerkz-2.0.RC2.zip to /var/tmp/portage/aspectwerkz-2.0_rc2/work * Applying aspectwerkz-2.0_rc2-gentoo.patch ... [ ok ] Could not find package qdox-1.6 .... I unmerged hibernate to remove the dependency from my world, what works for the time being.
fixed in cvs, thanks