Discussion:
RCP dependency problems
(too old to reply)
LE MENEZ Quentin
2018-10-26 10:40:00 UTC
Permalink
Hi Everyone,

I am experiencing some trouble in the Papyrus' RCP build, it seems that it can't resolve some dependencies properly:
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolinggtk.linux.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolinggtk.linux.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.eclipse.papyrus.rcp.product.executable.gtk.linux.x86 4.2.0.201810261013 to org.eclipse.equinox.p2.iu; org.eclipse.equinox.launcher.gtk.linux.x86 0.0.0.; Unable to satisfy dependency from toolinggtk.linux.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolinggtk.linux.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingwin32.win32.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolingwin32.win32.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.eclipse.papyrus.rcp.product.executable.win32.win32.x86 4.2.0.201810261013 to org.eclipse.equinox.p2.iu; org.eclipse.equinox.launcher.win32.win32.x86 0.0.0.; Unable to satisfy dependency from toolingwin32.win32.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolingwin32.win32.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingcocoa.macosx.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolingcocoa.macosx.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool

[...]

[INFO] Installing product org.eclipse.papyrus.rcp.product for environment linux/gtk/x86_64 to C:\cygwin64\home\Papyrus\Papyrus-Master\releng\rcp\org.eclipse.papyrus.rcp.product\target\products\org.eclipse.papyrus.rcp.product\linux\gtk\x86_64\Papyrus
[DEBUG] Calling director with arguments: [-metadataRepository, file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/targetPlatformRepository/, -artifactRepository, file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/,file:/resolution-context-***@C%253A%255Ccygwin64%255Chome%255CPapyrus%255CPapyrus-Master%255Creleng%255Crcp%255Corg.eclipse.papyrus.rcp.product,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp/target/,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.feature/target/,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/,file:/C:/Users/QL238289/.m2/repository/, -installIU, org.eclipse.papyrus.rcp.product, -destination, C:\cygwin64\home\Papyrus\Papyrus-Master\releng\rcp\org.eclipse.papyrus.rcp.product\target\products\org.eclipse.papyrus.rcp.product\linux\gtk\x86_64\Papyrus, -profile, org.eclipse.papyrus, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64]
Installing org.eclipse.papyrus.rcp.product 4.2.0.201810261013.
Installation failed.
Cannot complete the install because one or more required items could not be found.
Software being installed: Papyrus 4.2.0.201810261013 (org.eclipse.papyrus.rcp.product 4.2.0.201810261013)
Missing requirement: toolinggtk.linux.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 requires 'osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235' but it could not be found
Cannot satisfy dependency:
From: Papyrus 4.2.0.201810261013 (org.eclipse.papyrus.rcp.product 4.2.0.201810261013)
To: org.eclipse.equinox.p2.iu; toolingorg.eclipse.papyrus.rcp.product.configuration [4.2.0.201810261013,4.2.0.201810261013]
Cannot satisfy dependency:
From: toolingorg.eclipse.papyrus.rcp.product.configuration 4.2.0.201810261013
To: org.eclipse.equinox.p2.iu; toolinggtk.linux.x86_64org.eclipse.equinox.ds [4.2.0.201810261013,4.2.0.201810261013]
Application failed, log file location: C:\cygwin64\home\Papyrus\Papyrus-Master\workspace\.metadata\.log


I tried adding the potentially troublesome plugins individually to the .target file and hard setting their versions but to no avail. (org.eclipse.equinox.launcher and **.ds)
I tried to add the p2 to the root pom.xml, and setting its release and snapshot to true in order to drag all available resources, but then again it did nothing
Strangely this problem appeared after the platform dependency was moved from 4.9 to 4.10 (the address available in the simrel repository) but I cannot yet see why it did.

If I missed something obvious, or not, any help would be greatly appreciated.

Thanks,
Quentin
LE MENEZ Quentin
2018-10-26 13:16:23 UTC
Permalink
Hi again,

So it seems I just went the wrong path trying to resolve a fairly simple bug. I just had to follow the instructions of Mickael here [1] and remove the absent 32 bits launcher environments.
Thanks Christian for the reminder on the drop of equinox.ds :)

Cheers,
Quentin

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

De : tycho-user-***@eclipse.org <tycho-user-***@eclipse.org> De la part de LE MENEZ Quentin
Envoyé : vendredi 26 octobre 2018 12:40
À : Tycho user list <tycho-***@eclipse.org>
Objet : [PROVENANCE INTERNET] [tycho-user] RCP dependency problems

Hi Everyone,

I am experiencing some trouble in the Papyrus' RCP build, it seems that it can't resolve some dependencies properly:
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolinggtk.linux.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolinggtk.linux.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.eclipse.papyrus.rcp.product.executable.gtk.linux.x86 4.2.0.201810261013 to org.eclipse.equinox.p2.iu; org.eclipse.equinox.launcher.gtk.linux.x86 0.0.0.; Unable to satisfy dependency from toolinggtk.linux.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolinggtk.linux.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingwin32.win32.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolingwin32.win32.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from org.eclipse.papyrus.rcp.product.executable.win32.win32.x86 4.2.0.201810261013 to org.eclipse.equinox.p2.iu; org.eclipse.equinox.launcher.win32.win32.x86 0.0.0.; Unable to satisfy dependency from toolingwin32.win32.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolingwin32.win32.x86org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingcocoa.macosx.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.; Unable to satisfy dependency from toolingcocoa.macosx.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 to osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235.]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool

[...]

[INFO] Installing product org.eclipse.papyrus.rcp.product for environment linux/gtk/x86_64 to C:\cygwin64\home\Papyrus\Papyrus-Master\releng\rcp\org.eclipse.papyrus.rcp.product\target\products\org.eclipse.papyrus.rcp.product\linux\gtk\x86_64\Papyrus
[DEBUG] Calling director with arguments: [-metadataRepository, file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/targetPlatformRepository/, -artifactRepository, file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/,file:/resolution-context-***@C%253A%255Ccygwin64%255Chome%255CPapyrus%255CPapyrus-Master%255Creleng%255Crcp%255Corg.eclipse.papyrus.rcp.product,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp/target/,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.feature/target/,file:/C:/cygwin64/home/Papyrus/Papyrus-Master/releng/rcp/org.eclipse.papyrus.rcp.product/target/,file:/C:/Users/QL238289/.m2/repository/, -installIU, org.eclipse.papyrus.rcp.product, -destination, C:\cygwin64\home\Papyrus\Papyrus-Master\releng\rcp\org.eclipse.papyrus.rcp.product\target\products\org.eclipse.papyrus.rcp.product\linux\gtk\x86_64\Papyrus, -profile, org.eclipse.papyrus, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64]
Installing org.eclipse.papyrus.rcp.product 4.2.0.201810261013.
Installation failed.
Cannot complete the install because one or more required items could not be found.
Software being installed: Papyrus 4.2.0.201810261013 (org.eclipse.papyrus.rcp.product 4.2.0.201810261013)
Missing requirement: toolinggtk.linux.x86_64org.eclipse.equinox.ds 4.2.0.201810261013 requires 'osgi.bundle; org.eclipse.equinox.ds 1.5.200.v20180827-1235' but it could not be found
Cannot satisfy dependency:
From: Papyrus 4.2.0.201810261013 (org.eclipse.papyrus.rcp.product 4.2.0.201810261013)
To: org.eclipse.equinox.p2.iu; toolingorg.eclipse.papyrus.rcp.product.configuration [4.2.0.201810261013,4.2.0.201810261013]
Cannot satisfy dependency:
From: toolingorg.eclipse.papyrus.rcp.product.configuration 4.2.0.201810261013
To: org.eclipse.equinox.p2.iu; toolinggtk.linux.x86_64org.eclipse.equinox.ds [4.2.0.201810261013,4.2.0.201810261013]
Application failed, log file location: C:\cygwin64\home\Papyrus\Papyrus-Master\workspace\.metadata\.log


I tried adding the potentially troublesome plugins individually to the .target file and hard setting their versions but to no avail. (org.eclipse.equinox.launcher and **.ds)
I tried to add the p2 to the root pom.xml, and setting its release and snapshot to true in order to drag all available resources, but then again it did nothing
Strangely this problem appeared after the platform dependency was moved from 4.9 to 4.10 (the address available in the simrel repository) but I cannot yet see why it did.

If I missed something obvious, or not, any help would be greatly appreciated.

Thanks,
Quentin

Continue reading on narkive:
Loading...