First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 89927
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joel Parker <jjk3@msstate.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
patch workaround patch Joel Parker 2005-04-23 09:52 0000 523 bytes Details | Diff
sun-jdk-1.4.2.12-r2.patch use $'\nnn' instead of echo -e "\nnn" patch Bo Ørsted Andresen (RETIRED) 2006-11-04 11:12 0000 435 bytes Details | Diff
sun-jdk-1.4.2.12-r2.patch use $'\nnn' instead of echo -e "\nnn" - non-reversed patch Bo Ørsted Andresen (RETIRED) 2006-11-04 15:00 0000 435 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 89927 depends on: Show dependency tree
Bug 89927 blocks: 151149
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-21 07:23 0000
I'm getting the following when I try to emerge dev-java/sun-jdk-1.4.2.08:

# emerge -v sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.4.2.08 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) sun-jdk-1.4.2.08.ebuild
>>> md5 files   ;-) sun-jdk-1.4.2.07-r1.ebuild
>>> md5 files   ;-) sun-jdk-1.3.1.13.ebuild
>>> md5 files   ;-) sun-jdk-1.5.0.02-r1.ebuild
>>> md5 files   ;-) sun-jdk-1.2.2.017.ebuild
>>> md5 files   ;-) files/digest-sun-jdk-1.4.2.08
>>> md5 files   ;-) files/sun-jdk-1.4.2.08
>>> md5 files   ;-) files/digest-sun-jdk-1.3.1.13
>>> md5 files   ;-) files/sun-jdk-1.3.1.13
>>> md5 files   ;-) files/sun-jdk-1.4.2.07
>>> md5 files   ;-) files/sun-jdk-1.5.0.02
>>> md5 files   ;-) files/digest-sun-jdk-1.4.2.07-r1
>>> md5 files   ;-) files/digest-sun-jdk-1.5.0.02-r1
>>> md5 files   ;-) files/digest-sun-jdk-1.2.2.017
>>> md5 files   ;-) files/sun-jdk-1.2.2.017
>>> md5 src_uri ;-) j2sdk-1_4_2_08-linux-i586.bin
>>> md5 src_uri ;-) jce_policy-1_4_2.zip
>>> Unpacking source...
tail: +: invalid number of lines
>>> Source unpacked.
>>> Test phase [not enabled]: dev-java/sun-jdk-1.4.2.08

>>> Install sun-jdk-1.4.2.08 into /var/tmp/portage/sun-jdk-1.4.2.08/image/ category dev-java
cp: cannot stat `bin': No such file or directory
cp: cannot stat `include': No such file or directory
cp: cannot stat `jre': No such file or directory
cp: cannot stat `lib': No such file or directory
cp: cannot stat `man': No such file or directory
/usr/lib/portage/bin/dodoc: COPYRIGHT does not exist.
/usr/lib/portage/bin/dodoc: README does not exist.
/usr/lib/portage/bin/dodoc: LICENSE does not exist.
/usr/lib/portage/bin/dodoc: THIRDPARTYLICENSEREADME.txt does not exist.
cp: cannot stat `demo': No such file or directory
cp: cannot stat `src.zip': No such file or directory
/usr/lib/portage/bin/ebuild.sh: line 108: cd: /var/tmp/portage/sun-jdk-1.4.2.08/image//opt/sun-jdk-1.4.2.08/jre/lib/security: No such file or directory
Archive:  /usr/portage/distfiles/jce_policy-1_4_2.zip
replace jce/local_policy.jar? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: jce/local_policy.jar
  inflating: jce/US_export_policy.jar
  inflating: jce/README.txt
  inflating: jce/COPYRIGHT.html
mv: cannot overwrite directory `unlimited-jce/jce'
mv: cannot stat `/var/tmp/portage/sun-jdk-1.4.2.08/image//opt/sun-jdk-1.4.2.08/jre/lib/security/US_export_policy.jar': No such file or directory
mv: cannot stat `/var/tmp/portage/sun-jdk-1.4.2.08/image//opt/sun-jdk-1.4.2.08/jre/lib/security/local_policy.jar': No such file or directory

!!! ERROR: dev-java/sun-jdk-1.4.2.08 failed.
!!! Function install_mozilla_plugin, Line 85, Exitcode 0
!!! Cannot find mozilla plugin at /var/tmp/portage/sun-jdk-1.4.2.08/image///opt/sun-jdk-1.4.2.08/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
!!! If you need support, post the topmost build error, NOT this status message.

#

I've tried downloading Sun's package again, but the same error occurred. The .bin file unpacks and installs successfully if I do it manually.

------- Comment #1 From Joel Parker 2005-04-23 09:52:18 0000 -------
Created an attachment (id=57019) [edit]
workaround

This patch works around the issue for me.

------- Comment #2 From Thomas Matthijs (RETIRED) 2005-04-23 10:00:07 0000 -------
emerge info?
version of grep?

------- Comment #3 From Joel Parker 2005-04-23 10:10:59 0000 -------
# emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHzGentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 08:00:13)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2, 2.6.8.1-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrored.ca/"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 S3TC X a52 aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bonobo bzip2 caps cdinstall cdparanoia cdr cjk crypt cscope cups curl divx4linux dts dvd dvdr ecc eds emboss encode esd evo extras f77 faad fam fame ffmpeg fftw flac foomaticdb fortran freetype gcj gdbm geoip gif gimpprint glut gnome gnutls gphoto2 gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 ithreads java jce jikes jpeg junit lcms ldap libg++ libwww live lzo mad mailwrapper matroska mikmod mjpeg mmx mmx2 mng motif mozdevelop mozilla moznomail mozsvg mp3 mpeg mysql ncurses netcdf network nls nntp noplugin nptl nvidia oav objc offensive ogg oggvorbis opengl pam pcmcia pda pdflib perl png pnp ppds python quicktime quotes readline real rogue rtc ruby samba sandbox sdl slang sndfile softmmu speex spell sse sse2 ssl svg symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts trusted type1-fonts unicode userlocales utf8 videos vim-with-x vorbis wmf wxwindows xanim xml xml2 xmms xprint xscreensaver xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS

# grep --version
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# emerge -pv grep

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

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/grep-2.5.1-r6  -build -debug +nls -pcre -static (-uclibc) 667 kB

Total size of downloads: 667 kB
#

------- Comment #4 From Jan Brinkmann (RETIRED) 2005-05-13 05:53:44 0000 -------
tail: +: invalid number of lines

seems to me that your distfile isn't the one you need. you've maybe regenerated the digest using the broken distfile. (just a wild guess). it's not a problem with the ebuild , i've tested this one 4 different independent x86 system (not chroots) , also on hardened x86 and had no problems with it. 

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-04 00:11:29 0000 -------
*** Bug 153990 has been marked as a duplicate of this bug. ***

------- Comment #6 From Bo Ørsted Andresen (RETIRED) 2006-11-04 11:12:17 0000 -------
Created an attachment (id=101235) [edit]
use $'\nnn' instead of echo -e "\nnn"

The patch from comment #1 didn't work for me. This one does.

------- Comment #7 From Jakub Moc (RETIRED) 2006-11-04 14:55:49 0000 -------
*** Bug 154073 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2006-11-04 14:56:11 0000 -------
Someone might want to revisit this....

------- Comment #9 From Bo Ørsted Andresen (RETIRED) 2006-11-04 15:00:13 0000 -------
Created an attachment (id=101247) [edit]
use $'\nnn' instead of echo -e "\nnn" - non-reversed

Shit! My previous patch was reversed. This one isn't..

------- Comment #10 From VinnieNZ 2006-11-04 18:17:10 0000 -------
Can confirm that the patch in Comment #9 fixed the issue for me.

------- Comment #11 From Markus Lohse 2006-11-08 06:00:57 0000 -------
patch #9 works for me, too.
note: if you have "-nsplugin" in your useflags you can see some "file not
found"-errors flashing over the screen but portage thinks everything went fine.
The previous version gets deleted and you end up with an unusable
generation-1-vm.

------- Comment #12 From Kim Nilsson 2006-11-11 11:35:56 0000 -------
patch #9 works for 1.4.2.12-r2 too

------- Comment #13 From Jakub Moc (RETIRED) 2006-11-11 11:41:40 0000 -------
*** Bug 153717 has been marked as a duplicate of this bug. ***

------- Comment #14 From Wolfram Schlich 2006-11-21 12:22:05 0000 -------
can someone please fix =sun-jdk-1.4.2.12-r2?

------- Comment #15 From Josh Nichols (RETIRED) 2006-11-21 13:53:49 0000 -------
I've applied the patch suggested, although, I was never able to reproduce the
problem myself.

Does anyone know what the difference between the expressions is, and why this
might effect only some people?

------- Comment #16 From Bo Ørsted Andresen (RETIRED) 2006-11-21 14:40:02 0000 -------
(In reply to comment #15)
> Does anyone know what the difference between the expressions is, and why this
> might effect only some people?

# bash --version
GNU bash, version 3.1.17(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
# man echo | grep octal
       \0NNN  the character whose ASCII code is NNN (octal)
# echo -e '\177\105\114\106\001\001\001'
ELF
# echo -e '\0177\0105\0114\0106\0001\0001\0001'
ELF

# bash --version
GNU bash, version 3.2.5(1)-release (i686-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
# man echo | grep octal
       \0NNN  the character whose ASCII code is NNN (octal)
# echo -e '\177\105\114\106\001\001\001'
\177\105\114\106
# echo -e '\0177\0105\0114\0106\0001\0001\0001'
ELF

First Last Prev Next    No search results available      Search page      Enter new bug