Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Build from source problem

export MAVEN_OPTS=-Xmx6G Didn't help (unless, of course, the lack of
quotes doesn't affect the build)

Part of the output:

$ export MAVEN_OPTS=-Xmx6G
$ mvn clean verify -DskipTests=true

..........................................
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] eclipse-platform-parent 4.20.0-SNAPSHOT ............ SUCCESS [  2.530 s]
[INFO] eclipse-sdk-prereqs 4.20.0-SNAPSHOT ................ SUCCESS [  2.188 s]
..........................................
..........................................
[INFO] org.eclipse.swt.examples.ole.win32 3.107.400-SNAPSHOT SUCCESS [  3.635 s]
[INFO] org.eclipse.swt.examples.views 3.107.0-SNAPSHOT .... SUCCESS [  3.021 s]
[INFO] org.eclipse.swt.tests.fragments.feature 3.106.0-SNAPSHOT
SUCCESS [  0.499 s]
[INFO] org.eclipse.swt.tests 3.106.1300-SNAPSHOT .......... FAILURE [ 12.265 s]
[INFO] org.eclipse.swt.tools.feature 3.108.100-SNAPSHOT ... SKIPPED
[INFO] org.eclipse.swt.tests.gtk 3.107.200-SNAPSHOT ....... SKIPPED
[INFO] eclipse.platform.swt.binaries 4.20.0-SNAPSHOT ...... SKIPPED
..........................................
..........................................
[INFO] eclipse.platform.repository 4.20.0-SNAPSHOT ........ SKIPPED
[INFO] platform-aggregator 4.20.0-SNAPSHOT ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:05 h
[INFO] Finished at: 2021-04-15T23:51:11+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:2.3.0:compile
(default-compile) on project org.eclipse.swt.tests: Compilation
failure: Compilation failure:
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit
Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java:[22]
[ERROR]         import org.eclipse.swt.SWT;
[ERROR]                ^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.SWT cannot be resolved
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit
Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java:[23]
[ERROR]         import org.eclipse.swt.custom.BidiSegmentListener;
[ERROR]                ^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.custom cannot be resolved
[ERROR] /home/main/eclipse.platform.releng.aggregator/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit
Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java:[24]
[ERROR]         import org.eclipse.swt.custom.StyleRange;
[ERROR]                ^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.swt.custom cannot be resolved
..........................................

Kirill

чт, 15 апр. 2021 г. в 15:50, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx>:
>
> I see one definite problem. MAVEN_OPTS=-Xmx2048m Is definitely not sufficient. To build eclipse you’ll need 6GB.
>
>
>
> Log is indicating problem with GC. In our regular builds we use export MAVEN_OPTS="-Xmx6G". use higher Xmx value and try to build again.
>
>
>
> Thanks
>
> Sravan
>
>
>
>
>
> From: Kirill Kotovich <kirillkotovich1@xxxxxxxxx>
> Sent: 15 April 2021 17:58
> To: Eclipse platform general developers list. <platform-dev@xxxxxxxxxxx>
> Subject: [EXTERNAL] Re: [platform-dev] Build from source problem
>
>
>
> Hello!
> I apologize for the long answer, I did not notice that the moderators tipped off my previous letter
>
> The sequence of commands literally looked like this:
>
> $ cd eclipse.platform.releng.aggregator
> /eclipse.platform.releng.aggregator$ export MAVEN_OPTS=-Xmx2048m
> /eclipse.platform.releng.aggregator$ git pull --recurse-submodules
> /eclipse.platform.releng.aggregator$ git submodule update
> /eclipse.platform.releng.aggregator$ mvn -X clean validate > ./logs.txt
>
> Before that, I tried to immediately build using the command "mvn clean verify",as it was written in the Wiki:
> https://wiki.eclipse.org/Platform-releng/Platform_Build. This response was received:
>
> ..................
> [INFO] eclipse.platform.releng 4.20.0-SNAPSHOT ............ SUCCESS [  0.079 s]
> [INFO] org.eclipse.test.performance 3.17.100-SNAPSHOT ..... SUCCESS [ 39.951 s]
> [INFO] [bundle] Eclipse IDE UI Application 1.4.0-SNAPSHOT . SUCCESS [ 29.902 s]
> [INFO] org.eclipse.jdt.core.tests.compiler 3.12.1600-SNAPSHOT FAILURE
> [  01:46 h]
> [INFO] org.eclipse.jdt.compiler.tool.tests 1.2.900-SNAPSHOT SKIPPED
> [INFO] org.eclipse.jdt.core.tests.builder 3.10.1200-SNAPSHOT SKIPPED
> [INFO] org.eclipse.jdt.compiler.apt.tests 1.1.1500-SNAPSHOT SKIPPED
> ..................
> [INFO] platform-aggregator 4.20.0-SNAPSHOT ................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  04:06 h
> [INFO] Finished at: 2021-04-02T19:58:44+03:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-surefire-plugin:2.3.0:test (default-test) on
> project org.eclipse.jdt.core.tests.compiler: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /home/main/eclipse.platform.releng.aggregator/eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/target/surefire-reports
> for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :org.eclipse.jdt.core.tests.compiler
>
> I also tried the command "sudo mvn clean verify -DskipTests=true", and the answer was:
>
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x000045ebd8a0b1d0, pid=12418, tid=12456
> #
> # JRE version: OpenJDK Runtime Environment (11.0.8) (build
> 11.0.8-internal+0-adhoc.root.openjdk11-11.0.8)
> # Java VM: OpenJDK 64-Bit Server VM (RVM 4.1.0)
> (11.0.8-internal+0-adhoc.root.openjdk11-11.0.8, mixed mode, g1 gc,
> linux-e2k)
> #
> # Problematic frame:
> # V  [libjvm.so+0x7261d0]  oopDesc::size()+0xf0
> #
> # No core dump will be written. Core dumps have been disabled. To
> enable core dumping, try "ulimit -c unlimited" before starting Java
> again
> #
> # An error report file with more information is saved as:
> # /home/main/ecipse_platform/hs_err_pid12418.log
> Compiled method (c2) 11292643 13916   !
> java.util.concurrent.ThreadPoolExecutor::runWorker (187 bytes)
>  total in heap  [0x000045ebeb4fb690,0x000045ebeb504b38] = 38056
>  relocation     [0x000045ebeb4fb7f8,0x000045ebeb4fc590] = 3480
>  main code      [0x000045ebeb4fc5a0,0x000045ebeb503520] = 28544
>  stub code      [0x000045ebeb503520,0x000045ebeb503640] = 288
>  oops           [0x000045ebeb503640,0x000045ebeb503670] = 48
>  metadata       [0x000045ebeb503670,0x000045ebeb503938] = 712
>  scopes data    [0x000045ebeb503938,0x000045ebeb5040b0] = 1912
>  scopes pcs     [0x000045ebeb5040b0,0x000045ebeb5046b0] = 1536
>  dependencies   [0x000045ebeb5046b0,0x000045ebeb5046d0] = 32
>  handler table  [0x000045ebeb5046d0,0x000045ebeb504a18] = 840
>  nul chk table  [0x000045ebeb504a18,0x000045ebeb504b38] = 288
> #
> # If you would like to submit a bug report, please visit:
> #   https://bugreport.java.com/bugreport/crash.jsp
> #
> Aborted
>
> I am attaching the logs of the mentioned assembly attempts,because of them my letter was not published
>
> Thank you!
>
> Kirill
>
>
> _______________________________________________
> platform-dev mailing list
> platform-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


Back to the top