I took a look at it, but it seems you understand it way more than I do from the level of detail I saw in your PR. Perhaps upstream can help with it?
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/cpp-httplib.git (read-only, click to copy) |
|---|---|
| Package Base: | cpp-httplib |
| Description: | A C++ header-only HTTP/HTTPS server and client library |
| Upstream URL: | https://github.com/yhirose/cpp-httplib |
| Keywords: | networking requests |
| Licenses: | MIT |
| Submitter: | sum01 |
| Maintainer: | sum01 |
| Last Packager: | sum01 |
| Votes: | 5 |
| Popularity: | 1.48 |
| First Submitted: | 2020-05-10 04:07 (UTC) |
| Last Updated: | 2026-06-21 04:26 (UTC) |
I took a look at it, but it seems you understand it way more than I do from the level of detail I saw in your PR. Perhaps upstream can help with it?
The package was adopted to the official repository. The CMake target is not exported. I opened an issue, https://gitlab.archlinux.org/archlinux/packaging/packages/cpp-httplib/-/work_items/1. Support would be appreciated.
@txtsd thank you, that worked!
Y'all, just run makepkg --nocheck and it will skip tests.
Can't pass tests on either version... Seems like I lost the old package files when I accidentally did cleanbuild. What do I do :(
All those test are failing for me too on this package and compiled one. I also rollback to old package to use it.
@smartassskeleton I got the same failed test results in my cachyos but 0test fail in my manjaro Tried to install compiled and got the same result. Notests version not working for me either. Thanks to my snapshot i can roll back to 0.38 after uninstall it to try other version
I'm failing unit tests:
98% tests passed, 12 tests failed out of 638
Total Test time (real) = 547.37 sec
The following tests FAILED:
75 - RangeTest.FromHTTPBin_Online (Failed)
82 - CancelTest.NoCancel_Online (Failed)
84 - CancelTest.WithCancelLargePayload_Online (Failed)
97 - BaseAuthTest.FromHTTPWatch_Online (Failed)
98 - DigestAuthTest.FromHTTPWatch_Online (Failed)
101 - AbsoluteRedirectTest.Redirect_Online (Failed)
102 - RedirectTest.Redirect_Online (Failed)
106 - RelativeRedirectTest.Redirect_Online (Failed)
107 - TooManyRedirectTest.Redirect_Online (Failed)
396 - ClientDefaultHeadersTest.DefaultHeaders_Online (Failed)
423 - SSLClientTest.ServerNameIndication_Online (Failed)
634 - WebSocketIntegrationTest.SocketSettings (Failed)
Errors while running CTest
Output from these tests are in: /home/sass/.cache/yay/cpp-httplib/src/cpp-httplib-0.39.0/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
==> ERROR: A failure occurred in check().
Aborting...
-> error making: cpp-httplib-exit status 4
-> Failed to install the following packages. Manual intervention is required:
cpp-httplib - exit status 4
Can't seem to find any info in the upstream git repo either. Any ideas?
Perhaps they're fixed on the new release? I had 0 test fails myself on v0.35.0
Hello. I compiled it in devtool's extra-x86_ clean environment. Are there any of the following test errors that can help fix them? Thank you.
97% tests passed, 18 tests failed out of 611
Total Test time (real) = 3223.21 sec
The following tests did not run:
117 - BindServerTest.BindDualStack (Disabled)
140 - SSLClientServerTest.LargeDataTransfer (Disabled)
The following tests FAILED:
94 - SpecifyServerIPAddressTest.AnotherHostname_Online (Failed)
95 - SpecifyServerIPAddressTest.RealHostname_Online (Failed)
103 - YahooRedirectTest.Redirect_Online (Failed)
407 - SSLClientTest.UpdateCAStoreWithPem_Online (Failed)
408 - SSLClientTest.ServerNameIndication_Online (Failed)
411 - SSLClientTest.ServerCertificateVerification1_Online (Failed)
412 - SSLClientTest.ServerCertificateVerification2_Online (Failed)
413 - SSLClientTest.ServerCertificateVerification3_Online (Failed)
415 - SSLClientTest.ServerCertificateVerification5_Online (Failed)
416 - SSLClientTest.ServerCertificateVerification6_Online (Failed)
417 - SSLClientTest.WildcardHostNameMatch_Online (Failed)
418 - SSLClientTest.WildcardHostNameMatchCase_Online (Failed)
419 - SSLClientTest.HostNameMatchCase_Online (Failed)
420 - SSLClientTest.Issue2004_Online (Failed)
423 - SSLClientTest.SetCaCertStoreSkipsSystemCerts_Online (Failed)
439 - YahooRedirectTest2.SimpleInterface_Online (Failed)
440 - YahooRedirectTest3.SimpleInterface_Online (Failed)
441 - YahooRedirectTest3.NewResultInterface_Online (Failed)
Errors while running CTest
Output from these tests are in: /build/cpp-httplib/src/cpp-httplib-0.33.1/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
==> ERROR: A failure occurred in check().
Aborting...