The error I get is the following.
Code: Select all
pdl distfiles # emerge sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.01 to /
>>> Unpacking source...
tail: +: invalid number of lines
Code: Select all
pdl distfiles # emerge sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.01 to /
>>> Unpacking source...
tail: +: invalid number of lines
Code: Select all
pdl opt # emerge -v sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.01 to /
>>> Unpacking source...
tail: +: invalid number of lines
!!! ERROR: dev-java/sun-jdk-1.5.0.01 failed.
!!! Function src_unpack, Line 101, Exitcode 1
!!! unpack not found
!!! If you need support, post the topmost build error, NOT this status message.
pdl opt #
The only problem is that ebuilds don't set the -source flag. So if you use "enum" as a name for let's say a java.util.Enumeration variable, it breaks.kmare wrote:r there any plans on putting java 1.5 out of ~M? r there still problems holding it in there?
If it breaks anything, it breaks the compile process. For these situations, have a 1.4 JDK handy.kmare wrote: how safe is it installing it without breaking things like eg openoffice, mozilla/firefox, etc?
That is not true, there is also a big problem of downgradingkustos wrote:The only problem is that ebuilds don't set the -source flag. So if you use "enum" as a name for let's say a java.util.Enumeration variable, it breaks.kmare wrote:r there any plans on putting java 1.5 out of ~M? r there still problems holding it in there?
Code: Select all
root@robusta etc # emerge sun-jdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-jdk-1.5.0.03 to /
>>> md5 files ;-) ChangeLog
>>> md5 files ;-) metadata.xml
>>> md5 files ;-) sun-jdk-1.4.2.07-r1.ebuild
>>> md5 files ;-) sun-jdk-1.2.2.017.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.4.2.08.ebuild
>>> md5 files ;-) sun-jdk-1.5.0.03.ebuild
>>> md5 files ;-) files/digest-sun-jdk-1.4.2.07-r1
>>> md5 files ;-) files/digest-sun-jdk-1.2.2.017
>>> md5 files ;-) files/digest-sun-jdk-1.3.1.13
>>> md5 files ;-) files/digest-sun-jdk-1.5.0.02-r1
>>> md5 files ;-) files/sun-jdk-1.2.2.017
>>> 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.08
>>> md5 files ;-) files/sun-jdk-1.4.2.08
>>> md5 files ;-) files/digest-sun-jdk-1.5.0.03
>>> md5 files ;-) files/sun-jdk-1.5.0.03
>>> Unpacking source...
tail: +: invalid number of lines
!!! ERROR: dev-java/sun-jdk-1.5.0.03 failed.
!!! Function src_unpack, Line 101, Exitcode 1
!!! unpack not found
!!! If you need support, post the topmost build error, NOT this status message.