[oe] package icedtea6-native-1.8.11-r5.3: task do_compile: Failed

MONDON Daniel Daniel.MONDON at lpgsystems.com
Wed Feb 18 14:14:10 UTC 2015


Hi,

I've got same problem compiling my old openembedded Angstromv2012.05 with changing server date.
Not on icedtea6-native-1.8.11, but openjdk-6-native.
I'm checking actually for a date change solution : full compilation is still running (restarted from scratch : more than 12h)


Checking the new git://git.yoctoproject.org/meta-java as said Henning !
Impossible to move to dependencies due to distribution customisation (too many work and no success guaranty!).


Can't I just have a patch, or simply changing sources where this test is done (changing test or dates values) ?

Thanks,
Daniel.

-----Message d'origine-----
De : openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-bounces at lists.openembedded.org] De la part de Max Krummenacher
Envoyé : vendredi 13 février 2015 11:34
À : openembedded-devel at lists.openembedded.org
Objet : Re: [oe] package icedtea6-native-1.8.11-r5.3: task do_compile: Failed

Hi Daniel


Am Freitag, den 13.02.2015, 10:08 +0000 schrieb MONDON Daniel:
> Ok, but my problem is I must not change distribution.
> The system is installed on many machines, and moving to and other repo will generate too many work (dev and validation)!
In order to fix an error you will have to change something.

> I have not enough time to pass on this problem : It was so complicated to build, install and configure Java on angstromv2012.05 environment!
> 
> Is it because Ubuntu 12.04 java was updated ?
No.

The error you see is because some sources test if now is more than 10 years from 2015 and refuse to compile (and maybe execute later?) if this is the case.

This is fixed in meta-java, but as Henning said you have to get the meta-java layer from git://git.yoctoproject.org/meta-java and update to HEAD.

Regards
Max

> Thanks
> Daniel.
> 
> -----Message d'origine-----
> De : openembedded-devel-bounces at lists.openembedded.org 
> [mailto:openembedded-devel-bounces at lists.openembedded.org] De la part 
> de Henning Heinold Envoyé : vendredi 13 février 2015 10:50 À : 
> openembedded-devel at lists.openembedded.org
> Objet : Re: [oe] package icedtea6-native-1.8.11-r5.3: task do_compile: 
> Failed
> 
> On Fri, Feb 13, 2015 at 08:36:45AM +0000, MONDON Daniel wrote:
> > Hi,
> > 
> > I am under Ubuntu 12.04 server and I build an angstromv2012.05 distribution.
> > 
> > Making a build all (from scratch), I've got the error:
> > | Error: time is more than 10 years from present: 1104530400000
> > | java.lang.RuntimeException: time is more than 10 years from present: 1104530400000
> > |    at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285)
> > |    at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225)
> > |    at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154)
> > |    at java.lang.reflect.VMMethod.invoke(Native Method)
> > |    at java.lang.reflect.Method.invoke(Method.java:327)
> > |    at jamvm.java.lang.JarLauncher.main(JarLauncheERROR: Function 
> > | failed: do_compile (see 
> > | /home/lpg/VPN/lpg-project/build/tmp-angstrom_v2012_05-eglibc/work/
> > | x86_64-linux/icedtea6-native-1.8.11-r5.3/temp/log.do_compile.8710 
> > | for further information)
> > 
> > The log.do_compile.8710 is attached.
> > 
> > Please help :)
> > 
> > Thanks
> > Daniel.
> 
> The layer has moved and is now available under 
> git://git.yoctoproject.org/meta-java
> 
> Bye Henning
> 
> 
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list