Skip to content

Update com_github_nlohmann_json: v3.10.5 (current: v3.10.4)#19384

Merged
alyssawilk merged 1 commit intoenvoyproxy:mainfrom
Nordix:update-com_github_nlohmann_json
Jan 12, 2022
Merged

Update com_github_nlohmann_json: v3.10.5 (current: v3.10.4)#19384
alyssawilk merged 1 commit intoenvoyproxy:mainfrom
Nordix:update-com_github_nlohmann_json

Conversation

@kfaseela
Copy link
Copy Markdown
Contributor

@kfaseela kfaseela commented Jan 4, 2022

Signed-off-by: Faseela K faseela.k@est.tech

Fixes #19371

Signed-off-by: Faseela K <faseela.k@est.tech>
@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Jan 4, 2022
@repokitteh-read-only
Copy link
Copy Markdown

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 @wrowe

🐱

Caused by: #19384 was opened by kfaseela.

see: more, trace.

@kfaseela
Copy link
Copy Markdown
Contributor Author

kfaseela commented Jan 4, 2022

cc @phlax

@kfaseela
Copy link
Copy Markdown
Contributor Author

kfaseela commented Jan 5, 2022

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #19384 (comment) was created by @kfaseela.

see: more, trace.

@moderation
Copy link
Copy Markdown
Contributor

/lgtm deps

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Jan 5, 2022
@kfaseela
Copy link
Copy Markdown
Contributor Author

kfaseela commented Jan 6, 2022

@phlax review this one?

@phlax
Copy link
Copy Markdown
Member

phlax commented Jan 6, 2022

@kfaseela i think all should be good but im gonna leave it for the assigned maintainer

@alyssawilk
Copy link
Copy Markdown
Contributor

@wrowe ping!

@alyssawilk alyssawilk self-assigned this Jan 11, 2022
@alyssawilk
Copy link
Copy Markdown
Contributor

@kfaseela you OK waiting on merge until late Wednesday? Looks like a year's worth of changes so I'd be inclined to merge after we cut the release.

@kfaseela
Copy link
Copy Markdown
Contributor Author

@kfaseela you OK waiting on merge until late Wednesday? Looks like a year's worth of changes so I'd be inclined to merge after we cut the release.

Yes fine for me!

@alyssawilk alyssawilk merged commit 1b9ba7f into envoyproxy:main Jan 12, 2022
@kfaseela kfaseela deleted the update-com_github_nlohmann_json branch January 13, 2022 16:23
@alyssawilk
Copy link
Copy Markdown
Contributor

Huh, my compiler is choking on this update.
CI looks fine so arguably I should track down and fix why my env is pickier but generally when I've seen these errors the warning is fairly legit.

In file included from source/common/json/json_internal.cc:19:
In file included from external/com_github_nlohmann_json/include/nlohmann/json.hpp:60:
In file included from external/com_github_nlohmann_json/include/nlohmann/adl_serializer.hpp:6:
In file included from external/com_github_nlohmann_json/include/nlohmann/detail/conversions/from_json.hpp:13:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/valarray:1215:5: error: exception specification in declaration does not match previous declaration
begin(valarray<_Tp>& __va) noexcept
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/range_access.h:107:31: note: previous declaration is here
template _Tp* begin(valarray<_Tp>&);
^
In file included from source/common/json/json_internal.cc:19:
In file included from external/com_github_nlohmann_json/include/nlohmann/json.hpp:60:
In file included from external/com_github_nlohmann_json/include/nlohmann/adl_serializer.hpp:6:
In file included from external/com_github_nlohmann_json/include/nlohmann/detail/conversions/from_json.hpp:13:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/valarray:1226:5: error: exception specification in declaration does not match previous declaration
begin(const valarray<_Tp>& __va) noexcept

@moderation
Copy link
Copy Markdown
Contributor

Hmm. I'm building on Google RBE, Raspberry Pi and MacOS M1 without issue

@RyanTheOptimist
Copy link
Copy Markdown
Contributor

Huh, my compiler is choking on this update. CI looks fine so arguably I should track down and fix why my env is pickier but generally when I've seen these errors the warning is fairly legit.

@adisuissa @danzh2010 @KBaichoo and I are all seeing the same errors. However after much investigation it definitely appears to be an issue with the local environment. The following .cc file fails to build with clang, but succeeds with gcc:

#include <unordered_map> // unordered_map 
#include <valarray> // valarray
int main(int argc, char** argv) { return 0; }

More investigation needed, but this PR is off the hook.

@adisuissa
Copy link
Copy Markdown
Contributor

After debugging with @RyanTheOptimist and @KBaichoo (Thanks for the joint debug session!), we think the problem is due to a recent update to the libstdc++-11-dev in our machines to version 11.2.0-12.
It seems that the bug will be solved in the next update (more details here).

For now the workaround is to either build using RBE, or build locally using the --config=clang --config=libc++ bazel flags.

joshperry pushed a commit to joshperry/envoy that referenced this pull request Feb 13, 2022
…xy#19384)

Signed-off-by: Faseela K faseela.k@est.tech

Fixes envoyproxy#19371

Signed-off-by: Faseela K <faseela.k@est.tech>
Signed-off-by: Josh Perry <josh.perry@mx.com>
RyanTheOptimist pushed a commit to RyanTheOptimist/envoy that referenced this pull request Mar 1, 2022
…xy#19384)

Signed-off-by: Faseela K faseela.k@est.tech

Fixes envoyproxy#19371

Signed-off-by: Faseela K <faseela.k@est.tech>
Signed-off-by: Ryan Hamilton <rch@google.com>
RyanTheOptimist added a commit that referenced this pull request Mar 7, 2022
Backport: examples: Fix flask import (#20038)

Signed-off-by: Ryan Northey ryan@synca.io
Signed-off-by: phlax phlax@users.noreply.github.com

Backport: Update com_github_nlohmann_json: v3.10.5 (current: v3.10.4) (#19384)

Signed-off-by: Faseela K faseela.k@est.tech
Signed-off-by: Ryan Hamilton rch@google.com

Backport: build(deps): bump github/codeql-action from 1.1.2 to 1.1.3 (#20107)

Bumps github/codeql-action from 1.1.2 to 1.1.3.

Release notes
Changelog
Commits
updated-dependencies:

dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Ryan Hamilton rch@google.com

Backport: ci: not using alpine image in examples (#19805)

Signed-off-by: Lizan Zhou lizan@tetrate.io
Signed-off-by: Ryan Hamilton rch@google.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.

Newer release available com_github_nlohmann_json: v3.10.5 (current: v3.10.4)

7 participants