Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] CPP and Parallel Packages are not building...

Hi Markus,

The problem is resolvable by using Tycho 1.3.0. I have pushed a gerrit for review: https://git.eclipse.org/r/#/c/133986/ and raised Bug 542755. I have built* on my machine the CPP package and it works as expected with Java 8 and Java 11 runtimes. 

BTW There are many features in CDT that include the o.e.tools.templates.freemarker.java11 bundle, some of them key to CDT so it is not simply autotools the problem, rather that is simply the first problem reported.

Is this an acceptable solution?

Thanks,
Jonah

* The build failed after making the packages when it was trying to do some signing, but I didn't do anything to enable signing, so perhaps the flags for that need revisiting in the future:

[ERROR] Failed to execute goal org.eclipse.cbi.maven.plugins:eclipse-dmg-packager:1.1.5:package-dmg (default) on project epp.package.cpp: [Thu Dec 13 12:41:05 GMT 2018] Packaging of DMG file failed: Connect to build.eclipse.org:31338 [build.eclipse.org/198.41.30.203] failed: connect timed out 

Full details:

[INFO] [Thu Dec 13 12:40:15 GMT 2018] Creating DMG file from '/scratch/eclipse/src/epp/org.eclipse.epp.packages/packages/org.eclipse.epp.package.cpp.product/target/products/20181213-1235_eclipse-cpp-2018-12-RC1-macosx.cocoa.x86_64.tar.gz'...
[WARNING] An exception has been thrown, but the request will be retried (attempt 1 / 3)
org.apache.http.conn.ConnectTimeoutException: Connect to build.eclipse.org:31338 [build.eclipse.org/198.41.30.203] failed: connect timed out
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect (DefaultHttpClientConnectionOperator.java:151)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect (PoolingHttpClientConnectionManager.java:359)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute (MainClientExec.java:381)
    at org.apache.http.impl.execchain.MainClientExec.execute (MainClientExec.java:237)
    at org.apache.http.impl.execchain.ProtocolExec.execute (ProtocolExec.java:185)
    at org.apache.http.impl.execchain.RetryExec.execute (RetryExec.java:89)
    at org.apache.http.impl.execchain.RedirectExec.execute (RedirectExec.java:111)
    at org.apache.http.impl.client.InternalHttpClient.doExecute (InternalHttpClient.java:185)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:72)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:221)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:165)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:140)
    at org.eclipse.cbi.maven.http.apache.ApacheHttpClient.lambda$send$1 (ApacheHttpClient.java:81)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)
Caused by: java.net.SocketTimeoutException: connect timed out
    at java.net.PlainSocketImpl.socketConnect (Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392)
    at java.net.Socket.connect (Socket.java:589)
    at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket (PlainConnectionSocketFactory.java:75)
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect (DefaultHttpClientConnectionOperator.java:142)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect (PoolingHttpClientConnectionManager.java:359)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute (MainClientExec.java:381)
    at org.apache.http.impl.execchain.MainClientExec.execute (MainClientExec.java:237)
    at org.apache.http.impl.execchain.ProtocolExec.execute (ProtocolExec.java:185)
    at org.apache.http.impl.execchain.RetryExec.execute (RetryExec.java:89)
    at org.apache.http.impl.execchain.RedirectExec.execute (RedirectExec.java:111)
    at org.apache.http.impl.client.InternalHttpClient.doExecute (InternalHttpClient.java:185)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:72)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:221)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:165)
    at org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java:140)
    at org.eclipse.cbi.maven.http.apache.ApacheHttpClient.lambda$send$1 (ApacheHttpClient.java:81)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)
[





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


On Thu, 13 Dec 2018 at 12:22, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Hi Markus, 

The issue is the one that I mentioned as part of CDT's contribution to simrel. This was needed to support Java 11 properly. 

https://www.eclipse.org/lists/cross-project-issues-dev/msg16253.html

The reason it came in at RC2 is that the problem was not identified until RC1 was published. 

I thought we were in the clear with simrel having succeeded. Let me have a look in more detail and I'll be back with you very soon. 

Jonah

On Thu, 13 Dec 2018, 11:21 Markus Knauer <mknauer@xxxxxxxxxxxxxxxxx wrote:
Hi everyone,

if I exclude the CPP and the Parallel package, we have a green build, but these two packages introduced new dependencies in RC2 just this week that prevent them from being built with the current setup.

Here is the error message...
[ERROR]   Missing requirement: org.eclipse.tools.templates.freemarker.java11 1.0.0.201812111206 requires 'osgi.ee; (&(osgi.ee=JavaSE)(version=11))' but it could not be found
[ERROR]   Cannot satisfy dependency: epp.package.parallel 4.10.0.qualifier depends on: org.eclipse.equinox.p2.iu; org.eclipse.cdt.autotools.feature.group 0.0.0
[ERROR]   Cannot satisfy dependency: org.eclipse.cdt.autotools.feature.group 9.6.0.201812111211 depends on: org.eclipse.equinox.p2.iu; org.eclipse.tools.templates.freemarker.java11 [1.0.0.201812111206,1.0.0.201812111206]
One simple fix would be to remove the CDT Autotools feature from the dependency tree. Or maybe it is all of a sudden necessary to use Java 11 for building the packages?

And I'm really wondering why this occurs in an RC2 for the first time!

Regards,
Markus






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

Back to the top