Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Build m2e-core from source for a new platform mips64el

I imagine you'd need to change the target platform to add the repository where the SWT platform for mipsel exists.  That said, I don't recall platform specific bundles in m2e so I'm not sure that you even need to compile it.

On 4 December 2017 at 05:15, 木婉清 <shi1986000@xxxxxxx> wrote:
Hi all:
  I get the source via this link https://github.com/eclipse/m2e-core.  and  want to build the source by running "buildall.sh".  But I occurred an error as follows:

Error Info:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven Integration for Eclipse (parent) ............. SUCCESS [  0.333 s]
[INFO] Maven Project Model Edit Bundle .................... SUCCESS [  4.823 s]
[INFO] Maven Integration for Eclipse Plug-in .............. SUCCESS [  6.453 s]
[INFO] org.eclipse.m2e.core.ui ............................ FAILURE [  2.233 s]
[INFO] Maven Integration for Eclipse Launching ............ SKIPPED
[INFO] Maven Integration for Eclipse JDT .................. SKIPPED
[INFO] Maven Integration for Eclipse JDT UI ............... SKIPPED
[INFO] Maven POM Refactoring .............................. SKIPPED
[INFO] m2e Marketplace .................................... SKIPPED
[INFO] Maven POM XML Editor ............................... SKIPPED
[INFO] Maven POM Editor ................................... SKIPPED
[INFO] org.eclipse.m2e.lifecyclemapping.defaults .......... SKIPPED
[INFO] org.eclipse.m2e.scm ................................ SKIPPED
[INFO] Maven Profile Manager Core ......................... SKIPPED
[INFO] Maven Profile Manager UI ........................... SKIPPED
[INFO] Maven Integration for Eclipse Importer framework ... SKIPPED
[INFO] M2E Testing Helpers ................................ SKIPPED
[INFO] Tests for Maven Integration for Eclipse Importer framework SKIPPED
[INFO] org.eclipse.m2e.logback.appender ................... SKIPPED
[INFO] org.eclipse.m2e.logback.configuration .............. SKIPPED
[INFO] Maven Integration for Eclipse ...................... SKIPPED
[INFO] m2e extensions development support (Optional) ...... SKIPPED
[INFO] Maven Integration for Eclipse slf4j over logback logging (Optional) SKIPPED
[INFO] Maven Integration for Eclipse Update Site .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:44 min
[INFO] Finished at: 2017-12-04T17:43:49+08:00
[INFO] Final Memory: 145M/3120M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project org.eclipse.m2e.core.ui: Compilation failure: Compilation failure:
[ERROR] /home/loongson/m2e-core/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/wizards/MappingDiscoveryJob.java:
[ERROR] /* ******************************************************************************
[ERROR] ^
[ERROR] The type org.eclipse.swt.graphics.Image cannot be resolved. It is indirectly referenced from required .class files
[ERROR] 1 problem (1 error)
[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]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.eclipse.m2e.core.ui

My platform info are:
arch: mips64el
os: Fedora
Eclipse IDE : Eclipse Luna SR1
maven info:
Apache Maven 3.2.2 (NON-CANONICAL_2015-07-07T11:23:04_root; 2015-07-07T11:23:04+08:00)
Maven home: /usr/share/maven
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-6.b17.rc21.fc21.loongson.mips64el/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "3.10.84-16.fc21.loongson.mips64el", arch: "mips64el", family: "unix"

I wanna post the error information on project m2e-core github page originally. But I can not find the "Issues" tab option. 
Suggestions:  

Anyone can give me some suggestions about the above error?




 


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev


Back to the top