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

nlohmann-json: backport gcc10 fix #232

Conversation

geissonator
Copy link
Contributor

The following issue and PR describe an issue with nlohmann-json and
GCC10.

nlohmann/json#1920
nlohmann/json#2034

Confirmed that this fixed the issue seen in OpenBMC when pulling in the
latest upstream meta-openembedded.

The following issue and PR describe an issue with nlohmann-json and
GCC10.

nlohmann/json#1920
nlohmann/json#2034

Confirmed that this fixed the issue seen in OpenBMC when pulling in the
latest upstream meta-openembedded.
@kraj
Copy link
Contributor

kraj commented May 20, 2020

applied with 12b707c

@kraj kraj closed this May 20, 2020
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Feb 22, 2022
refresh patches for 0.104:
0001-Makefile-do-not-use-Werror.patch
0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch

0001-parse-nm-fix-32bit-format-string.patch
removed since it's included in 0.104

Changelog:
=========
Enable embedded-switch-mode setting on SmartNICs (openembedded#253)
Permit multiple patterns for the driver globs in match (openembedded#202), LP#1918421
Improve routing capabilities (openembedded#248), LP#1892272, LP#1805038
Support additional link offload options for networkd (openembedded#225) (openembedded#242), LP#1771740
Consolidate enum-to-string arrays (openembedded#230)
Handle differing ip6-privacy default value for NetworkManager (openembedded#263)
YAML state tracking (--state rootdir) for DBus API and netplan try (openembedded#231), LP#1943120
Support ConfigureWithoutCarrier (ignore-carrier) for networkd (openembedded#215)
Move primary git branch master to main
Documentation improvements (openembedded#226)
Compatibility for glib-2.70 (openembedded#235)
Cleanup Makefile, install only public headers
Improve test reliability & enable integration testing CI for autopkgtests
Netplan get to use the libnetplan parser (openembedded#252)
libnetplan:
- introduce the notion of NetplanState (openembedded#232)
- use an explicit parser context (openembedded#233)
- expose coherent generator APIs (openembedded#239)
- improve overall error handling (openembedded#234)
- consolidation of YAML parsing into the library (openembedded#241, openembedded#249, openembedded#250, openembedded#251)
Restrict the symbol export to a determined public API (openembedded#227)
- WARNING: We dropped some internal symbols from the API that we know
  have no external consumers (that we are aware of)
- 0.103: _serialize_yaml, contains_netdef_type, tmp, validate_default_route_consistency
- 0.102: cur_filename, netplan_netdef_new
- 0.100: address_option_handlers, is_hostname, validate_ovs_target, wireguard_peer_handlers
- 0.99: current_file, is_ip4_address, is_ip6_address, missing_id,
  missing_ids_found, parser_error, validate_backend_rules, validate_netdef_grammar,
  yaml_error

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
halstead pushed a commit that referenced this pull request Feb 23, 2022
refresh patches for 0.104:
0001-Makefile-do-not-use-Werror.patch
0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch

0001-parse-nm-fix-32bit-format-string.patch
removed since it's included in 0.104

Changelog:
=========
Enable embedded-switch-mode setting on SmartNICs (#253)
Permit multiple patterns for the driver globs in match (#202), LP#1918421
Improve routing capabilities (#248), LP#1892272, LP#1805038
Support additional link offload options for networkd (#225) (#242), LP#1771740
Consolidate enum-to-string arrays (#230)
Handle differing ip6-privacy default value for NetworkManager (#263)
YAML state tracking (--state rootdir) for DBus API and netplan try (#231), LP#1943120
Support ConfigureWithoutCarrier (ignore-carrier) for networkd (#215)
Move primary git branch master to main
Documentation improvements (#226)
Compatibility for glib-2.70 (#235)
Cleanup Makefile, install only public headers
Improve test reliability & enable integration testing CI for autopkgtests
Netplan get to use the libnetplan parser (#252)
libnetplan:
- introduce the notion of NetplanState (#232)
- use an explicit parser context (#233)
- expose coherent generator APIs (#239)
- improve overall error handling (#234)
- consolidation of YAML parsing into the library (#241, #249, #250, #251)
Restrict the symbol export to a determined public API (#227)
- WARNING: We dropped some internal symbols from the API that we know
  have no external consumers (that we are aware of)
- 0.103: _serialize_yaml, contains_netdef_type, tmp, validate_default_route_consistency
- 0.102: cur_filename, netplan_netdef_new
- 0.100: address_option_handlers, is_hostname, validate_ovs_target, wireguard_peer_handlers
- 0.99: current_file, is_ip4_address, is_ip6_address, missing_id,
  missing_ids_found, parser_error, validate_backend_rules, validate_netdef_grammar,
  yaml_error

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Oct 23, 2023
Changelog:
===========
Feature
--------
Update for final cpython release (openembedded#263) (460a072)
Speed up unpacking arrays (openembedded#257) (5c8bfe5)
Speed up constructing Variant objects (openembedded#256) (0d7a665)
Speed up unmarshalling message body (openembedded#255) (5aed075)
Speed up unmarshalling Variants (openembedded#254) (dd74a84)
Speed up readers in the unmarshall path (openembedded#253) (f9b61b8)
Speed up first connection when using asyncio (openembedded#251) (0b6ba93)
Speed up unmarshaller (openembedded#250) (e4cae13)
Add cython typing for ServiceInterface.name (openembedded#248) (98c7e75)
Speed up connect and disconnect (openembedded#247) (8f39ba3)
Speed up unmarshalling by skipping unused unix_fds header (openembedded#246) (5f5a150)
Reduce overhead to reset between messages (openembedded#245) (da30b04)
Don't import backends by default (openembedded#243) (091d421)
Breaking
don't import backends by default (openembedded#243) (091d421)
Small speed up to the unmarshaller (openembedded#238) (b8d0e9b)
Build cpython 3.12 wheels (openembedded#234) (b38aa58)
Improve performance of processing incoming messages (openembedded#228) (ce61aea)
Reduce overhead to dispatch method handlers (openembedded#227) (b222552)
Speed up to processing bluez passive data (openembedded#221) (8e7432d)
Remove async_timeout dependency (openembedded#218) (7826897)
Speed up Message creation and callbacks (openembedded#217) (04d6451)
Optimize passive bluez message unmarshaller (openembedded#216) (e0e87ec)
Initial cpython 3.12 support (openembedded#207) (c755193)
Improve performance of reading from the socket during unmarshall (openembedded#200) (e5d355f)

Fix
-------------
Handling of None messages from notify callback (openembedded#236) (14f52f2)
Clean up address parsing and tests (openembedded#244) (370791d)
Handle multiple flag bits when unmarshalling (openembedded#241) (6f6f5f8)
Rebuild wheels with cython 3.0.2 (openembedded#235) (e8901a8)
Avoid cythonizing SendReply (openembedded#232) (d12266d)
Subpath bad matching (openembedded#202) (5d6f90b)
Messages could be sent out of order if they had to queue (openembedded#225) (4051cf2)
Avoid checking if a message expects a reply twice (openembedded#223) (823e85f)
Revert changes to _expects_reply from speed up to processing bluez passive data (openembedded#222) (dfa9053)
Spelling of dbus_fast.auth.AuthAnnonymous to dbus_fast.auth.AuthAnonymous (openembedded#220) (6c2412f)
More cython3 optional fixes (openembedded#219) (5b6cbc5)
Exception handler failure when exception is not DBusError (openembedded#215) (d771bcf)
Result typing in ServiceInterface._handle_signal (openembedded#214) (5bda04b)
Avoid double buffering when using asyncio reader without negotiate_unix_fd (openembedded#213) (c933be7)
Relax typing on _fn_result_to_body to allow Any (openembedded#212) (2f5fc38)
Typing on _fn_result_to_body was incorrect which was caused an exception with cython3 (openembedded#210) (c40c7bc)
Cython3 compat (openembedded#208) (43b3d48)
Reduce size of wheels by excluding generated .c files (openembedded#262) (dca4599)
Marshall multi-byte strings correctly (openembedded#261) (4de31a3)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
halstead pushed a commit that referenced this pull request Nov 3, 2023
Changelog:
===========
Feature
--------
Update for final cpython release (#263) (460a072)
Speed up unpacking arrays (#257) (5c8bfe5)
Speed up constructing Variant objects (#256) (0d7a665)
Speed up unmarshalling message body (#255) (5aed075)
Speed up unmarshalling Variants (#254) (dd74a84)
Speed up readers in the unmarshall path (#253) (f9b61b8)
Speed up first connection when using asyncio (#251) (0b6ba93)
Speed up unmarshaller (#250) (e4cae13)
Add cython typing for ServiceInterface.name (#248) (98c7e75)
Speed up connect and disconnect (#247) (8f39ba3)
Speed up unmarshalling by skipping unused unix_fds header (#246) (5f5a150)
Reduce overhead to reset between messages (#245) (da30b04)
Don't import backends by default (#243) (091d421)
Breaking
don't import backends by default (#243) (091d421)
Small speed up to the unmarshaller (#238) (b8d0e9b)
Build cpython 3.12 wheels (#234) (b38aa58)
Improve performance of processing incoming messages (#228) (ce61aea)
Reduce overhead to dispatch method handlers (#227) (b222552)
Speed up to processing bluez passive data (#221) (8e7432d)
Remove async_timeout dependency (#218) (7826897)
Speed up Message creation and callbacks (#217) (04d6451)
Optimize passive bluez message unmarshaller (#216) (e0e87ec)
Initial cpython 3.12 support (#207) (c755193)
Improve performance of reading from the socket during unmarshall (#200) (e5d355f)

Fix
-------------
Handling of None messages from notify callback (#236) (14f52f2)
Clean up address parsing and tests (#244) (370791d)
Handle multiple flag bits when unmarshalling (#241) (6f6f5f8)
Rebuild wheels with cython 3.0.2 (#235) (e8901a8)
Avoid cythonizing SendReply (#232) (d12266d)
Subpath bad matching (#202) (5d6f90b)
Messages could be sent out of order if they had to queue (#225) (4051cf2)
Avoid checking if a message expects a reply twice (#223) (823e85f)
Revert changes to _expects_reply from speed up to processing bluez passive data (#222) (dfa9053)
Spelling of dbus_fast.auth.AuthAnnonymous to dbus_fast.auth.AuthAnonymous (#220) (6c2412f)
More cython3 optional fixes (#219) (5b6cbc5)
Exception handler failure when exception is not DBusError (#215) (d771bcf)
Result typing in ServiceInterface._handle_signal (#214) (5bda04b)
Avoid double buffering when using asyncio reader without negotiate_unix_fd (#213) (c933be7)
Relax typing on _fn_result_to_body to allow Any (#212) (2f5fc38)
Typing on _fn_result_to_body was incorrect which was caused an exception with cython3 (#210) (c40c7bc)
Cython3 compat (#208) (43b3d48)
Reduce size of wheels by excluding generated .c files (#262) (dca4599)
Marshall multi-byte strings correctly (#261) (4de31a3)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit f10cf13)
Signed-off-by: Armin Kuster <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Dec 27, 2023
Changelog:
============
- Added a warning if there was an error reading an alternate file with the
  -fileNUM option
- Added the ability to write QuickTime Keys:Encoder
- Added a few new Canon LensType values
- Added a new, obscure EXIF tag
- Decode real-time metadata from Ricoh Theta videos
- Decode SpecularWhiteLevel for more Canon models (github openembedded#232)
- Decode Canon DualPixelRaw tag
- Decode a few new Nikon tags
- Decode more FujiFilm M-RAW tags
- Improved generation of tag names for some JSON tag ID's containing colons
- Fixed "Undefined subroutine" error when writing makernotes as a block
- Fixed missing ID in family 7 group name for ID3 tags which are not valid for
  the specified ID3 version
- Fixed bug where some tags from alternate files (with the -fileNUM option)
  could show up as "not defined" when used in expressions even though they did
  exist
- API Changes:
    - Added NoMandatory option

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Dec 29, 2023
Changelog:
============
- Added a warning if there was an error reading an alternate file with the
  -fileNUM option
- Added the ability to write QuickTime Keys:Encoder
- Added a few new Canon LensType values
- Added a new, obscure EXIF tag
- Decode real-time metadata from Ricoh Theta videos
- Decode SpecularWhiteLevel for more Canon models (github openembedded#232)
- Decode Canon DualPixelRaw tag
- Decode a few new Nikon tags
- Decode more FujiFilm M-RAW tags
- Improved generation of tag names for some JSON tag ID's containing colons
- Fixed "Undefined subroutine" error when writing makernotes as a block
- Fixed missing ID in family 7 group name for ID3 tags which are not valid for
  the specified ID3 version
- Fixed bug where some tags from alternate files (with the -fileNUM option)
  could show up as "not defined" when used in expressions even though they did
  exist
- API Changes:
    - Added NoMandatory option

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[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.

2 participants