Summary: | dev-util/sysdig-0.17.0: userspace/libsinsp/marathon_http.cpp: fatal error: curl /curlbuild.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | holger, proteuss, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/draios/sysdig/issues/895 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Patch to remove curlbuild references |
Description
Thomas Deutschmann (RETIRED)
![]() Same problem here. To compile the sysdig module I masked =netmisc/curl-7.55.0 I encountered the same bug here I already commented on the upstream bug, but for reference it's not necessary to hardcode the curl version; all sysdig needs to do is stick with public APIs instead of including private headers. Created attachment 488884 [details, diff]
Patch to remove curlbuild references
This patch will let sysdig build with any curl version.
The patch worked here. So the curlbuild.h header is not needed after all. Thank you. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22e8f9a974f682f9b35d5a54ed21fc30f8e94e6 commit b22e8f9a974f682f9b35d5a54ed21fc30f8e94e6 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-09-11 20:13:37 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-11 20:16:03 +0000 dev-util/sysdig: Backport net-misc/curl-7.55.0+ build fix Closes: https://bugs.gentoo.org/627572 .../sysdig/files/sysdig-0.17.0-curlbuild.h.patch | 53 ++++++++++++++++++++++ ...ysdig-0.17.0.ebuild => sysdig-0.17.0-r1.ebuild} | 8 +++- 2 files changed, 60 insertions(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=b22e8f9a974f682f9b35d5a54ed21fc30f8e94e6 commit b22e8f9a974f682f9b35d5a54ed21fc30f8e94e6 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-09-11 20:13:37 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-11 20:16:03 +0000 dev-util/sysdig: Backport net-misc/curl-7.55.0+ build fix Closes: https://bugs.gentoo.org/627572 .../sysdig/files/sysdig-0.17.0-curlbuild.h.patch | 53 ++++++++++++++++++++++ ...ysdig-0.17.0.ebuild => sysdig-0.17.0-r1.ebuild} | 8 +++- 2 files changed, 60 insertions(+), 1 deletion(-) |