Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [triquetrum-dev] Triq updated to neon, Triq Maven build broken

Thanks Jonah. I went with adding Gunnar's workaround p2 site. I was able to successfully run "mvn compile" on my local machine, but the hudson build at https://hudson.eclipse.org/triquetrum/job/triquetrum/ is timing out while accessing the Gunnar's site. I retried the Hudson build and it failed the same way, so I'll give it some time and try it again later.

It would be helpful if people would vote to fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=491951 . It is a little disappointing that this has not been fixed, it seems like it breaks Tycho, which breaks building releases using CI.

After I get the builds working, my next step is to merge in your pull request 93.

After that, I want to work on building a separate target for Cape Code, which is a configuration of Triquetrum for IoT. This will involve setting up a p2 repo that has non-blessed bundles.

_Christopher


On 8/3/16 4:11 AM, erwindl0 wrote:
Thanks Jonah!

The idea is indeed to merge your pull request 93 with this upgrade to Neon, and to work with the tpd files/approach afterwards.

cheers
erwin

Op 8/3/2016 om 12:28 AM schreef Jonah Graham:
Hi Christopher,

This may help https://bugs.eclipse.org/bugs/show_bug.cgi?id=491951

Short answer is that its not you, its Neon or Tycho or SWT, there are
a couple of ideas on how to work around it:
1- temporarily don't build for all platforms:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=491951#c25
    (note that in the bug there is some debate as to whether you get a
working cross platform build, afaict for Triq you do)
2- use Gunnar's workaround p2 site:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=491951#c35

Additionally, while you are editing target files you may find
https://github.com/eclipse/triquetrum/pull/93 useful. I updated it for
Neon and used the first workaround above. Change the first line of the
tpd file from:
target "Triq" with configurePhase
to
target "Triq" with allEnvironments configurePhase
go back to what it should be without bug 491951 in the way

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


On 2 August 2016 at 22:57, Christopher Brooks <cxh@xxxxxxxxxxxxxxxxx> wrote:
Hi Erwin,

I was able to upgrade Triquetrum to Neon.

However, the Maven (and thus Hudson) builds are broken.

Under Mac OS X, running "mvn clean compile" yields:

INFO] Adding repository
http://download.eclipse.org/tools/orbit/downloads/drops/R20151118145958/repository
[ERROR] Cannot resolve target definition:
[ERROR]   Problems resolving provisioning plan.:
[ERROR]      Unable to satisfy dependency from org.eclipse.swt
3.105.0.v20160603-0902 to org.eclipse.swt.gtk.linux.aarch64
[3.105.0.v20160603-0902].
[ERROR]      Unable to satisfy dependency from org.eclipse.swt
3.105.0.v20160603-0902 to org.eclipse.swt.gtk.solaris.x86
[3.105.0.v20160603-0902].
[ERROR]      Unable to satisfy dependency from org.eclipse.swt
3.105.0.v20160603-0902 to org.eclipse.swt.gtk.linux.arm
[3.105.0.v20160603-0902].
[ERROR]      Unable to satisfy dependency from org.eclipse.swt
3.105.0.v20160603-0902 to org.eclipse.swt.gtk.solaris.sparc
[3.105.0.v20160603-0902].
[ERROR]
[ERROR] Failed to resolve target definition
/Users/cxh/git/triquetrum/org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.target.platform.target:
See log for details -> [Help 1]
The Hudson build fails with something similar.

Do you have any idea about how to fix this?

I took a look at your change February change " Configure a multi-platform
build target" at
https://github.com/eclipse/triquetrum/commit/db4600cb5a4b560f3e930782364b2ae4c5f1b1a8
, but nothing jumped out.


Thanks,

_Chrisotpher


--
Christopher Brooks, PMP                       University of California
Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774
cxh@xxxxxxxxxxxxxxxxx, 707.332.0670           (Office: 545Q Cory)

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


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

--
Christopher Brooks, PMP                       University of California
Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774
cxh@xxxxxxxxxxxxxxxxx, 707.332.0670           (Office: 545Q Cory)



Back to the top