View previous topic :: View next topic |
Author |
Message |
potasium_nitrate n00b
Joined: 04 Oct 2024 Posts: 9
|
Posted: Sat Oct 05, 2024 8:08 am Post subject: can't get ngtcp2 to use openssl |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5120 Location: Bavaria
|
Posted: Sat Oct 05, 2024 8:27 am Post subject: |
|
|
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 |
|
|
potasium_nitrate n00b
Joined: 04 Oct 2024 Posts: 9
|
Posted: Sat Oct 05, 2024 9:04 am Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5120 Location: Bavaria
|
Posted: Sat Oct 05, 2024 1:18 pm Post subject: |
|
|
You can inspect every settings for portage with:
Code: | # grep -r --exclude-dir=savedconfig "" /etc/portage |
or you check it by using:
Code: | # emerge -evp @world |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
potasium_nitrate n00b
Joined: 04 Oct 2024 Posts: 9
|
Posted: Sat Oct 05, 2024 2:14 pm Post subject: |
|
|
After looking through those commands I couldn't find anything useful. It is possible that I just didn't look at it well enough since I'm new to gentoo though |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1923
|
Posted: Sat Oct 05, 2024 2:44 pm Post subject: |
|
|
potasium_nitrate wrote: | 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]) |
|
This says net-libs/nodejs (with system-ssl USE disabled) requires that net-libs/ngtcp2 must be built without gnutls USE enabled.
At the same time, this conflicts with ngtcp2 needing either gnutls USE or the masked openssl USE.
If at all possible, enable the system-ssl USE on net-libs/nodejs to bypass this circular conflict. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22693
|
Posted: Sat Oct 05, 2024 2:45 pm Post subject: |
|
|
potasium_nitrate wrote: | 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 ) )
(dependency required by "net-libs/nodejs-22.8.0::gentoo[-system-ssl]" [ebuild]) |
| Your problem has changed slightly. Per your incomplete output, nodejs wants ngtcp2 with USE=-gnutls. You have USE=gnutls, which you set while trying to get USE=ssl to work. Set USE=-ssl -gnutls on net-libs/ngtcp2, or pick a nodejs configuration that does not require USE=-gnutls. From a cursory read of the nodejs ebuild, it looks to me like USE=system-ssl would eliminate the requirement for USE=-gnutls: net-libs/nodejs/nodejs-22.8.0.ebuild: | system-ssl? (
>=net-libs/ngtcp2-1.3.0:=
>=dev-libs/openssl-1.1.1:0=
)
!system-ssl? ( >=net-libs/ngtcp2-1.3.0:=[-gnutls] )
|
|
|
Back to top |
|
|
potasium_nitrate n00b
Joined: 04 Oct 2024 Posts: 9
|
Posted: Sat Oct 05, 2024 3:37 pm Post subject: |
|
|
thanks, adding system-ssl to my nodejs package.use file fixed it :) |
|
Back to top |
|
|
|