Possible change to the "Native Build" page?

Phil Hart philhart at iinet.net.au
Tue Jun 19 17:11:50 PDT 2012


On 20/06/2012 7:02 AM, Caolán McNamara wrote:
> On Tue, 2012-06-19 at 06:06 +0800, Phil Hart wrote:
>> Hello.
>>
>> I have found (and solved) an annoyance when it comes to native build on
>> openSUSE 12.1 . It is this: openSUSE 12.1 ships with Java 1.5, but the
>> current version of LibreOffice needs Java 1.6.
> Does it ?, I thought we were still ok with 1.5. What sort of
> error/problem happened when you tried to build with your default 1.5
> providing java stack ?
>
> C.
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
Hello Caolán,

The following is an extract from the build log.

The build error is evident about 10 lines from the bottom.

(Sorry about the duplicate: I forgot to add the LibreOffice list to the 
CC line :( )

Best regards,
philhart

=============
(15/158) Building module stax
=============

<<<lines deleted>>>

Entering /home/phil/git/libo/tomcat

Buildfile: 
/home/phil/git/libo/hsqldb/unxlngx6.pro/misc/build/hsqldb/build/build.xml
Buildfile: 
/home/phil/git/libo/tomcat/unxlngx6.pro/misc/build/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/build.xml

debuild:
      [echo] Building Servlet 2.4 API

prepare:

init:

javaversion6:

javaversion4:

javaversion2:

-prepare:

codeswitcher:
     [javac] 
/home/phil/git/libo/hsqldb/unxlngx6.pro/misc/build/hsqldb/build/build.xml:135: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

static:

compile:
     [javac] 
/home/phil/git/libo/tomcat/unxlngx6.pro/misc/build/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/jsr154/build.xml:67: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds
     [javac] Compiling 1 source file to 
/home/phil/git/libo/hsqldb/unxlngx6.pro/misc/build/hsqldb/classes
     [javac] Compiling 40 source files to 
/home/phil/git/libo/tomcat/unxlngx6.pro/misc/build/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/jsr154/build/classes
     [javac] Compliance level '1.5' is incompatible with source level 
'1.6'. A compliance level '1.6' or better is required
     [javac] Compliance level '1.5' is incompatible with source level 
'1.6'. A compliance level '1.6' or better is required

BUILD FAILED
/home/phil/git/libo/tomcat/unxlngx6.pro/misc/build/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/build.xml:9: 
The following error occurred while executing this line:
/home/phil/git/libo/tomcat/unxlngx6.pro/misc/build/jakarta-tomcat-5.0.30-src/jakarta-servletapi-5/jsr154/build.xml:67: 
Compile failed; see the compiler error output for details.

Total time: 4 seconds
dmake:  Error code 1, while making 
'./unxlngx6.pro/misc/build/so_built_servlet'
Entering /home/phil/git/libo/unixODBC/prj





More information about the LibreOffice mailing list