First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 153717
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 89927
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul Adams <paul@thoughtcriminal.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 153717 depends on: Show dependency tree
Bug 153717 blocks:
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: 2006-11-01 10:24 0000
grep command in ebuild gives error:

>>> Emerging (1 of 473) dev-java/sun-jre-bin-1.4.2.12-r2 to /
 * j2re-1_4_2_12-linux-i586.bin MD5 ;-) ...                                    
                                                                       [ ok ]
 * j2re-1_4_2_12-linux-i586.bin RMD160 ;-) ...                                 
                                                                       [ ok ]
 * j2re-1_4_2_12-linux-i586.bin SHA1 ;-) ...                                   
                                                                       [ ok ]
 * j2re-1_4_2_12-linux-i586.bin SHA256 ;-) ...                                 
                                                                       [ ok ]
 * j2re-1_4_2_12-linux-i586.bin size ;-) ...                                   
                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                       [ ok ]
 * checking j2re-1_4_2_12-linux-i586.bin ;-) ...                               
                                                                       [ ok ]
>>> Unpacking source...
grep: Invalid back reference
tail: +: invalid number of lines
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/sun-jre-bin-1.4.2.12-r2 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-java/sun-jre-bin-1.4.2.12-r2

>>> Install sun-jre-bin-1.4.2.12-r2 into /var/tmp/portage/dev-java/sun-jre-bin-1.4.2.12-r2/image/ category dev-java
cp: cannot stat `bin': No such file or directory
cp: cannot stat `lib': No such file or directory
cp: cannot stat `man': No such file or directory
cp: cannot stat `javaws': No such file or directory
cp: cannot stat `plugin': No such file or directory
dodoc: CHANGES does not exist
dodoc: COPYRIGHT does not exist
dodoc: README does not exist
dodoc: LICENSE does not exist
dodoc: THIRDPARTYLICENSEREADME.txt does not exist

!!! ERROR: dev-java/sun-jre-bin-1.4.2.12-r2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_install
  ebuild.sh, line 1022:   Called src_install
  sun-jre-bin-1.4.2.12-r2.ebuild, line 101:   Called install_mozilla_plugin
'/opt/sun-jre-bin-1.4.2.12/plugin/i386/ns610-gcc32/libjavaplugin_oji.so'
  java-vm-2.eclass, line 200:   Called die

!!! Cannot find mozilla plugin at
/var/tmp/portage/dev-java/sun-jre-bin-1.4.2.12-r2/image///opt/sun-jre-bin-1.4.2.12/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Alex Tarkovsky 2006-11-01 19:34:34 0000 -------
This also occurs when emerging sun-jdk-1.6.0.0_beta103 from the Java
experimental migration overlay, and presumably any other jdk/jre ebuild which
uses the Bash logic:

    startAt=`grep -aonm 1 ${testExp}  ${DISTDIR}/${At} | cut -d: -f1`

or:

    startAt=$(grep -aonm 1 ${testExp}  ${DISTDIR}/${At} | cut -d: -f1)

As evidenced in bug 151120 (and tracker bug 151149) the problem is bash-3.2*.
Downgrading to bash-3.1* fixes the emerge problems.

------- Comment #2 From Jakub Moc (RETIRED) 2006-11-11 11:41:40 0000 -------

*** This bug has been marked as a duplicate of 89927 ***

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