Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build error with maxmind if http3 is disabled #33638

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

jwendell
Copy link
Member

maxmind is causing the build to not honor the flag --//bazel:http3=False: The define ENVOY_ENABLE_QUIC is still being passed to the compiler. This causes code that rely on the presence (or not) of that define to behave wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use bind and 2) that bind and select do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the bind and pointing directly to the actual dependency in maxmind BUILD file, we fix this issue.

`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Apr 17, 2024
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @phlax

🐱

Caused by: #33638 was opened by jwendell.

see: more, trace.

Copy link
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @jwendell

assigning @nezdolik for maxmind signoff

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Apr 18, 2024
@phlax phlax merged commit 33c3264 into envoyproxy:main Apr 18, 2024
53 checks passed
jwendell added a commit to jwendell/envoy that referenced this pull request Apr 18, 2024
…roxy#33638)

`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
phlax pushed a commit that referenced this pull request Apr 18, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of #33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
cainelli pushed a commit to cainelli/envoy that referenced this pull request Apr 18, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
alyssawilk pushed a commit to alyssawilk/envoy that referenced this pull request Apr 29, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
dcillera pushed a commit to dcillera/envoy-openssl that referenced this pull request Jul 15, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
dcillera pushed a commit to dcillera/envoy-openssl that referenced this pull request Aug 1, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
dcillera pushed a commit to dcillera/envoy-openssl that referenced this pull request Aug 13, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
dcillera pushed a commit to dcillera/envoy-openssl that referenced this pull request Aug 29, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
dcillera pushed a commit to dcillera/envoy-openssl that referenced this pull request Sep 5, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
tedjpoole pushed a commit to tedjpoole/envoy-openssl that referenced this pull request Sep 23, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
tedjpoole pushed a commit to tedjpoole/envoy-openssl that referenced this pull request Sep 25, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
tedjpoole pushed a commit to tedjpoole/envoy-openssl that referenced this pull request Sep 30, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
tedjpoole pushed a commit to tedjpoole/envoy-openssl that referenced this pull request Oct 3, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
tedjpoole pushed a commit to tedjpoole/envoy-openssl that referenced this pull request Oct 15, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
tedjpoole pushed a commit to tedjpoole/envoy-openssl that referenced this pull request Oct 18, 2024
`maxmind` is causing the build to not honor the flag `--//bazel:http3=False`: The
define `ENVOY_ENABLE_QUIC` is still being passed to the compiler. This
causes code that rely on the presence (or not) of that define to behave
wrongly.

I am not 100% sure of what causes it, but Bazel doc says 1) to not use
`bind` and 2) that `bind` and `select` do not play well together: https://bazel.build/reference/be/workspace#bind

By removing the `bind` and pointing directly to the actual dependency in
`maxmind` BUILD file, we fix this issue.

Backport of envoyproxy/envoy#33638

Signed-off-by: Jonh Wendell <jwendell@redhat.com>
Signed-off-by: Dario Cillerai <dcillera@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants