When building Rust, it compiles the curl-sys crate. This crate has a test that causes it to ignore the system curl and compile a builtin static version if it can't detect HTTP2 support.
Can the dependency be changed to require this configuration so that it uses the system curl consistently?
(This is not high priority, so I'll just force USE=http2 locally if this isn't something that should be a hard-coded dependency ... and I'll live with the fact that in sysroot builds, build.rs links against the library in the sysroot but tests /usr/bin/curl-config for HTTP2 support.)
@@ -65,7 +65,7 @@
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
amazing that most of the -sys crate problems come from the same source.
I'll add it on next bump.
This is still an issue with dev-lang/rust-1.45.0.
thanks for checking, unfortunately I've lost some changes saved in git stash...
The bug has been referenced in the following commit(s):
Author: Georgy Yakovlev <email@example.com>
AuthorDate: 2020-07-24 23:35:34 +0000
Commit: Georgy Yakovlev <firstname.lastname@example.org>
CommitDate: 2020-07-24 23:36:06 +0000
dev-lang/rust: depend on curl[http2]
No revbump, spare users a rebuild.
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Georgy Yakovlev <email@example.com>
dev-lang/rust/rust-1.45.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
leaving open until next stable lands.
Please actually arrange for curl to default enable USE=http2 then with its maintainer, so that users don't need to immediately add package.use entries when they need to install librsvg or firefox.
Or alternatively, do I to fix this only for gnome profiles?
(In reply to Mart Raudsepp from comment #6)
> Please actually arrange for curl to default enable USE=http2 then with its
> maintainer, so that users don't need to immediately add package.use entries
> when they need to install librsvg or firefox.
> Or alternatively, do I to fix this only for gnome profiles?
blueness has done this with curl ebuild IUSE default in bug 736744 before requesting stabilization
curl defaults to [http2] useflag.
thanks all, closing.