Bug 166397 - dev-java/sun-jdk-1.5.0.11 doesn't emerge on amd64 (failed to sed .desktop file)
Bug#: 166397 Product:  Gentoo Linux Version: 2006.1 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: VValdo@gmail.com
Component: Ebuilds
URL: 
Summary: dev-java/sun-jdk-1.5.0.11 doesn't emerge on amd64 (failed to sed .desktop file)
Keywords:  
Status Whiteboard: 
Opened: 2007-02-11 19:07 0000
Description:   Opened: 2007-02-11 19:07 0000
just tried emerging, and got this:


ET_EXEC PemRxS
/var/tmp/portage/dev-java/sun-jdk-1.5.0.11/work/jdk1.5.0_11/jre/bin/unpack200 
sed: can't read
/var/tmp/portage/dev-java/sun-jdk-1.5.0.11/image//opt/sun-jdk-1.5.0.11/jre/plugin/desktop/sun_java.desktop:
No such file or directory

!!! ERROR: dev-java/sun-jdk-1.5.0.11 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 3257:   Called src_install
  sun-jdk-1.5.0.11.ebuild, line 119:   Called die

!!! Failed to sed .desktop file
!!! 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/sun-jdk-1.5.0.11/temp/build.log'.


Reproducible: Always

------- Comment #1 From Petteri Räty 2007-02-11 19:14:50 0000 -------
Next time please include emerge --info but I am making an educated guess that
you are on amd64.

------- Comment #2 From Waldo 2007-02-11 19:17:16 0000 -------
Yeah, I indicated that in the Hardware section of the bug report.  But here's
emerge --info anyway:

# emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 11 Feb 2007 18:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.20
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -frerun-loop-opt -ftracer
-fprefetch-loop-arrays -fforce-addr -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -frerun-loop-opt -ftracer
-fprefetch-loop-arrays -fforce-addr -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://mirror.espri.arizona.edu/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa amd64 asf avahi avi berkdb bitmap-fonts
browserplugin bzip2 cairo canvas cddb cdparanoia cdr cli cracklib cups curl
daap dbus divx4linux dlloader dri dts dv dvd dvdr dvdread eds emboss encode
faad fam ffmpeg firefox flac foomatic fortran freetype gcj gdbm gif gimpprint
glib glitz glut glx gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal
howl-compat iconv imagemagick imlib ipod ipv6 isdnlog java jpeg lame lcms ldap
libg++ libgda libsndfile libwww live mad matroska mdnsresponder-compat midi
mikmod mjpeg mng mono mozilla mozsvg mp3 mpeg ncurses nls nptl nptlonly
nsplugin nvidia offensive ofx ogg oggvorbis openal opengl oscar oss pam pch
pcre pdf perl png ppds pppd python qt3 qt4 quicktime quotes readline reflection
rtc rtsp scanner sdl session spell spl ssl svg tagwriting tcpd theora tiff
tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis
wxwindows xcomposite xine xinerama xml xml2 xorg xprint xv xvid yahoo zlib"
ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Josh Nichols (RETIRED) 2007-02-11 20:02:31 0000 -------
Fixed in CVS. Thanks for reporting. Changelog as follows.

  11 Feb 2007; Joshua Nichols <nichoj@gentoo.org> sun-jdk-1.5.0.11.ebuild:
  Addressed bug #166397. Only will sed .desktop file and install it if the
  .desktop file exists.

------- Comment #4 From Josh Nichols (RETIRED) 2007-02-11 20:02:44 0000 -------
Actually resolving...

------- Comment #5 From Jakub Moc (RETIRED) 2007-02-11 20:22:28 0000 -------
*** Bug 166404 has been marked as a duplicate of this bug. ***