Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952844 - dev-cpp/cpp-httplib-0.20.0: fails to compile (Could not find a package configuration file provided by "zstd")
Summary: dev-cpp/cpp-httplib-0.20.0: fails to compile (Could not find a package config...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-28 18:44 UTC by Piper McCorkle
Modified: 2025-03-28 20:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build-log.txt,5.28 KB, text/plain)
2025-03-28 18:44 UTC, Piper McCorkle
Details
emerge -pqv =dev-cpp/cpp-httplib-0.20.0::gentoo (emerge-pqv.txt,416 bytes, text/plain)
2025-03-28 18:44 UTC, Piper McCorkle
Details
emerge --info =dev-cpp/cpp-httplib-0.20.0::gentoo (emerge-info.txt,11.48 KB, text/plain)
2025-03-28 18:44 UTC, Piper McCorkle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piper McCorkle 2025-03-28 18:44:24 UTC
Created attachment 923195 [details]
Build log

dev-cpp/cpp-httplib is failing to build because it appears to be looking for zstd but not finding it.
Comment 1 Piper McCorkle 2025-03-28 18:44:40 UTC
Created attachment 923196 [details]
emerge -pqv =dev-cpp/cpp-httplib-0.20.0::gentoo
Comment 2 Piper McCorkle 2025-03-28 18:44:52 UTC
Created attachment 923197 [details]
emerge --info =dev-cpp/cpp-httplib-0.20.0::gentoo
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-28 18:47:33 UTC
It needs to fallback to pkg_check_modules, as we don't build zstd w/ CMake.
Comment 4 Larry the Git Cow gentoo-dev 2025-03-28 20:51:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4abc2fca7cee2f6a63fa7e20030a4f8d7cf21fdd

commit 4abc2fca7cee2f6a63fa7e20030a4f8d7cf21fdd
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2025-03-28 20:11:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-28 20:51:18 +0000

    dev-cpp/cpp-httplib: fix build with zstd
    
    Closes: https://bugs.gentoo.org/952844
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/41354
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/cpp-httplib/cpp-httplib-0.20.0.ebuild      |  5 +++++
 .../files/cpp-httplib-0.20.0-zstd.patch            | 22 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)