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

Just had another quick check, for another of my projects [1] I don't
bother using all environments, but I never build cross platform in PDE
anymore. Out of that I get fully functional builds for all platforms
[2]

[1] https://github.com/jonahkichwacoders/org.eclipse.ease.core/blob/EASE_Demo_Product/product/org.eclipse.ease.releng.product.target/org.eclipse.ease.releng.product.target.target#L6
[2] https://www.dropbox.com/sh/5cwzbzrsebdyd6x/AACRc-p3VpyJCqU4Yqtdp27Ca?dl=0

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


On 3 August 2016 at 14:00, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
> OK. AFAICT the first method allows multi-platform for Tycho, but not
> PDE build. The discussion was slightly confused on the bug, but as I
> mentioned earlier when I tried building PR93 I got all platforms as
> expected.
> ~~~
> Jonah Graham
> Kichwa Coders Ltd.
> www.kichwacoders.com
>
>
> On 3 August 2016 at 13:55, Christopher Brooks <cxh@xxxxxxxxxxxxxxxxx> wrote:
>> Hi Jonah,
>>
>> Good question. In your email, you had two approaches, the first was to not
>> build on multiple platforms, the second was to use Gunnar's p2 repo.  I want
>> to build for all platforms in the Hudson CI build so that people can
>> download and run Triquetrum, so I went with the second approach.
>>
>> In the bug, there were various ideas, but Gunnar's p2 repo seemed easiest.
>>
>> When I set up our own p2 repo, I'll consider copying over Gunnar's p2 repo.
>>
>> I agree about that the votes do not do much, but there is not much else to
>> be done.  Being added as a CC is also helpful.
>>
>> _Christopher
>>
>>
>> On 8/3/16 8:47 AM, Jonah Graham wrote:
>>>
>>> Out of curiosity, how did you decide which workaround to use. Did the
>>> first option not work?
>>>
>>> As for votes, I don't think they count for much.... Perhaps if a
>>> project has some extra resources that it is trying to decide to
>>> deploy.
>>>
>>> Jonah
>>> ~~~
>>> Jonah Graham
>>> Kichwa Coders Ltd.
>>> www.kichwacoders.com
>>>
>>>
>>> On 3 August 2016 at 13:44, Christopher Brooks <cxh@xxxxxxxxxxxxxxxxx>
>>> wrote:
>>>>
>>>> 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)
>>>>
>>>> _______________________________________________
>>>> 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)
>>
>> _______________________________________________
>> 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


Back to the top