Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] eclipse-repository question

Hi,

I'm trying to build a p2 repository from two existing repositories using the eclipse-repository packaging type. One of the repositories contains a feature that is os-specific (has os="linux" specified), as do the plugins that are included in the feature. When I try to aggregate the repositories, I get the following error:

[ERROR] Cannot resolve project dependencies:

[ERROR]   Software being installed: org.eclipse.ptp.master raw:4.1.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.1.0-SNAPSHOT

[ERROR]   Missing requirement: org.eclipse.ptp.master raw:4.1.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.1.0-SNAPSHOT requires 'org.eclipse.photran.intel.feature.group 0.0.0' but it could not be found

[ERROR] 

[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.ptp.master raw:4.1.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.1.0-SNAPSHOT to org.eclipse.photran.intel.feature.group 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]

The pom.xml contains a target-platform-configuration for linux:

			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<version>${tycho-version}</version>
				<configuration>
					<resolver>p2</resolver>
					<pomDependencies>consider</pomDependencies>
					<environments>
						<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>linux</os>
							<ws>gtk</ws>
							<arch>ppc64</arch>
						</environment>
						....

If I remove the feature from the category.xml file, the aggregation works fine. It only fails with this specific feature included.

Does anyone have any idea why this is happening, or how I can debug it?

Thanks,
Greg



Back to the top