Mailinglist Archive: opensuse-buildservice (287 mails)

< Previous Next >
Re: [opensuse-buildservice] expansion error: have choice for
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 19 Sep 2007 15:00:58 +0200
  • Message-id: <20070919130058.GA2637@xxxxxxx>
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References