Build failed

52 views
Skip to first unread message

Roberto Franchini

unread,
May 10, 2012, 4:47:51 AM5/10/12
to orient-database
Hi,
building from trunk fails on revision 5549
I'm on ubuntu with openJDK.
I think the problem is again the javac vs eclipse compiler on generics.



[INFO] ------------------------------------------------------------------------
[INFO] Building OrientDB Core
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /home/frank/projects/mine/orient/core
&& svn --non-interactive info
[INFO] Working directory: /home/frank/projects/mine/orient/core
[INFO] Storing buildNumber: 5549 at timestamp: 1336639322746
[INFO] Executing: /bin/sh -c cd /home/frank/projects/mine/orient/core
&& svn --non-interactive info
[INFO] Working directory: /home/frank/projects/mine/orient/core
[INFO] Storing buildScmBranch: trunk
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 65 source files to
/home/frank/projects/mine/orient/core/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.6.0_23). Please file a
bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport) after checking the Bug Parade
for duplicates. Include your program and the following diagnostic in
your report. Thank you.
java.lang.AssertionError: com.sun.tools.javac.jvm.Gen$1ComplexityScanner
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.visitWildcard(Gen.java:1587)
at com.sun.tools.javac.tree.JCTree$JCWildcard.accept(JCTree.java:1896)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.scan(Gen.java:1517)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
at com.sun.tools.javac.tree.TreeScanner.visitTypeApply(TreeScanner.java:269)
at com.sun.tools.javac.tree.JCTree$JCTypeApply.accept(JCTree.java:1840)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.scan(Gen.java:1517)
at com.sun.tools.javac.tree.TreeScanner.visitVarDef(TreeScanner.java:95)
at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:709)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.scan(Gen.java:1517)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
at com.sun.tools.javac.tree.TreeScanner.visitBlock(TreeScanner.java:103)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:765)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.scan(Gen.java:1517)
at com.sun.tools.javac.tree.TreeScanner.visitForLoop(TreeScanner.java:120)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.visitForLoop(Gen.java:1525)
at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:856)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.scan(Gen.java:1517)
at com.sun.tools.javac.tree.TreeScanner.visitIf(TreeScanner.java:167)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.visitIf(Gen.java:1540)
at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1115)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.jvm.Gen$1ComplexityScanner.scan(Gen.java:1517)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
at com.sun.tools.javac.tree.TreeScanner.visitBlock(TreeScanner.java:103)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:765)
at com.sun.tools.javac.jvm.Gen.estimateCodeComplexity(Gen.java:1591)
at com.sun.tools.javac.jvm.Gen.visitTry(Gen.java:1311)
at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1023)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:700)
at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:751)
at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1027)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:765)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:907)
at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:880)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:653)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2219)
at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:689)
at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1372)
at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1340)
at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:842)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:801)
at com.sun.tools.javac.main.Main.compile(Main.java:388)
at com.sun.tools.javac.main.Main.compile(Main.java:308)
at com.sun.tools.javac.main.Main.compile(Main.java:299)
at com.sun.tools.javac.Main.compile(Main.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)



--
Roberto Franchini
The impossible is inevitable.
Be smart: http://goo.gl/LqgRY
http://www.celi.it
http://www.blogmeter.it
Tel +39.011.562.71.15
jabber:ro.fra...@gmail.com skype:ro.franchini
,

Andrey Lomakin

unread,
May 10, 2012, 4:58:54 AM5/10/12
to orient-...@googlegroups.com
Hi, we use OpenJDK 1.6.0_24 / Ubuntu on http://datastorm.com.ua/jenkins/
Could you try this version ?
--
With best regards,
Andrey Lomakin | Senior Developer |
Exigen Services | 3-A Artema St. | Dnepropetrovsk | 49000 Ukraine |
| Skype: lomakin_andrey |
Cell: +3.8067.636.9896

http://www.exigenservices.com/

Roberto Franchini

unread,
May 10, 2012, 5:11:28 AM5/10/12
to orient-...@googlegroups.com
On Thu, May 10, 2012 at 10:58 AM, Andrey Lomakin
<lomakin...@gmail.com> wrote:
> Hi, we use OpenJDK 1.6.0_24 / Ubuntu on http://datastorm.com.ua/jenkins/
> Could you try this version ?


It is fine with openJDK-7 :
java version "1.7.0_147-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

The problem is the javac in
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

It's an annoying bug of the compiler when using generics.
Cheers,
FRANK

Andrey Lomakin

unread,
May 10, 2012, 5:18:02 AM5/10/12
to orient-...@googlegroups.com
Hi,
But could you use "1.6.0_24" instead of "1.6.0_23" ?

Roberto Franchini

unread,
May 10, 2012, 6:06:31 AM5/10/12
to orient-...@googlegroups.com
On Thu, May 10, 2012 at 11:18 AM, Andrey Lomakin
<lomakin...@gmail.com> wrote:
> Hi,
> But could you use "1.6.0_24" instead of "1.6.0_23" ?

1.6.0_24 is on ubuntu 12.04 and at the moment I can't upgrade.
I googled around to find packages of 1.6.0_24 backported to 11.10 but
I did'nt found it.

Andrey Lomakin

unread,
May 10, 2012, 4:49:57 PM5/10/12
to orient-...@googlegroups.com
I see.

Could you open issue for that ?
Reply all
Reply to author
Forward
0 new messages