Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Unable to build CDT from latest source

After commenting out all the doc packages, the build passed (it was before I read about -skipDoc).


Nevertheless it would be good to understand why the doc build failed and fix it.  I'm happy to help to debug this, though I know nothing about maven and eclipse-cdt (other than being a happy user).


On 08/22/2016 04:06 PM, Marc-André Laperle wrote:
I think it's -DskipDoc

Marc-Andre

From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Marc Khouzam [marc.khouzam@xxxxxxxxxxxx]
Sent: Saturday, 20 August 2016 1:20 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Unable to build CDT from latest source

There is a CDT build flag to skip building the docs.  Add the following to your maven command:

-skipDoc

or

-skipDoc=true

I'm not sure which at this time

Marc


From: Avi Kivity <avi@xxxxxxxxxxxx>
Sent: Aug 20, 2016 10:24
To: CDT General developers list.
Subject: Re: [cdt-dev] Unable to build CDT from latest source



On Sat, Aug 20, 2016 at 3:22 PM, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Hi Avi,

I don't know the answer to your question, but in case you didn't know
you may find the last build output log from CDT's master here:
https://hudson.eclipse.org/cdt/job/cdt-master/. The most recent code
did build ok there, perhaps you could identify the difference between
your setup and CDT's build machine?

I don't know how to do that.
 

Alternatively, if you don't need the user docs to be built, you could
use a workaround to exclude the problematic build portion by removing
org.eclipse.cdt.doc.user from the root pom.xml
(https://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/pom.xml#n77).



It proceeded a little further, then hit

[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.25.0:eclipse-run (default) on project org.eclipse.cdt.debug.application.doc: Error while executing platform: Error while executing platform (return code: 13) -> [Help 1]

again a .doc package.  I can try to remove it as well.


 
Hopefully someone else on the list will have a more complete answer.

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


On 20 August 2016 at 12:44, Avi Kivity <avi@xxxxxxxxxxxx> wrote:
> Hello, heroic CDT developers,
>
> I regularly build CDT from source (since I need a patch, not good enough for
> upstream, for C++14 lambdas).  I just hit an error with git master:
>
> [ERROR] Failed to execute goal
> org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.25.0:eclipse-run
> (default) on project org.eclipse.cdt.doc.user: Error while executing
> platform: Error while executing platform (return code: 13) -> [Help 1]
>
> Here is the log:
>
> !SESSION 2016-08-20 14:22:26.415
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.8.0_101
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -application org.eclipse.ant.core.antRunner -buildfile
> customBuildCallbacks.xml build.index
> Command-line arguments:  -application org.eclipse.ant.core.antRunner
> -buildfile customBuildCallbacks.xml build.index
>
> !ENTRY org.eclipse.osgi 4 0 2016-08-20 14:22:27.129
> !MESSAGE Application error
> !STACK 1
> java.lang.NullPointerException: null values not allowed
> at
> org.eclipse.core.internal.registry.ReferenceMap.put(ReferenceMap.java:351)
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.getBundle(RegistryStrategyOSGI.java:151)
> at
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:166)
> at
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
> at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
>
>
> Help is appreciated.
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev



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


Back to the top