Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336658 - [planner] Provide more detailed error message when filter is not applicable
Summary: [planner] Provide more detailed error message when filter is not applicable
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 363628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-08 16:25 EST by James Blackburn CLA
Modified: 2019-09-24 13:56 EDT (History)
3 users (show)

See Also:


Attachments
p2 screenshot (65.38 KB, image/jpeg)
2011-02-08 16:29 EST, James Blackburn CLA
no flags Details
Old UM (54.69 KB, image/jpeg)
2011-02-08 16:29 EST, James Blackburn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2011-02-08 16:25:25 EST
I'm trying to install the ClearCase SCM plugins from:
http://www3.software.ibm.com/ibmdl/pub/software/rationalsdp/clearcase/60/update/unix/

into Eclipse 3.6.1 on x86_64.

P2 says:

Cannot complete the install because some dependencies are not satisfiable
  com.rational.clearcase.linux.feature.group [7.5.0.v201010151645] cannot be installed in this environment because its filter is not applicable.

As a developer this is way too vague to work out what's wrong.  If I enable the old UM and try to install with that, I instead get:

 Rational ClearCase SCM Adapter (7.5.0.v201010151645) platform architecture does not match current environment.

Ah ha, I now know (if this is correct) the cause and where to look for the issue.

Looking at the feature.xml: features/com.rational.clearcase.linux_7.5.0.v201010151645/feature.xml
I see that indeed feature specifies:
      arch="sparc,x86"

I don't see how I could have worked out the problem using p2 alone.

Screenshots attached.
Comment 1 James Blackburn CLA 2011-02-08 16:29:13 EST
Created attachment 188552 [details]
p2 screenshot
Comment 2 James Blackburn CLA 2011-02-08 16:29:37 EST
Created attachment 188553 [details]
Old UM
Comment 3 Pascal Rapicault CLA 2011-02-09 06:33:09 EST
Note that in 3.7, it is now possible to hide things that are applicable to the context.
Comment 4 James Blackburn CLA 2011-02-09 07:53:25 EST
(In reply to comment #3)
> Note that in 3.7, it is now possible to hide things that are applicable to the
> context.

Sure, but I want to install the feature as a result want to know why the feature isn't applicable...  
In this case it turns out that the feature.xml is just wrong in its arch specification, so finding out why the match failed is invaluable.
Comment 5 Steve Francisco CLA 2012-04-26 10:32:01 EDT
*** Bug 363628 has been marked as a duplicate of this bug. ***
Comment 6 Eclipse Genie CLA 2019-01-26 19:45:21 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Lars Vogel CLA 2019-09-24 13:56:06 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.