summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/protobuf
Commit message (Collapse)AuthorAgeFilesLines
* protobuf: 5.29.5 -> 6.31.1Ryan Eatmon2025-06-262-6/+4
| | | | | | | | | | | | | | Refresh local patches: - 0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch Fix protobuf build error due to recent abseil-cpp update: https://git.openembedded.org/meta-openembedded/commit/?h=master&id=e8c0e64e89b565a55d4c4fefe30a90a25fbe5831 Changelog: https://github.com/protocolbuffers/protobuf/releases/tag/v31.1 Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade from 5.29.4 to 5.29.5Chen Qi2025-06-261-1/+1
| | | | | | | | | | | This is a small version bump. It includes to following two commits to fix CVE-2025-4565. 05ba1a810 Add recursion depth limits to pure python 1ef3f01c4 Internal pure python fixes Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-252-2/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Add -latomic to CXXFLAGSKhem Raj2025-03-242-5/+5
| | | | | | | | | | | | | | | Adding to LDFLAGS works with LLD linker but not with BFD ld since it gets added before the abseil-cpp libraries on linker cmdline which does not link it and still finds the atomic function like `__atomic_store_8' as missing Use mipsarcho32 for override which covers both mips and mipsel Thanks for suggestions - RAED [1] [1] https://github.com/openembedded/meta-openembedded/pull/952 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Link with libatomic on riscv32Khem Raj2025-03-221-0/+2
| | | | | | | | | | rv32 does not have compiler builtins for 64bit atomics Fixes | riscv32-yoe-linux-ld.lld: error: undefined reference: __atomic_load_8 | >>> referenced by /mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux/protobuf/5.29.4/recipe-sysroot/usr/lib/libabsl_cordz_info.so.2501.0.0 (disallowed by --no-allow-shlib-undefined) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: 4.25.5 -> 5.29.4Hongxu Jia2025-03-215-26/+126
| | | | | | | | | | | | | | | | | | | | Refresh local patches - 0001-Fix-build-on-mips-clang.patch - 0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch Fix protobuf-native build failure with gcc 10 Fix dev-elf QA issue: |ERROR: protobuf-5.29.4-r0 do_package_qa: QA Issue: -dev package protobuf-dev contains non-symlink .so '/usr/lib/libutf8_range.so' [dev-elf] |ERROR: protobuf-5.29.4-r0 do_package_qa: QA Issue: -dev package protobuf-dev contains non-symlink .so '/usr/lib/libutf8_validity.so' [dev-elf] Changelog: https://github.com/protocolbuffers/protobuf/releases/tag/v29.4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: 1.5.0 -> 1.5.1Hongxu Jia2025-03-133-16/+1467
| | | | | | | | | | | | | | | | According to [1], protobuf-c 1.5.1 has commits [2] to fix broke with protobuf 26.0 (4.26.0) Also port a patch from archlinux [3] to support protobuf 30 (4.30.0) License-Update: update copyright years to 2025 [1] https://github.com/protobuf-c/protobuf-c/issues/730 [2] https://github.com/protobuf-c/protobuf-c/pull/711/ [3] https://gitlab.archlinux.org/archlinux/packaging/packages/protobuf-c/-/blob/main/protobuf-30.patch Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: set CVE_PRODUCTPeter Marko2025-02-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add all relevant products from following query. Also remove generic "protobuf" to avoid matching golang:protobuf. .../downloads/CVE_CHECK2$ sqlite3 nvdcve_2-2.db sqlite> select vendor, product, count(*) from products where product like '%protobuf%' group by vendor, product; golang|protobuf|1 google|google-protobuf|5 google|protobuf|2 google|protobuf-cpp|4 google|protobuf-java|15 google|protobuf-javalite|12 google|protobuf-kotlin|6 google|protobuf-kotlin-lite|4 google|protobuf-python|4 protobuf|protobuf|1 protobuf-c_project|protobuf-c|2 protobufjs_project|protobufjs|3 rust-protobuf_project|rust-protobuf|2 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: add MIT to licensePeter Marko2025-02-031-2/+6
| | | | | | | Third party components have MIT license. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: don't download git submodulesPeter Marko2025-02-031-1/+1
| | | | | | | All dependencies are used from recipe sysroot now. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: use system jsoncppPeter Marko2025-02-031-1/+2
| | | | | | | | We should not use additional vendored jsoncpp unless required due to compatibility issues. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: remove rdepends on abseil-cppPeter Marko2025-02-031-2/+0
| | | | | | | | | | | | | | | | | | | This commit reverts https://git.openembedded.org/meta-openembedded/commit/?id=5af1cd3ada4cc86864810a12c82771ba1afdce64 That commit prefers sdk development instead of release images. The additional libraries are not needed for protobuf at runtime. Also any component depending on protobuf will have whole abseil-cpp in sysroots so linking all the libraries is possible and any additional ones will be installed. What may not work is if protobuf is installed in sdk image and application using it wants to use an additional abseil-cpp library. However that is easily fixable by adding also abseil-cpp to sdk. Removing hard-dependency in release images is much harder. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: remove unneeded atomic linker flagPeter Marko2025-02-031-6/+0
| | | | | | | | This is handled in protofuf cmake since 3.15: https://github.com/protocolbuffers/protobuf/commit/55ed1d427ccc0d200927746329ac9b811dee77b9 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: conditionally depend on ${PN}-compilerChristian Eggers2024-11-061-1/+1
| | | | | | | | | If ${PN}-compiler is not build due to PACKAGECONFIG, we shouldn't depend on it. Otherwise installation on -dev package fails during populate_sdk. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 4.25.4 -> 4.25.5Yi Zhao2024-09-231-1/+1
| | | | | | | | ChangeLog: https://github.com/protocolbuffers/protobuf/releases/tag/v25.5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: add abseil-cpp to RDEPENDSYi Zhao2024-09-231-0/+2
| | | | | | | | | | | | | | Since commit[1], the libraries of abseil-cpp have been splitted into separate packages. When protobuf is installed into the image, only 48 abseil libraries are installed as runtime dependencies. But the output of 'pkg-config --libs protobuf' lists 66 abseil-cpp libraries are required. Add abseil-cpp to RDEPENDS to ensure that all required abseil-cpp libraries are installed. [1] https://git.openembedded.org/meta-openembedded/commit/?id=dd6421e65eb75c35a904f4b487ba022075035ecc Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: Link with libatomic on riscv32Khem Raj2024-09-161-0/+3
| | | | | | No 64bit atomic builtins provided by compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: version bump 4.25.3 -> 4.25.4Jan Vermaete2024-08-251-1/+3
| | | | | | | | + adding UPSTREAM_CHECK_GITTAGREGEX because `devtool latest-version` was going to the 28 release (what still in rc) Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Fix build on riscv32Khem Raj2024-05-301-0/+1
| | | | | | | | Link with libatomic since rv32 does not have 64bit atomics Fixes | riscv32-yoe-linux-musl-ld.lld: error: undefined reference: __atomic_load_8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 4.25.2 -> 4.25.3Wang Mingyu2024-02-201-1/+1
| | | | | | | | | | | | | Changelog: =========== Remove use of mach_absolute_time [ObjC] Use a local to avoid warnings in 32bit builds. Bump python version to 3.9 for gcloud 460.0.0 Update Ruby GHA to test against Ruby 3.3. Pin bundler version to 2.4.22 for Ruby 2.7 support. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 4.23.4 -> 4.25.2Clément Péron2024-01-191-2/+2
| | | | | Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: change branch to masterPeter Marko2024-01-191-1/+1
| | | | | | | This was forgotten during update to tagged version. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: upgrade 1.4.1 -> 1.5.0Peter Marko2024-01-041-2/+2
| | | | | | | | | | | | | Current hash pointed to version with code already indentical to v1.5.0, it was just missing three formal release commits: a15d80a Bump copyright years to 2023 6600fd5 Bump version to 1.5.0 8c201f6 CHANGELOG.md: 1.5.0 License-Update: copyright years refreshed Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: stage protoc binary to sysrootSamuli Piippo2023-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot: | The imported target "protobuf::protoc" references the file | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc-3.21.5.0" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Use SYSROOT_DIRS to stage the binary to sysroot so it's always available for other recipes. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "protobuf: stage protoc binary to sysroot"Clément Péron2023-10-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a0557fe5433620717eeb00d3b16801711337b1a4. As said by Ross[Ø]: "Putting the _target_ protoc into the sysroot for executation at _build_ time isn't useful because even if it has the right architecture, the tune might be incompatible. Recipes which want protoc should just depend on protobuf-native." This has been reverted recently by Samuli[1]: "If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot" Be the revert is incorret as This is an issue coming from qtgrpc other recipes that use protobuf or gRPC compiler, proplery looks for the binary in the correct sysroot folder. Qtgrpc recipe should fix this issue at the recipe level, for example this is what I've done for "etcd-cpp-apiv3" recipe[2] that doesn't need this patch to properly compile. So keeping this hack doesn't seems to be a correct fix. Note that qtgrpc recipe isn't available on meta-oe nor any other public layers. 0: https://patchwork.yoctoproject.org/project/oe/patch/20230904161230.377450-1-ross.burton@arm.com/ 1: https://patchwork.yoctoproject.org/project/oe/patch/20230927051101.3088498-1-samuli.piippo@qt.io/ 2: https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/commit/47f0d9e0326f3cc31c801a0ecf7312d1049ece3e CC: Samuli Piippo <samuli.piippo@gmail.com> CC: Ross Burton <ross.burton@arm.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: bump to next release to support protobuf 4.23.xClément Péron2023-09-273-385/+27
| | | | | Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 4.22.2 -> 4.23.4Clément Péron2023-09-272-75/+10
| | | | | | | Bump protobuf to 4.23.4 to fix build with musl. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: add support of protobuf 4.22.xXiangyu Chen2023-09-273-1/+467
| | | | | | Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 3.21.12 -> 4.22.2Xiangyu Chen2023-09-272-9/+17
| | | | | | Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: stage protoc binary to sysrootSamuli Piippo2023-09-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot: | The imported target "protobuf::protoc" references the file | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc-3.21.5.0" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Use SYSROOT_DIRS to stage the binary to sysroot so it's always available for other recipes. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "protobuf: stage protoc binary to sysroot"Ross Burton2023-09-071-2/+0
| | | | | | | | | | | | Putting the _target_ protoc into the sysroot for executation at _build_ time isn't useful because even if it has the right architecture, the tune might be incompatible. Recipes which want protoc should just depend on protobuf-native. This reverts commit d7f46fa816964e30edb2ccfecc57a26251cc351c. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 3.21.10 -> 3.21.12Wang Mingyu2022-12-231-1/+1
| | | | | | | | | | | Changelog: ========== Fix broken enum ranges (#11171) Stop requiring extension fields to have a sythetic oneof (#11091) Python runtime 4.21.10 not works generated code can not load valid proto. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 3.21.5 -> 3.21.10He Zhe2022-12-081-1/+1
| | | | | Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: stage protoc binary to sysrootSamuli Piippo2022-11-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot: | The imported target "protobuf::protoc" references the file | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc-3.21.5.0" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Use SYSROOT_DIRS to stage the binary to sysroot so it's always available for other recipes. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Enable protoc binary in nativesdkKhem Raj2022-10-211-0/+1
| | | | | | | When it was disabled for target, it was enabled for native but not for nativesdk explicitly, lets do it here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: disable protoc binary for targetVyacheslav Yurkov2022-08-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | When applications want to use protoc during the build, the target binary has to be disabled in order to avoid following error: | The imported target "protobuf::protoc" references the file | | "<application build dir>/recipe-sysroot/usr/bin/protoc-<protobuf version>" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | "<application build dir>/recipe-sysroot/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: change build system to cmakeVyacheslav Yurkov2022-08-273-68/+16
| | | | | | | | | | | | | Autotools support has been removed and replaced completely by CMake. See related issues for details: https://github.com/protocolbuffers/protobuf/issues/7911 https://github.com/protocolbuffers/protobuf/pull/10132 Drop autotools patches too. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: 3.19.4 -> 3.21.5 upgradeVyacheslav Yurkov2022-08-277-114/+22
| | | | | | | | Drop the patch that was accepted upstream Forward port clang-mips patch Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: correct ptest dependencyVyacheslav Yurkov2022-08-251-1/+1
| | | | | Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: update to 1.4.1 fix CVE-2022-33070Wentao Zhang2022-07-121-2/+2
| | | | | Signed-off-by: Wentao Zhang <wzhang4@ala-lpd-susbld2.wrs.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 3.19.3 -> 3.19.4Zheng Ruoqin2022-02-231-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ========= Python * Make libprotobuf symbols local on OSX to fix issue #9395 (#9435) Ruby * Fixed a data loss bug that could occur when the number of 'optional' fields in a message is an exact multiple of 32. (#9440). PHP * Fixed a data loss bug that could occur when the number of 'optional' fields in a message is an exact multiple of 32. (#9440). Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 3.19.1 -> 3.19.3wangmy2022-01-181-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Fix static init fiascoHe Zhe2022-01-182-0/+80
| | | | | | | | | | | | | | The protobuf suffers from the C++ "Static Initialization Fiasco" issue. This patches makes the extension attributes have a higher priority than the attributes, so there's no possibility of random initialization orders. Signed-off-by: Jani Nurminen <jani.nurminen@windriver.com> Upstream-Status: Pending Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: Export native protocKhem Raj2021-11-091-0/+2
| | | | | | | | | | | | | configure detects protoc based on some pkgconfig logic which confuses cross compilation and ends up choosing /usr/bin/protoc causing build failures when host system has version mismatched protoc installed, it works ok as long as compatible protoc is installed Fixes ./protobuf-c/protobuf-c.pb.h:17:2: error: This file was generated by an older version of protoc which is ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-032-2/+2
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Disable tailcall on mips/clangKhem Raj2021-11-012-0/+35
| | | | | | Clang13 crashes and lets workaround it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Upgrade to 3.19.1Khem Raj2021-11-011-1/+1
| | | | | | | Release details [1] [1] https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: update to 3.19.0Oleksandr Kravchuk2021-11-011-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: import a patch from meta-webosose to fix building protobuf-c with ↵Martin Jansa2021-10-192-0/+70
| | | | | | | | | | | | | | | | | gold linker * imported from: https://github.com/webosose/meta-webosose/commit/9250cad447658cc6cc431572cb3b2c606e3fe257 * fixes: | make[1]: Entering directory '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/build' | ./x86_64-oe-linux-libtool --tag=CXX --mode=link x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot -std=c++11 -pthread -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -o protoc-c/protoc-gen-c protoc-c/protoc_gen_c-c_bytes_field.o protoc-c/protoc_gen_c-c_enum.o protoc-c/protoc_gen_c-c_enum_field.o protoc-c/protoc_gen_c-c_extension.o protoc-c/protoc_gen_c-c_field.o protoc-c/protoc_gen_c-c_file.o protoc-c/protoc_gen_c-c_generator.o protoc-c/protoc_gen_c-c_helpers.o protoc-c/protoc_gen_c-c_message.o protoc-c/protoc_gen_c-c_message_field.o protoc-c/protoc_gen_c-c_primitive_field.o protoc-c/protoc_gen_c-c_service.o protoc-c/protoc_gen_c-c_string_field.o protobuf-c/protoc_c_protoc_gen_c-protobuf-c.pb.o protoc-c/protoc_gen_c-main.o -lprotobuf -lpthread -lprotoc | x86_64-oe-linux-libtool: link: x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot -std=c++11 -pthread -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0=/usr/src/debug/protobuf-c/1.4.0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot-native= -Wl,-z -Wl,relro -Wl,-z -Wl,now -fuse-ld=bfd -o protoc-c/protoc-gen-c protoc-c/protoc_gen_c-c_bytes_field.o protoc-c/protoc_gen_c-c_enum.o protoc-c/protoc_gen_c-c_enum_field.o protoc-c/protoc_gen_c-c_extension.o protoc-c/protoc_gen_c-c_field.o protoc-c/protoc_gen_c-c_file.o protoc-c/protoc_gen_c-c_generator.o protoc-c/protoc_gen_c-c_helpers.o protoc-c/protoc_gen_c-c_message.o protoc-c/protoc_gen_c-c_message_field.o protoc-c/protoc_gen_c-c_primitive_field.o protoc-c/protoc_gen_c-c_service.o protoc-c/protoc_gen_c-c_string_field.o protobuf-c/protoc_c_protoc_gen_c-protobuf-c.pb.o protoc-c/protoc_gen_c-main.o -lprotobuf -lpthread -lprotoc -pthread | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/protobuf-c/1.4.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.2.0/ld.bfd: protobuf-c/protoc_c_protoc_gen_c-protobuf-c.pb.o:(.data.rel.ro+0x30): undefined reference to `descriptor_table_google_2fprotobuf_2fdescriptor_2eproto' | collect2: error: ld returned 1 exit status Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>