Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937635 - sci-libs/caffe2-2.4.0 missing dependency on dev-cpp/cpp-httplib
Summary: sci-libs/caffe2-2.4.0 missing dependency on dev-cpp/cpp-httplib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-09 20:02 UTC by he.ousia
Modified: 2024-09-04 05:02 UTC (History)
2 users (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 he.ousia 2024-08-09 20:02:29 UTC
Compilation stops with error httplib.h not found.
After emerging  dev-cpp/cpp-httplib-0.16.2 AND specifying -lcpp-httplib in section LINK_LIBRARIES for libtorch_cpu.so installation went smoothly.

Reproducible: Always
Comment 1 Nuno Alexandre 2024-08-16 17:56:22 UTC
I can confirm this.
Thank you for the heads up about LINK_LIBRARIES for libtorch_cpu.so. It's a bother to have to manually change it and then do then ebuild merge manually, but it does work.

Here is a (probably) duplicate issue https://bugs.gentoo.org/937788 about this as well.
Comment 2 Larry the Git Cow gentoo-dev 2024-09-04 05:02:45 UTC
The bug has been closed via the following commit(s):

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

commit c347f7335b65811fbf73dad70d68b84b6788b764
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-09-04 04:40:36 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-09-04 04:58:52 +0000

    sci-libs/caffe2: req cpp-httplib
    
    Closes: https://bugs.gentoo.org/937635
    Closes: https://bugs.gentoo.org/937788
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 .../caffe2/{caffe2-2.4.0.ebuild => caffe2-2.4.0-r1.ebuild}  |  6 +++++-
 sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch        | 13 +++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)