Open coryan opened 4 days ago
The current issue should be fixed by either:
https://github.com/bazelbuild/bazel-central-registry/pull/2233 https://github.com/bazelbuild/bazel-central-registry/pull/1943 or https://github.com/bazelbuild/bazel-central-registry/pull/1917
the http_only
flag is about disabling things like ftp, not about http vs https
What happened?
I want to use the
curl
module withhttps
. But default this module disableshttps
support, but it provides ahttp_only
flag:https://github.com/bazelbuild/bazel-central-registry/blob/46c3c225b3f95ff91809eca5f86d77bf16b984e4/modules/curl/8.7.1/patches/add_build_file.patch#L24-L32
However, the flag has no effect. Whatever its setting
https
support is disabled.Version
Development (host) and target OS/architectures:
For now Linux on x86. Eventually I need this to work on Windows, macOS, and many Linux variants.
Output of
bazel --version
:Version of relevant rules from the
WORKSPACE
orMODULE.bazel
file:Language(s) and/or frameworks involved:
C++
How to reproduce
This program should work, but returns an error:
You also need a BUILD file:
And a
MODULE.bazel
fileAny other information?
It seems to me that this module should have a dependency on
boringssl
to gethttps
support. The BCR patch should also addUSE_OPENSSL
andHAVE_BORINGSSL
and probably may another macros tolocal_defines
.