Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] About org.eclipse.cdt CDT_10_5_0

(replying on cdt-dev as the mailing list is the appropriate place for such questions)

Hi,

You are on the right track - unfortunately one of the side effects of the build system we use is that when we do a build (e.g for the commit tagged  CDT_10_5_0) is that the input p2 repos are not final and stable URLs. 

You have identified cdt.target needs changing and got the final URL for the Eclipse Platform, but other URLs in there need to be updated too.

I through together a PR* that should do what you want https://github.com/eclipse-cdt/cdt/pull/22 if it works for you it can be merged**


* Note we are in the middle of migrating from bugzilla + gerrit -> github so there are some inconsistencies in the documentation/tools that will hopefully be resolved soon.

** As part of the move to github I have lost permission to self-approve PRs so I'll need someone else to approve it.

Thanks
Jonah






~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Sun, 31 Jul 2022 at 23:19, xujialu <xujialu@xxxxxxxxx> wrote:
Hello Jonah,

Sorry for disturbing.

I'm trying to build CDT_10_5_0, but i don't know how to solve this following problem.

After googled several days, still can't get it works.

I guess there is a very easy way to solve this, just cannot find that, such sad.

Please give me a hand.

Appreciation!





# mvn package -T8
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.jsoncdb.microsoft.tests:1.0.100-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/jsoncdb/org.eclipse.cdt.jsoncdb.microsoft.tests/.polyglot.META-INF
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.make.ui.tests:1.0.0-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/build/org.eclipse.cdt.make.ui.tests/.polyglot.META-INF
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.tm.terminal.control:5.3.0-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/terminal/plugins/org.eclipse.tm.terminal.control/.polyglot.META-INF
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.visualizer.ui:1.4.200-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/visualizer/org.eclipse.cdt.visualizer.ui/.polyglot.META-INF
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.lsp.cquery:0.1.0-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/lsp/org.eclipse.cdt.lsp.cquery/.polyglot.META-INF
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.examples.dsf.pda:2.2.200-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/dsf/org.eclipse.cdt.examples.dsf.pda/.polyglot.META-INF
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.core.linux.aarch64:6.0.400-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/core/org.eclipse.cdt.core.linux.aarch64/pom.xml
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.cdt.jsoncdb.hpenonstop:1.0.0-SNAPSHOT @ /root/Downloads/eclipse-workspace/cdt/jsoncdb/org.eclipse.cdt.jsoncdb.hpenonstop/.polyglot.META-INF
[ERROR] Cannot resolve target definition:
[ERROR]   Software being installed: a.jre.javase 11.0.0
[ERROR]   Software being installed: org.eclipse.wildwebdeveloper.embedder.node.feature.feature.group 0.3.0.202206231201
[ERROR]   Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full 18.0.1.v20220515-1614 conflicts with: org.eclipse.equinox.p2.iu; a.jre.javase 0.0.0
[ERROR]   Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64 18.0.1.v20220515-1614 depends on: osgi.bundle; org.eclipse.justj.openjdk.hotspot.jre.full [18.0.1,18.0.2)
[ERROR]   Cannot satisfy dependency: org.eclipse.wildwebdeveloper.embedder.node 0.3.0.202206231201 depends on: osgi.ee; (&(osgi.ee=JavaSE)(version=17))
[ERROR]   Cannot satisfy dependency: org.eclipse.wildwebdeveloper.embedder.node.feature.feature.group 0.3.0.202206231201 depends on: org.eclipse.equinox.p2.iu; org.eclipse.wildwebdeveloper.embedder.node [0.3.0.202206231201,0.3.0.202206231201]
[ERROR]
[ERROR] Failed to resolve target definition /root/Downloads/eclipse-workspace/cdt/releng/org.eclipse.cdt.target/cdt.target: See log for details -> [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/MavenExecutionException
[ERROR] Cannot resolve target definition:
[ERROR]   Software being installed: a.jre.javase 11.0.0
[ERROR]   Software being installed: org.eclipse.wildwebdeveloper.embedder.node.feature.feature.group 0.3.0.202206231201
[ERROR]   Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full 18.0.1.v20220515-1614 conflicts with: org.eclipse.equinox.p2.iu; a.jre.javase 0.0.0
[ERROR]   Cannot satisfy dependency: org.eclipse.justj.openjdk.hotspot.jre.full.linux.aarch64 18.0.1.v20220515-1614 depends on: osgi.bundle; org.eclipse.justj.openjdk.hotspot.jre.full [18.0.1,18.0.2)
[ERROR]   Cannot satisfy dependency: org.eclipse.wildwebdeveloper.embedder.node 0.3.0.202206231201 depends on: osgi.ee; (&(osgi.ee=JavaSE)(version=17))
[ERROR]   Cannot satisfy dependency: org.eclipse.wildwebdeveloper.embedder.node.feature.feature.group 0.3.0.202206231201 depends on: org.eclipse.equinox.p2.iu; org.eclipse.wildwebdeveloper.embedder.node [0.3.0.202206231201,0.3.0.202206231201]
[ERROR]





# git diff
diff --git a/releng/org.eclipse.cdt.target/cdt.target b/releng/org.eclipse.cdt.target/cdt.target
index c2f31487f2..1ec034a96e 100644
--- a/releng/org.eclipse.cdt.target/cdt.target
+++ b/releng/org.eclipse.cdt.target/cdt.target
@@ -7,7 +7,7 @@
                        <unit id="org.eclipse.license.feature.group" version="0.0.0"/>
                </location>
                <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
-                       <repository location="https://download.eclipse.org/eclipse/updates/4.22-I-builds/I20211124-1800/"/>
+                       <repository location="https://download.eclipse.org/eclipse/updates/4.22/R-4.22-202111241800/"/>
                        <unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
                        <unit id="org.eclipse.jdt.annotation" version="0.0.0"/>
                        <unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>





# git show
commit 71ad45b3825cf84bdc05649de9212253bf4775dd (HEAD, tag: CDT_10_5_0, origin/cdt_10_5)
Author: Jonah Graham <jonah@xxxxxxxxxxxxxxxx>
Date:   Mon Nov 29 17:12:25 2021 -0500

    [releng] Update to 2021-12 RC2 deps

    Change-Id: Iaf291d047d7517586ca4c1c83b0708de3619632b





# java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode, sharing)





# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Back to the top