Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243426 - dev-java/junit-4.5 emerge failed because of missing files?
Summary: dev-java/junit-4.5 emerge failed because of missing files?
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-23 16:27 UTC by Andreas Lehmkühler
Modified: 2008-10-25 06:02 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 Andreas Lehmkühler 2008-10-23 16:27:29 UTC
I try to emerge dev-java/junit-4.5 and it fails. It seems that some files are missing.

Here ist the build log:

 * Using: sun-jdk-1.6
 * Disabling all optional ANT_TASKS
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

BUILD SUCCESSFUL
Total time: 2 seconds

zip error: Nothing to do! (/var/tmp/portage/dev-java/junit-4.5/temp/junit-src.zip)

zip error: Nothing to do! (/var/tmp/portage/dev-java/junit-4.5/temp/junit-src.zip)
install: cannot stat `/var/tmp/portage/dev-java/junit-4.5/temp/junit-src.zip': No such file or directory
 * 
 * ERROR: dev-java/junit-4.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3983:  Called java-pkg_dosrc 'src_install' 'src_install'
 *             environment, line 2489:  Called die
 * The specific snippet of code:
 *       INSDESTTREE=${JAVA_PKG_SOURCESPATH} doins ${zip_path} || die "Failed to install source";
 *  The die message:
 *   Failed to install source
 * 
 * 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/junit-4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/junit-4.5/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.10"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info



Reproducible: Always
Comment 1 Andreas Lehmkühler 2008-10-23 17:28:32 UTC
Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: 2.6.25-gentoo-r8 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Timestamp of tree: Thu, 23 Oct 2008 15:05:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de "
LANG="C"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox fortran fuse gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde kerberos lame ldap libnotify mad midi mikmod mmx mono mozdevelop mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl pic plotutils png postscript ppds pppd python qt3 qt3support qt4 quicktime readline real reflection samba sdl session source spell spl sqlite sse sse2 ssl startup-notification suhosin svg symlink sysfs tcpd theora threads tiff tk truetype unicode usb userlocales vorbis win32codecs wxwindows x86 xanim xml xorg xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter filter headers ident imagemap include info log_config logio mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jan Vansteenkiste 2008-10-24 06:17:48 UTC
The problem lies within the packaging of the source.

If you need to get junit merged, do it with the source useflag disabled. This merges fine.
Comment 3 Miroslav Šulc gentoo-dev 2008-10-24 15:12:25 UTC
Fixed in CVS. Thanks for reporting.

I did not came across the problem as my java-utils-2.eclass is overriden by the one in java-experimental overlay, which silently creates empty src zip.
Comment 4 Andreas Lehmkühler 2008-10-25 06:02:43 UTC
Works fine. Thanks