Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835851 - net-misc/curl[quiche] needs at least net-libs/quiche-0.10.0
Summary: net-misc/curl[quiche] needs at least net-libs/quiche-0.10.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Jolly
URL: https://github.com/cloudflare/quiche/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-23 14:30 UTC by Maciej S. Szmigiero
Modified: 2023-02-16 05:08 UTC (History)
1 user (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 Maciej S. Szmigiero 2022-03-23 14:30:31 UTC
net-misc/curl[quiche] (at least in version 7.82.0) depends on net-libs/quiche-0.3.0 but needs at least net-libs/quiche-0.10.0 to successfully compile:
> /var/tmp/portage/net-misc/curl-7.82.0-r1/work/curl-7.82.0/lib/vquic/quiche.c: In function ‘h3_stream_recv’:
> /var/tmp/portage/net-misc/curl-7.82.0-r1/work/curl-7.82.0/lib/vquic/quiche.c:650:10: error: ‘QUICHE_H3_EVENT_RESET’ undeclared (first use in this function); did you mean ‘QUICHE_H3_EVENT_DATA’?
>   650 |     case QUICHE_H3_EVENT_RESET:
>       |          ^~~~~~~~~~~~~~~~~~~~~
>       |          QUICHE_H3_EVENT_DATA
> /var/tmp/portage/net-misc/curl-7.82.0-r1/work/curl-7.82.0/lib/vquic/quiche.c:650:10: note: each undeclared identifier is reported only once for each function it appears in

See $URL for net-libs/quiche upstream commit that introduced QUICHE_H3_EVENT_RESET.
Comment 1 Matt Jolly gentoo-dev 2023-02-10 08:01:57 UTC
`quiche` USE is being dropped due to the requirement to build cURL with BoringSSL (the same lib used to build quiche) if quiche is enabled.
Comment 2 Larry the Git Cow gentoo-dev 2023-02-16 05:08:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6ec8d4579f9fbb2b3fbfb93de2abb7893cb42f

commit 1c6ec8d4579f9fbb2b3fbfb93de2abb7893cb42f
Author:     Matt Jolly <Matt.Jolly@footclan.ninja>
AuthorDate: 2023-02-09 23:37:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-16 05:08:27 +0000

    net-misc/curl: add 7.88.0
    
    drop ipv6 and quiche USE
    
    Using quiche requires building cURL with the same SSL flavour
    as the quiche library (i.e. BoringSSL). This is currently
    unsupported on Gentoo.
    
    Drop `ipv6` USE; it doesn't require additional deps and `--ipv4`
    can be used at runtime to force connectivity in dual-stack configurations.
    
    Closes: https://bugs.gentoo.org/881711
    Closes: https://bugs.gentoo.org/792234
    Closes: https://bugs.gentoo.org/847451
    Closes: https://bugs.gentoo.org/867985
    Closes: https://bugs.gentoo.org/835851
    
    Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
    Closes: https://github.com/gentoo/gentoo/pull/29511
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/curl/Manifest                             |   2 +
 net-misc/curl/curl-7.88.0.ebuild                   | 298 +++++++++++++++++++++
 .../files/curl-7.88.0-test-gnuserv-tls-srp.patch   |  39 +++
 .../curl-7.88.0-test-uninitialised-value.patch     |  30 +++
 4 files changed, 369 insertions(+)