Summary: | sun-jdk installation breaks on grep/tail voodoo in ebuid | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Artem Baguinski <artm> |
Component: | New packages | Assignee: | Adrian Almenar <aalmenar> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | grep now searches for the right thing. |
Description
Artem Baguinski
2003-10-16 09:42:33 UTC
Similar issues with blackdown-jdk. What actually breaks the emege is that "tail +X" statements if using "tail (coreutils) 5.0.91" - the syntax should be "tail -n +X". in sun-jdk ebuild the line is: tail -n +${startAt} ${DISTDIR}/${At} > install.sfx so it is different bug. the first problem occurs one line earlier: startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1` which reports grep: 6111: No such file or directory and leaves startAt unset or empty. can you post a the output of 'env' as user root ? Created attachment 21325 [details, diff]
grep now searches for the right thing.
This fixed the problem on my system.
This fixed it for me, too.
From "man echo":
>> \NNN the character whose ASCII code is NNN (octal) <<
The code has to be three digits long, not four, as in the ebuild.
BTW: A small comment like "grep for ELF header" would have been helpful. :)
Fixed. Soon will be commited to portage tree. |