Skip to content

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

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

alyssawilk merged 1 commit into
envoyproxy:mainfrom
Nordix:update-com_github_nlohmann_json

Conversation

@kfaseela

@kfaseela kfaseela commented Jan 4, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Faseela K [email protected]

Fixes #19371

@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

kfaseela commented Jan 4, 2022

Copy link
Copy Markdown
Contributor Author

cc @phlax

@kfaseela

kfaseela commented Jan 5, 2022

Copy link
Copy Markdown
Contributor Author

/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

kfaseela commented Jan 6, 2022

Copy link
Copy Markdown
Contributor Author

@phlax review this one?

@phlax

phlax commented Jan 6, 2022

Copy link
Copy Markdown
Member

@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
RyanTheOptimist pushed a commit to RyanTheOptimist/envoy that referenced this pull request Mar 1, 2022
RyanTheOptimist added a commit that referenced this pull request Mar 7, 2022
Backport: examples: Fix flask import (#20038)

Signed-off-by: Ryan Northey [email protected]
Signed-off-by: phlax [email protected]

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

Signed-off-by: Faseela K [email protected]
Signed-off-by: Ryan Hamilton [email protected]

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] [email protected]
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 [email protected]

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

Signed-off-by: Lizan Zhou [email protected]
Signed-off-by: Ryan Hamilton [email protected]
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