Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
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.
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.
*** This bug has been marked as a duplicate of 89927 ***