[opensuse-buildservice] Dependency resolution prefers package names rather than "provides"?
With the OBS down I can't give any example now. But if there is
packageA-devel in openSUSE:12.1 and in the devel project it is renamed
to stillpackageA-devel, the other packages in that devel project that
require "packageA-devel" seem to prefer packageA-devel to
stillpackageA-devel. stillpackageA-devel provides "packageA-devel =
On Sun, Jan 15, 2012 at 11:31:25AM +0000, Cristian Morales Vega wrote:
With the OBS down I can't give any example now. But if there is packageA-devel in openSUSE:12.1 and in the devel project it is renamed to stillpackageA-devel, the other packages in that devel project that require "packageA-devel" seem to prefer packageA-devel to stillpackageA-devel. stillpackageA-devel provides "packageA-devel =
" and obsoletes "packageA-devel < ". Is this expected?
No, you should get an "unresolvabe error". But "BuildRequires" indeed prefer the exact name. Maybe that's the issue in your case. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 16 January 2012 11:23, Michael Schroeder
On Sun, Jan 15, 2012 at 11:31:25AM +0000, Cristian Morales Vega wrote:
With the OBS down I can't give any example now. But if there is packageA-devel in openSUSE:12.1 and in the devel project it is renamed to stillpackageA-devel, the other packages in that devel project that require "packageA-devel" seem to prefer packageA-devel to stillpackageA-devel. stillpackageA-devel provides "packageA-devel =
" and obsoletes "packageA-devel < ". Is this expected? No, you should get an "unresolvabe error". But "BuildRequires" indeed prefer the exact name. Maybe that's the issue in your case.
Yes, sorry, I meant BuildRequires. What's the logic behind that behaviour? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, Jan 16, 2012 at 12:03:38PM +0000, Cristian Morales Vega wrote:
No, you should get an "unresolvabe error". But "BuildRequires" indeed prefer the exact name. Maybe that's the issue in your case.
Yes, sorry, I meant BuildRequires. What's the logic behind that behaviour?
Otherwise you wouldn't be able to select with package you need if there are multiple choices. (I.e. it's a way to locally overwrite the prefers from the project config). Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Cristian Morales Vega
-
Michael Schroeder