Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] maven/tycho builds on Fedora

Orion,

I'm not sure what is going on here. CDT made some changes to their internal interfaces about 9 days ago, and we updated our master branch to fix the build problems. However if you're using PTP 6.0.1, that was released in June, so it should compile against CDT 8.1.

It looks like you have the correct version of CDT 8.1 (ClassTypeHelper#fileOverridden originally had only one argument), so you must be building a recent version of PTP against this version of CDT.

Regards,
Greg

On Aug 22, 2012, at 6:47 PM, Orion Poplawski wrote:

> On 08/16/2012 02:54 PM, Greg Watson wrote:
>> Ok, it was the different version of tycho causing the problem. Tycho 0.15 is stricter about plugin components, but it should build ok now.
> 
> Great, making progress.  But now trying to build current git master on Fedora 18 with:
> 
> DEBUG util.py:257:  eclipse-cdt-parsers-8.1.0-2.fc18.x86_64
> DEBUG util.py:257:  eclipse-equinox-osgi-4.2.0-9.fc19.x86_64
> DEBUG util.py:257:  eclipse-swt-4.2.0-9.fc19.x86_64
> DEBUG util.py:257:  eclipse-jdt-4.2.0-9.fc19.x86_64
> DEBUG util.py:257:  eclipse-jgit-2.0.0-2.fc18.noarch
> DEBUG util.py:257:  eclipse-ecf-core-3.5.6-2.fc19.noarch
> DEBUG util.py:257:  eclipse-platform-4.2.0-9.fc19.x86_64
> DEBUG util.py:257:  eclipse-emf-2.8.0-16.fc19.noarch
> DEBUG util.py:257:  eclipse-cdt-8.1.0-2.fc18.x86_64
> DEBUG util.py:257:  eclipse-emf-core-2.8.0-16.fc19.noarch
> DEBUG util.py:257:  eclipse-rse-3.4-3.fc18.noarch
> 
> I get:
> 
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.16.0-SNAPSHOT:compile (default-compile) on project org.eclipse.ptp.rdt.core: Compilation failure: Compilation failure:
> [ERROR] /builddir/build/BUILD/eclipse-ptp-6.0.1/org.eclipse.ptp-426717e6e6fc5fec9779dc33520f44a80c4b2c35/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/internal/rdt/core/search/RemoteSearchQuery.java:[323,0]
> [ERROR] ICPPMethod[] msInBases = ClassTypeHelper.findOverridden(m, null);
> [ERROR] ^^^^^^^^^^^^^^
> [ERROR] The method findOverridden(ICPPMethod) in the type ClassTypeHelper is not applicable for the arguments (ICPPMethod, null)
> [ERROR] /builddir/build/BUILD/eclipse-ptp-6.0.1/org.eclipse.ptp-426717e6e6fc5fec9779dc33520f44a80c4b2c35/rdt/org.eclipse.ptp.rdt.core/miners/org/eclipse/ptp/internal/rdt/core/miners/RemoteCHQueries.java:[83,0]
> [ERROR] IBinding[] overriddenBindings= ClassTypeHelper.findOverridden((ICPPMethod) calleeBinding, null);
> [ERROR] ^^^^^^^^^^^^^^
> [ERROR] The method findOverridden(ICPPMethod) in the type ClassTypeHelper is not applicable for the arguments (ICPPMethod, null)
> [ERROR] /builddir/build/BUILD/eclipse-ptp-6.0.1/org.eclipse.ptp-426717e6e6fc5fec9779dc33520f44a80c4b2c35/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/internal/rdt/core/typehierarchy/TypeHierarchyUtil.java:[42,0]
> [ERROR] IType type= ((IEnumerator) memberBinding).getType();
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Unhandled exception type DOMException
> [ERROR] /builddir/build/BUILD/eclipse-ptp-6.0.1/org.eclipse.ptp-426717e6e6fc5fec9779dc33520f44a80c4b2c35/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/internal/rdt/core/callhierarchy/LocalCallHierarchyService.java:[86,0]
> [ERROR] IBinding[] overriddenBindings= ClassTypeHelper.findOverridden((ICPPMethod) calleeBinding, null);
> [ERROR] ^^^^^^^^^^^^^^
> [ERROR] The method findOverridden(ICPPMethod) in the type ClassTypeHelper is not applicable for the arguments (ICPPMethod, null)
> [ERROR] /builddir/build/BUILD/eclipse-ptp-6.0.1/org.eclipse.ptp-426717e6e6fc5fec9779dc33520f44a80c4b2c35/rdt/org.eclipse.ptp.rdt.core/src/org/eclipse/ptp/internal/rdt/core/typehierarchy/LocalTypeHierarchyService.java:[79,0]
> [ERROR] IType type = ((IEnumerator) memberBinding).getType();
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] Unhandled exception type DOMException
> 
> Any ideas?  Thanks!
> 
> 
> -- 
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA, Boulder Office                  FAX: 303-415-9702
> 3380 Mitchell Lane                       orion@xxxxxxxx
> Boulder, CO 80301                   http://www.nwra.com
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top