Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359255 - net-libs/libgadu-1.10.0-r1 USE="gnutls -ssl" conflict/confusion (because of REQUIRED_USE)
Summary: net-libs/libgadu-1.10.0-r1 USE="gnutls -ssl" conflict/confusion (because of R...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 09:51 UTC by tman
Modified: 2011-03-18 04:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-03-17 09:51:26 UTC
ther is a conflic with this USE, if u enable ssl, gnutls must be disable and reverse vice, but it dont work.

if i deactivate ssl and let gnutls , it complains.

i can only emerge if i deactivate gnutls and ssl. this should not be

Reproducible: Always



Expected Results:  
that one of both should work
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-17 18:15:26 UTC
1) Please attach the relevant build log(s).
2) Please post your `emerge --info' output as well.
Comment 2 tman 2011-03-17 19:17:24 UTC
 emerge -uDN libgadu
Calculating dependencies /

!!! Problem resolving dependencies for net-libs/libgadu                                                                                                                                                                              ... done!

!!! The ebuild selected to satisfy "libgadu" has unmet requirements.
- net-libs/libgadu-1.10.1 USE="gnutls (multilib) threads -doc -ssl -static-libs"

  The following REQUIRED_USE flag constraints are unsatisfied:
    gnutls? ( ssl )
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-18 01:49:21 UTC
So you set both:

$ euses -cs ssl gnutls 
ssl - Adds support for Secure Socket Layer connections
gnutls - Adds support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support)

USE=ssl adds SSL support.
USE=gnutls further specifies that net-libs/gnutls should be used for SSL support.

1) I guess the traditional way to handle this is to implicitly set (the effects of) USE=ssl when USE=gnutls is given, and the REQUIRED_USE could simply be removed.

2) So really, you could solve this problem by setting USE="gnutls ssl" easily, but maybe the solution isn't clear from the way emerge explains it, so...

3) This bug report could be ultimately assigned to dev-portage@ instead.
Comment 4 tman 2011-03-18 04:23:24 UTC
ok it solved, thanks u. i was confuse because the early version only allowed gnutls or ssl but not both.


its really a pain sometime if portage message is too unclearly