On Mon, Jan 14, 2013 at 05:04:35PM +0530, Yohan Pereira wrote:
> On 14/01/13 at 11:18am, Alan Mackenzie wrote:
> > Hi, Gentoo.

> > Would somebody please help me with this error message, which arose from
> > # emerge -puND world
> > :

> > These are the packages that would be merged, in order:

> > Calculating dependencies \

> > !!! Problem resolving dependencies for media-gfx/sane-backends from 
> > @selected
> > ... done!

> > !!! The ebuild selected to satisfy "media-gfx/sane-backends" has unmet 
> > requirements.
> > - media-gfx/sane-backends-1.0.23::gentoo USE="ipv6 (multilib) usb -avahi 
> > -doc -gphoto2 -threads -v4l -xinetd" SANE_BACKENDS="abaton agfafocus apple 
> > artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp 
> > cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc 
> > epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 
> > hp5590 hpljm1005 hpsj5s hs2p (ibm) kodak kodakaio kvs1025 kvs20xx kvs40xx 
> > leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp 
> > mustek_usb mustek_usb2 nec net niash p5 pie pixma plustek plustek_pp qcam 
> > ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 
> > tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp -pnm"

> >   The following REQUIRED_USE flag constraints are unsatisfied:              
> >             <=============================================
> >     sane_backends_mustek_usb2? ( threads ) sane_backends_kvs40xx? ( threads 
> > )

> > (dependency required by "@selected" [set])
> > (dependency required by "@world" [argument])

> > ########################################################################

> > I'm mystified as to what a "REQUIRED_USE flag constraint" is.  What is
> > the significance of "sane_backends_mustek_usb2"?  It would appear not to
> > be a use flag.  What is the significance of "( threads )"?

> Bassicly its emerge is telling you that if you have
> sane_backends_mustek_usb2 enabled you also need to enable threads and
> similarly if you have sane_backends_kvs40xx enabled you need to enable
> threads. So in your case you need to enable threads or disable those 2
> backends.

Ah, it looks so obvious now.  ;-)  Thanks!

Another question - is there any sensible way of cutting the unnecessary
stuff out of SANE_BACKENDS?  That variable is set in the ebuild, and it
doesn't feel the Right Thing to edit the ebuild file.

> -- 

> - Yohan Pereira

-- 
Alan Mackenzie (Nuremberg, Germany).

Reply via email to