The eclipse ebuild (ant script) uses the zip command line executable to perform some steps during the compilation of the package. In a fresh system this utility is not installed by default, so the ebuild fails when reaching those steps. The ebuild should contain a dependency on the zip ebuild. The obvious workaround is to emerge zip before emerging eclipse-sdk. Reproducible: Always Steps to Reproduce: 1. unmask eclipse-3.0.0 (editing /etc/portage/package.unmask and /etc/portage/package.keywords) 2. emerge eclipse-sdk Actual Results: The ebuild failed with the following message: BUILD FAILED /var/tmp/portage/eclipse-sdk-3.0.0/work/eclipse-sdk-3.0.0/build.xml:56: Following error occured while executing this line /var/tmp/portage/eclipse-sdk-3.0.0/work/eclipse-sdk-3.0.0/assemble.org.eclipse.sdk.linux.gtk.x86.xml:320: Execute failed: java.io.IOException: java.io.IOException: zip: not found Total time: 8 minutes 45 seconds !!! ERROR: dev-util/eclipse-sdk-3.0.0 failed. !!! Function src_compile, Line 246, Exitcode 1 !!! Failed to compile java code (gtk+) Expected Results: The ebuild should have emerged eclipse-sdk Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Mobile AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.21.1/gentoo-portage" USE="X alsa apm arts avi berkdb cjk crypt cups doc encode esd foomaticdb gdbm gif gpm imlib java jikes jpeg junit kde ldap libg++ libwww linguas_ca linguas_es mad mikmod mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 37331 [details, diff] Patch for the eclipse-sdk-3.0.0.ebuild Just adds zip to the dependencies
Fixed in -r3. Didn't bump revision, as existing installations shouldn't be upgraded.