[opensuse-buildservice] expansion error: have choice for
Hi all, we maintain a project Java:jpackage-1.7 in BS, which we suppose will include about 500 packages. We've got problems with solving build dependencies: Package 'A' has BuildRequires which can be solved by packages 'B' and 'C' which are also part of the project. This results in "expansion error: have choice for ....". Is there a workaround for this? We don't want to change the BuildRequires of package 'A'. How could we tell BS that for our project it should always prefer package 'B' to 'C' when solving BuildRequires? Thank you Ales --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Ales Nosek wrote:
Package 'A' has BuildRequires which can be solved by packages 'B' and 'C' which are also part of the project. This results in "expansion error: have choice for ....".
Is there a workaround for this? We don't want to change the BuildRequires of package 'A'. How could we tell BS that for our project it should always prefer package 'B' to 'C' when solving BuildRequires?
You can add 'Prefer: package' (to pick this one) or 'Prefer: -package' (to ignore this one) to the project config (osc meta -e prjconf <project>). hth, Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Sep 19, 2007 at 02:32:50PM +0200, Ales Nosek wrote:
we maintain a project Java:jpackage-1.7 in BS, which we suppose will include about 500 packages. We've got problems with solving build dependencies: Package 'A' has BuildRequires which can be solved by packages 'B' and 'C' which are also part of the project. This results in "expansion error: have choice for ....".
Is there a workaround for this? We don't want to change the BuildRequires of package 'A'. How could we tell BS that for our project it should always prefer package 'B' to 'C' when solving BuildRequires?
You need to put a line Prefer: B in the configuration of your project. You can use 'osc meta prjconf' to do this, AFAIK it's not supported in the web client yet. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Super, that is exactly what I needed. Thank you Where can I find documentation describing project config file? Ales --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Sep 20, 2007 at 11:18:55AM +0200, Ales Nosek wrote:
Super, that is exactly what I needed. Thank you Where can I find documentation describing project config file?
http://en.opensuse.org/Build_Service/Tips_and_Tricks Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Ales Nosek
-
Michael Schroeder
-
Michal Marek