macaroni-os / macaroni-os/mark-issues
[net-kit] net-libs/ngtcp2-1.22.0 requires openssl 3.x
Open
Nobody has claimed this yet.
MARK
mark-iii
net-kit
- Dominant language
- No language data
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Just to trace. The openssl USE flag of ngtcp2 could be used only with Openssl 3.0.
| #define VERSION "1.22.0"
| /* end confdefs.h. */
|
| #include <openssl/ssl.h>
| #if defined(OPENSSL_IS_BORINGSSL) || defined(OPENSSL_IS_AWSLC)
| # error This is boringssl.
| #endif /* OPENSSL_IS_BORINGSSL || OPENSSL_IS_AWSLC */
|
| int
| main (void)
| {
|
| SSL_provide_quic_data(NULL, 0, NULL, 0);
|
| ;
| return 0;
| }
configure:21949: result: no
configure:21965: checking for SSL_set_quic_tls_cbs
configure:21982: x86_64-pc-linux-gnu-gcc -o conftest -mtune=generic -O2 -pipe -Wl,-O1 -Wl,--sort-common -Wl,--as-needed conftest.c -lssl -lcrypto >&5
conftest.c: In function 'main':
conftest.c:48:7: warning: implicit declaration of function 'SSL_set_quic_tls_cbs' [-Wimplicit-function-declaration]
48 | SSL_set_quic_tls_cbs(NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-libs/ngtcp2-1.22.0/temp/ccy8StQF.o: in function `main':
conftest.c:(.text.startup+0xd): undefined reference to `SSL_set_quic_tls_cbs'
collect2: error: ld returned 1 exit status
configure:21982: $? = 1
configure: failed program was:
| /* confdefs.h */
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the net-libs/ngtcp2-1.22.0 package definition and its OpenSSL USE-flag dependency. Reproduce or inspect the configure checks shown in the report, then verify that the package declares the required OpenSSL 3.x constraint and builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100