diff options
| author | Alper Ak <alperyasinak1@gmail.com> | 2025-07-08 01:54:00 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-08 23:40:32 -0700 |
| commit | 4edf81ab1ca15ea0f11c54400cecbccda89bf8ee (patch) | |
| tree | c516637e091f55279998480f23e10dcb0028e4bf /meta-python | |
| parent | 1857f6b50a5133411eb4070b4be17f2f9ae05a49 (diff) | |
| download | meta-openembedded-4edf81ab1ca15ea0f11c54400cecbccda89bf8ee.tar.gz | |
avro-c++: Upgrade 1.11.3 -> 1.12 to allow CMake 4+ compatibility
- Drop workaround flag for dangling reference
- Refresh patches and drop 0003-Update-CXX-standard-to-CXX14.patch because already assigned to C++17
- Drop xz and zlib because they aren't shown as build dependency and without them the build completes without errors
- Fetch the fmt in SRC_URI and put it in the right place so the CMake doesn't need to run FetchContent
- The LICENSE file has changed so updated LIC_FILES_CHKSUM to match the new md5sum
Changelog: https://github.com/apache/avro/releases/tag/release-1.12.0
Fix:
| CMake Error at CMakeLists.txt:19 (cmake_minimum_required):
| Compatibility with CMake < 3.5 has been removed from CMake.
|
| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
| to tell CMake that the project requires at least <min> but has been updated
| to work with policies introduced by <max> or earlier.
|
| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
----
| CMake Warning at /opt/yocto-masternext-contribute/sources/build/tmp/work/core2-64-poky-linux/avro-c++/1.12/recipe-sysroot-native/usr/share/cmake-4.0/Modules/FetchContent.cmake:2111 (message):
| FETCHCONTENT_FULLY_DISCONNECTED is set to true, which requires the source
| directory for dependency fmt to already be populated. This generally means
| it must not be set to true the first time CMake is run in a build
| directory. The following source directory should already be populated, but
| it doesn't exist:
|
| /opt/yocto-masternext-contribute/sources/build/tmp/work/core2-64-poky-linux/avro-c++/1.12/build/_deps/fmt-src
|
| Policy CMP0170 controls enforcement of this requirement.
| Call Stack (most recent call first):
| /opt/yocto-masternext-contribute/sources/build/tmp/work/core2-64-poky-linux/avro-c++/1.12/recipe-sysroot-native/usr/share/cmake-4.0/Modules/FetchContent.cmake:2384 (__FetchContent_Populate)
| CMakeLists.txt:93 (FetchContent_MakeAvailable)
|
|
| -- Could NOT find Snappy (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
| Disabled snappy codec. libsnappy not found.
| -- Configuring done (0.4s)
| CMake Error at CMakeLists.txt:149 (target_link_libraries):
| Target "avrocpp" links to:
|
| fmt::fmt-header-only
|
| but the target was not found. Possible reasons include:
|
| * There is a typo in the target name.
| * A find_package call is missing for an IMPORTED target.
| * An ALIAS target is missing.
|
|
|
| CMake Error at CMakeLists.txt:138 (target_link_libraries):
| Target "avrocpp_s" links to:
|
| fmt::fmt-header-only
|
| but the target was not found. Possible reasons include:
|
| * There is a typo in the target name.
| * A find_package call is missing for an IMPORTED target.
| * An ALIAS target is missing.
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
0 files changed, 0 insertions, 0 deletions
