Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't get ngtcp2 to use openssl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
potasium_nitrate
n00b
n00b


Joined: 04 Oct 2024
Posts: 5

PostPosted: Sat Oct 05, 2024 8:08 am    Post subject: can't get ngtcp2 to use openssl Reply with quote

I'm trying to install nodejs and despite having set it to use openssl my package.use and setting openssl as a global use flag it still outputs. No matter what I set it still outputs this and I can't figure out why
Code:
!!! The ebuild selected to satisfy ">=net-libs/ngtcp2-1.3.0:=[-gnutls]" has unmet requirements.
- net-libs/ngtcp2-1.7.0::gentoo USE="ssl -gnutls (-openssl) -static-libs -test" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    ssl? ( any-of ( gnutls openssl ) )

  The above constraints are a subset of the following complete expression:
    ssl? ( any-of ( gnutls openssl ) ) test? ( static-libs )

(dependency required by "net-libs/nodejs-22.8.0::gentoo[-system-ssl]" [ebuild])
(dependency required by "nodejs" [argument])
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4921
Location: Bavaria

PostPosted: Sat Oct 05, 2024 8:27 am    Post subject: Reply with quote

The Use-flag "openssl" for this package is masked -> it is in parentheses: (-openssl)

So, you can use only "gnutls". If I try to emerge this package, I see this is enabled per default:
Code:
# emerge -1pvD net-libs/ngtcp2

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

Calculating dependencies... done!
Dependency resolution took 2.72 s (backtrack: 0/20).

[ebuild   R    ] net-libs/ngtcp2-1.7.0::gentoo  USE="gnutls ssl (-openssl) -static-libs -test" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

So, do you have disabled "gnutls" somewhere ? If yes, remove it.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
potasium_nitrate
n00b
n00b


Joined: 04 Oct 2024
Posts: 5

PostPosted: Sat Oct 05, 2024 9:04 am    Post subject: Reply with quote

I've added gnutls to my package.use and it changed the USE message but the REQUIRED_USE is still the same

Code:
!!! The ebuild selected to satisfy ">=net-libs/ngtcp2-1.3.0:=[-gnutls]" has unmet requirements.
- net-libs/ngtcp2-1.7.0::gentoo USE="gnutls ssl (-openssl) -static-libs -test" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    ssl? ( any-of ( gnutls openssl ) )

  The above constraints are a subset of the following complete expression:
    ssl? ( any-of ( gnutls openssl ) ) test? ( static-libs )

(dependency required by "net-libs/nodejs-22.8.0::gentoo[-system-ssl]" [ebuild])
(dependency required by "nodejs" [argument])
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum