Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho Build with Eclipse Target includingGalileoBabel

Well observed. Tycho does in fact resolve separately per ws/os/arch (because of a p2 limitation [1]), so the most likely solution is that the metadata of org.eclipse.babel.nls_eclipse_de.feature.group is broken.

You could use Igor's p2 browser to look at the org.eclipse.babel.nls_eclipse_de.feature.group "unit". I suppose that the platform filters are missing on the dependency.

Regards
Tobias


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=356582

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Alexander Weickmann
> Sent: Freitag, 1. März 2013 10:21
> To: Tycho user list
> Subject: Re: [tycho-user] Tycho Build with Eclipse Target
> includingGalileoBabel
> 
> Hi,
> 
> actually it's not specific to Tycho using an Eclipse Target Definition
> file. It also happens if I compose the Tycho Target Platform via a simple
> list of p2 repositories and include the babel feature as a whole. It seems
> like he wants to resolve all fragments of the babel feature. But I don't
> know why he fails with that. For example:
> 
> Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.core.net.linux.x86.nl_de [3.5.0.v20111128114305].
> 
> The fragment org.eclipse.core.net.linux.x86.nl_de is actually in my p2
> repository with this exact same version. And it's fragment host
> org.eclipse.core.net.linux.x86 is also in my eclipse Galileo p2
> repository, with that exact same version. So why does Tycho fail to
> resolve this?
> 
> Does Tycho maybe build each target environment separately? Because in my
> console following is written:
> [INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86,
> org.eclipse.update.install.features=true}
> [ERROR] Cannot resolve project dependencies:
> 
> And then the errors come. Seems like he wants to resolve target for win32,
> which probably he does not include the linux stuff from babel, which then
> causes the Babel feature to fail?
> 
> Alex
> 
> Alexander Weickmann
> Faktor Zehn AG
> Neumarkter Str. 71
> D-81673 München
> Telefon +49 / (0)89 / 520311-998
> Telefax +49 / (0)89 / 520311-999
> 
> Sitz der Gesellschaft: München
> Vorstand: Martin Hinz (Vorsitz), Dr. Florian Schwandt (Std. Vorsitz), Dr.
> Renate Hums, Christian Madey, Jan Ortmann
> Aufsichtsratsvorsitzender: Ralf-Eckehart Rehberg
> 
> Registergericht: Amtsgericht München
> Registernummer: HRB 169990
> 
> -----Ursprüngliche Nachricht-----
> Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] Im Auftrag von Sievers, Jan
> Gesendet: Freitag, 1. März 2013 10:18
> An: Tycho user list
> Betreff: Re: [tycho-user] Tycho Build with Eclipse Target includingGalileo
> Babel
> 
> it's probably related though:
> 
> the babel repo has some funky "enhanced" p2 metadata using optional deps
> and non-greediness [1] which may  jeopardize dependency resolution
> 
> Jan
> 
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=256430#c6
> 
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Jeff MAURY
> Sent: Freitag, 1. März 2013 10:09
> To: Tycho user list
> Subject: Re: [tycho-user] Tycho Build with Eclipse Target including
> Galileo Babel
> 
> I'm not quite sure this is the same bug as you were facing a compilation
> error and Alexander is facing a resolution error.
> 
> Regards
> Jeff
> 
> On Thu, Feb 28, 2013 at 10:39 PM, Rizzo, Eric <Eric.Rizzo@xxxxxxx> wrote:
> Alex,
> I'm not certain, but this sounds like a similar problem I asked about. The
> discussion starts here: http://dev.eclipse.org/mhonarc/lists/tycho-
> user/msg03901.html
> 
> Basically, it was a bug in 0.16 which has been addressed in 0.17. The
> related bug is here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=399966
> 
> Hope this helps,
> Eric
> 
> 
> On 2/28/13 11:48 AM, "Alexander Weickmann" wrote:
> 
> Hi,
> 
> I get a strange error when trying to use a PDE target definition file:
> 
> "Problems resolving provisioning plan.": ["Unable to satisfy dependency
> from org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305
> to org.eclipse.core.net.linux.x86.nl_de [3.5.0.v20111128114305].", "Unable
> to satisfy dependency from org.eclipse.babel.nls_eclipse_de.feature.group
> 3.5.0.v20111128114305 to org.eclipse.core.net.win32.x86_64.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.carbon.macosx.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.cocoa.macosx.nl_de [3.5.0.v20111128114305].",
> "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.cocoa.macosx.x86_64.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.gtk.linux.s390.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.gtk.linux.s390x.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.gtk.linux.x86.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.gtk.solaris.sparc.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.gtk.solaris.x86.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.motif.aix.ppc.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.motif.hpux.ia64_32.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.motif.linux.x86.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.motif.solaris.sparc.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.equinox.launcher.win32.win32.x86_64.nl_de
> [3.5.0.v20111128114305].", "Unable to satisfy dependency from
> org.eclipse.babel.nls_eclipse_de.feature.group 3.5.0.v20111128114305 to
> org.eclipse.jdt.launching.macosx.nl_de [3.5.0.v20111128114305].", "Unable
> to satisfy dependency from org.eclipse.babel.nls_eclipse_de.feature.group
> 3.5.0.v20111128114305 to org.eclipse.jdt.launching.ui.macosx.nl_de
> [3.5.0.v20111128114305]."] -> [Help 1]
> 
> So I have the feature
>  org.eclipse.babel.nls_eclipse_de.feature.group
> within my target platform file.
> 
> I checked out the feature.xml and it for example says, that it contains a
> plugin called
>   org.eclipse.core.net.linux.x86.nl_de
> 
> This plugin is the first unsatisfied dependency in above error message.
> However, the plugin really exists within my babel p2 repository. It's
> fragment host is
>   org.eclipse.core.net.linux.x86
> 
> This fragment host exists in my Eclipse Galileo p2 repository, which is
> also part of the target definition file.
> 
> My target-platform-configuration looks like this:
>       <plugin>
> 
> <groupId>org.eclipse.tycho</groupId>
> 
> <artifactId>target-platform-configuration</artifactId>
> 
> <version>${version.tycho}</version>
>                                                            <configuration>
> 
> <environments>
> 
>                <environment>
> 
>                              <os>win32</os>
> 
>                              <ws>win32</ws>
> 
>                              <arch>x86</arch>
> 
>                </environment>
> 
>                <environment>
> 
>                              <os>linux</os>
> 
>                              <ws>gtk</ws>
> 
>                              <arch>x86</arch>
> 
>                </environment>
> 
>                <environment>
> 
>                              <os>linux</os>
> 
>                              <ws>gtk</ws>
> 
>                              <arch>x86_64</arch>
> 
>                </environment>
> 
>                <environment>
> 
>                                             <os>macosx</os>
> 
>                                             <ws>cocoa</ws>
> 
>                                             <arch>x86_64</arch>
> 
>                                             </environment>
> 
> </environments>
> 
> <format>yyyyMMdd-HHmm</format>
> 
> </configuration>
>                                             </plugin>
> 
> And is extended in a child pom to use the PDE target definition file. So
> all these environments are included, too.
> 
> I have absolutely no idea what this error is all about ... using tycho
> 0.16 by the way.
> 
> Alex
> 
> 
> Alexander Weickmann
> Faktor Zehn AG
> Neumarkter Str. 71
> D-81673 München
> Telefon +49 / (0)89 / 520311-998
> Telefax +49 / (0)89 / 520311-999
> 
> Sitz der Gesellschaft: München
> Vorstand: Martin Hinz (Vorsitz), Dr. Florian Schwandt (Std. Vorsitz), Dr.
> Renate Hums, Christian Madey, Jan Ortmann
> Aufsichtsratsvorsitzender: Ralf-Eckehart Rehberg
> 
> Registergericht: Amtsgericht München
> Registernummer: HRB 169990
> 
> 
> ________________________________________
> Faktorzehn AG       Sitz der Gesellschaft: München  Registernummer: HRB
> 169990 Registergericht: Amtsgericht München
> Vorstand: Martin Hinz (Vorsitz), Dr. Florian Schwandt (Stv. Vorsitz),Dr.
> Renate Hums, Christian Madey, Jan Ortmann
> Aufsichtsratsvorsitzender: Ralf-Eckehard Rehberg
> 
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> 
> 
> 
> --
> Jeff MAURY
> 
> 
> "Legacy code" often differs from its suggested alternative by actually
> working and scaling.
>  - Bjarne Stroustrup
> 
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.twitter.com/jeffmaury
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top