FULL PRODUCT VERSION :
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Gentoo LInux 2.6.8-gentoo-r3 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
Using the following version of 'tail':
tail (coreutils) 5.2.1
A DESCRIPTION OF THE PROBLEM :
I encountered this problem previously but had an older gentoo system handy. On the newly installed system (2004.2 / net install) the bin would refuse to extract, spitting out 2 'tail' errors and claiming the checksum was incorrect. After several failed attempts of downloading and trying to extract I copied it to the older system (exact same file) and it worked perfectly. Since I no longer have that machine I was forced to sit here and find a solution this time around.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Gentoo 2004.2 with tail (coreutils) 5.2.1
------------------------------------
chmod +x j2sdk*.bin
./*.bin
LICENSE
yes
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
extraction
ACTUAL -
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the futu
re
Unpacking...
tail: cannot open `+486' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the futu
re
Unpacking...
tail: cannot open `+486' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Edit the following in the bin file:
(note: I will use the phrase "about line" because of echo statements I had to enter in order to see if it was doing what it was supposed to be and may have changed the line numbers plus or minus 1 or 2)
about line 333:
change-> tail 1 to -> tail -n 1
about line 341:
change-> tail +486 to -> tail -n +486
about line 358:
sum1 is incorrect
change so that it read the following:
$sum1 != 13775 || expr $sum2 != 35512
save corrections
./*.bin
extracts
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Gentoo LInux 2.6.8-gentoo-r3 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
Using the following version of 'tail':
tail (coreutils) 5.2.1
A DESCRIPTION OF THE PROBLEM :
I encountered this problem previously but had an older gentoo system handy. On the newly installed system (2004.2 / net install) the bin would refuse to extract, spitting out 2 'tail' errors and claiming the checksum was incorrect. After several failed attempts of downloading and trying to extract I copied it to the older system (exact same file) and it worked perfectly. Since I no longer have that machine I was forced to sit here and find a solution this time around.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Gentoo 2004.2 with tail (coreutils) 5.2.1
------------------------------------
chmod +x j2sdk*.bin
./*.bin
LICENSE
yes
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
extraction
ACTUAL -
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the futu
re
Unpacking...
tail: cannot open `+486' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the futu
re
Unpacking...
tail: cannot open `+486' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Edit the following in the bin file:
(note: I will use the phrase "about line" because of echo statements I had to enter in order to see if it was doing what it was supposed to be and may have changed the line numbers plus or minus 1 or 2)
about line 333:
change-> tail 1 to -> tail -n 1
about line 341:
change-> tail +486 to -> tail -n +486
about line 358:
sum1 is incorrect
change so that it read the following:
$sum1 != 13775 || expr $sum2 != 35512
save corrections
./*.bin
extracts
- duplicates
-
JDK-4980600 Syntax used when invoking coreutils does not conform to POSIX 1003.1-2001
-
- Closed
-