[gentoo-dev] The following USE changes are necessary to proceed - Why?

2012-02-10 Thread Hilco Wijbenga
Hi all,

I am about to upgrade gnutls. Given the output below:

centaur ~ # emerge gnutls -vp

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

Calculating dependencies... done!
[ebuild  N ] dev-libs/nettle-2.4  USE=gmp ssl 1,051 kB
[ebuild U  ] net-libs/gnutls-2.12.16 [2.10.5] USE=cxx nettle%*
zlib -bindist -doc -examples -guile -lzo -nls -pkcs11% -static-libs%
-test 7,000 kB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 8,051 kB

The following USE changes are necessary to proceed:
#required by net-libs/gnutls-2.12.16[nettle], required by gnutls (argument)
=dev-libs/nettle-2.4 gmp

So I added the nettle USE flag. I tried both package.use and make.conf
but it doesn't seem to make any difference: Portage keeps giving me
the above output.

Why does portage keep complaining? I'm sure that after the update
everything will be fine but it seems to me that Portage should not
tell me about USE changes if I've already made them?

Cheers,
Hilco



Re: [gentoo-dev] The following USE changes are necessary to proceed - Why?

2012-02-10 Thread ross smith
 The following USE changes are necessary to proceed:
 #required by net-libs/gnutls-2.12.16[nettle], required by gnutls (argument)
 =dev-libs/nettle-2.4 gmp

 So I added the nettle USE flag. I tried both package.use and make.conf
 but it doesn't seem to make any difference: Portage keeps giving me
 the above output.


The line above is not prompting you to turn on the nettle use flag, which
appears to already be on.  It's prompting you to add the gmp use flag for
dev-libs/nettle.

-Ross


Re: [gentoo-dev] The following USE changes are necessary to proceed - Why?

2012-02-10 Thread Matt Turner
On Fri, Feb 10, 2012 at 2:17 PM, ross smith gaur...@gmail.com wrote:
 The line above is not prompting you to turn on the nettle use flag, which
 appears to already be on.  It's prompting you to add the gmp use flag for
 dev-libs/nettle.

Which looks like it's on as well.

In either case -- this isn't gentoo-dev material.



Re: [gentoo-dev] The following USE changes are necessary to proceed - Why?

2012-02-10 Thread Markos Chandras
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 02/10/2012 06:50 PM, Hilco Wijbenga wrote:
 Hi all,
 
 I am about to upgrade gnutls. Given the output below:
 
 centaur ~ # emerge gnutls -vp
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done! [ebuild  N ]
 dev-libs/nettle-2.4  USE=gmp ssl 1,051 kB [ebuild U  ]
 net-libs/gnutls-2.12.16 [2.10.5] USE=cxx nettle%* zlib -bindist
 -doc -examples -guile -lzo -nls -pkcs11% -static-libs% -test 7,000
 kB
 
 Total: 2 packages (1 upgrade, 1 new), Size of downloads: 8,051 kB
 
 The following USE changes are necessary to proceed: #required by
 net-libs/gnutls-2.12.16[nettle], required by gnutls (argument)
 =dev-libs/nettle-2.4 gmp
 
 So I added the nettle USE flag. I tried both package.use and
 make.conf but it doesn't seem to make any difference: Portage keeps
 giving me the above output.
 
 Why does portage keep complaining? I'm sure that after the update 
 everything will be fine but it seems to me that Portage should not 
 tell me about USE changes if I've already made them?
 
 Cheers, Hilco
 
I says nothing about nettle use flag. It says:

Enable the *gmp* flag to the dev-libs/nettle package

- -- 
Regards,
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)

iQIcBAEBCgAGBQJPNXAGAAoJEPqDWhW0r/LC5JwP/iUv2A+BD1mT1XSyrgomeLQD
SysHTRrj1BUmApp8HTbKApJYHETcAcsPJ/c/CdFNWG7JiWCPcUtxvN9s8N9NR5Uq
nk9an8yim7AxdiPTfBGmuA0xXS+fkv/eJ+Ujx8dNaNhg4M76pfQT2lbIoA13kfY1
5b3NcSAcha37aGmICG2ytpeVthwQRfj3q+s7qlc/2mT5nEsUZ0ML2l746EPenqTm
WUCJ8EOf5pxGUvW8TlMPklpY4P7hMsCrdZTq4JoF9KmkQWnbgIz6zD59cWN+y5/w
zAtFX5ZNCCKlFzef7mvH6eRB8hDDqa7xG1djSeUDTHLP5XJjsg5c+K/mplz8hWXt
w2n3FAQqYyCoVN7pk3DP5ID0D33gMat0kFkGGFCgbMByJChffVd/R6o7emmVnHWk
bQ2v3+NA69Gu/KkqYcXRdqdP9pPlxU0En7X7fnSYc9u9smnGwCJHTwiWHRpRzJek
7PQB3zcA1cybfexfl6QfYe6TdI2kXewzaIZaVDaREv67CwcLolOJCFUi7VVrX2p+
byZAiSZN2Xe7Z1QhUuy5V7RG0e2HHNXarYOVEapjMI6S0dJpLcJanaluxuR0WBc/
yXB3kpa54TcTX0ACbwykQ9IEAldamtPELJahGz/NSyo6Fzllslk6phwB4tKbEtOF
nl4FD6DhSgoaHeT2Fatb
=Tgyj
-END PGP SIGNATURE-



Re: [gentoo-dev] The following USE changes are necessary to proceed - Why?

2012-02-10 Thread Zac Medico
On 02/10/2012 11:23 AM, Matt Turner wrote:
 On Fri, Feb 10, 2012 at 2:17 PM, ross smith gaur...@gmail.com wrote:
 The line above is not prompting you to turn on the nettle use flag, which
 appears to already be on.  It's prompting you to add the gmp use flag for
 dev-libs/nettle.
 
 Which looks like it's on as well.

It looks that way, but that's because emerge enabled it automatically to
satisfy the dep (--autounmask is enabled by default these days). The
prompt is there to notify the user that they need to adjust their
configuration files (or use --autounmask-write).

 In either case -- this isn't gentoo-dev material.

Indeed, forums.gentoo.org would be more appropriate.
-- 
Thanks,
Zac



Re: [gentoo-dev] The following USE changes are necessary to proceed - Why?

2012-02-10 Thread Hilco Wijbenga
On 10 February 2012 11:29, Zac Medico zmed...@gentoo.org wrote:
 On 02/10/2012 11:23 AM, Matt Turner wrote:
 On Fri, Feb 10, 2012 at 2:17 PM, ross smith gaur...@gmail.com wrote:
 The line above is not prompting you to turn on the nettle use flag, which
 appears to already be on.  It's prompting you to add the gmp use flag for
 dev-libs/nettle.

Groan ... indeed.

 Which looks like it's on as well.

 It looks that way, but that's because emerge enabled it automatically to
 satisfy the dep (--autounmask is enabled by default these days). The
 prompt is there to notify the user that they need to adjust their
 configuration files (or use --autounmask-write).

I've disabled autounmask. The error message you get without autounmask
is much clearer. I can see the value of autounmask but the error
(info?) message could be made clearer. (Not that it doesn't contain
all needed information, I obviously wasn't paying enough attention and
the first line threw me.)

 In either case -- this isn't gentoo-dev material.

No, probably not, it was mostly user error. Still, see above.

 Indeed, forums.gentoo.org would be more appropriate.

Gentoo-user, sure. forums.gentoo.org? No never. MLs are useful, forums
are a pain. But that's a whole different discussion. :-)