eclipse-jdtls / eclipse.jdt.ls

Java language server
1.8k stars 400 forks source link

Building on MacOS aarch64 platform #2411

Closed gayanper closed 1 year ago

gayanper commented 1 year ago

When trying to build on MacOS aarch64 platform I get the following build error

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:3.0.1:materialize-products (create-
distributions) on project org.eclipse.jdt.ls.product: Installation of product languageServer.product for environment 
linux/gtk/x86_64 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-
metadataRepository, 
file:/Users/username/Projects/vscode/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/,file:/Users/username/Projects/vscode/
eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/targetPlatformRepository/, -artifactRepository, 
file:/Users/username/Projects/vscode/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/,file:/resolution-context-
artifacts@%252FUsers%252Fusername%252FProjects%252Fvscode%252Feclipse.jdt.ls%252Forg.eclipse.jdt.ls.product,
file:/Users/username/Projects/vscode/eclipse.jdt.ls/org.eclipse.jdt.ls.core/target/,file:/Users/username/Projects/vscode/ecli
pse.jdt.ls/org.eclipse.jdt.ls.filesystem/target/,file:/Users/username/Projects/vscode/eclipse.jdt.ls/org.eclipse.jdt.ls.logback.
appender/target/,file:/Users/username/.m2/repository/, -installIU, languageServer.product, -destination, 
/Users/username/Projects/vscode/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/languageServer.product/linux/gt
k/x86_64, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -
p2.ws, gtk, -p2.arch, x86_64]. -> [Help 1]
rgrunber commented 1 year ago

Are there any logs of the form *.log (eg /Users/username/Projects/vscode/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/languageServer.product/linux/gtk/x86_64/configuration/*.log within the destination or anywhere in the repo) created that could give some more information ? The build should be able to install the product for every single platform, regardless of where it's run.

gayanper commented 1 year ago

This issue cannot be reproduced with latest master.