Skip to contentSkip to conversation

msgpack-c: upgrade 4.0.0 -> 6.0.0

PATCH Applied alperak 2 participants 4 messages Nov 27, 2023 – Nov 28, 2023

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 msgpack-c: upgrade 4.0.0 -> 6.0.0

- GTest should be OFF by default. -> https://github.com/msgpack/msgpack-c/issues/1066

Changelog:

- Remove C++ requirement if test is disabled (#1055)
- Change CMake package name of C library to msgpack-c (#1053)
- Unified all C package, library, cmake, tarball name become msgpack-c.
- Add additional address sanitizer for CI. (#1023)
- Change CMake package name of C library to msgpackc (#1044, #1049)

---
 .../msgpack/{msgpack-c_4.0.0.bb => msgpack-c_6.0.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/msgpack/{msgpack-c_4.0.0.bb => msgpack-c_6.0.0.bb} (86%)
meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb renamed from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb +3 -3
similarity index 86%
rename from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb
rename to meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb
index c6a6ac467..40d997a52 100644
@@ -7,14 +7,14 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
                     file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \
                    "
 
-PV .= "+git${SRCPV}"
-
 SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master;protocol=https \
            "
-SRCREV = "a9a48cea3a78ba661ee8096b5dab456361b0ff23"
+SRCREV = "8160ede5e20fd3019a77eea46d9c72cf6163f802"
 
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+EXTRA_OECMAKE += "-DMSGPACK_BUILD_TESTS=off" 
+
 BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.25.1
#1 lore raw

tmate fails to build with this upgrade

https://errors.yoctoproject.org/Errors/Details/743897/

Quoted 54 lines · Alper Ak

- GTest should be OFF by default. -> https://github.com/msgpack/msgpack-c/issues/1066

Changelog:

- Remove C++ requirement if test is disabled (#1055)
- Change CMake package name of C library to msgpack-c (#1053)
- Unified all C package, library, cmake, tarball name become msgpack-c.
- Add additional address sanitizer for CI. (#1023)
- Change CMake package name of C library to msgpackc (#1044, #1049)

---
 .../msgpack/{msgpack-c_4.0.0.bb => msgpack-c_6.0.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/msgpack/{msgpack-c_4.0.0.bb => msgpack-c_6.0.0.bb} (86%)
meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb renamed from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb +3 -4
similarity index 86%
rename from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb
rename to meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb
index c6a6ac467..40d997a52 100644
@@ -7,14 +7,14 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
                     file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \
                    "
 
-PV .= "+git${SRCPV}"
-
 SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master;protocol=https \
            "
-SRCREV = "a9a48cea3a78ba661ee8096b5dab456361b0ff23"
+SRCREV = "8160ede5e20fd3019a77eea46d9c72cf6163f802"
 
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+EXTRA_OECMAKE += "-DMSGPACK_BUILD_TESTS=off"
+
 BBCLASSEXTEND += "native nativesdk"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107059): https://lists.openembedded.org/g/openembedded-devel/message/107059
Mute This Topic: https://lists.openembedded.org/mt/102828614/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw

I sent a patch request for tmate to fix this issue:

https://lists.openembedded.org/g/openembedded-devel/message/107095

Khem Raj <[email protected]>, 27 Kas 2023 Pzt, 21:06 tarihinde şunu yazdı:

Quoted 68 lines

tmate fails to build with this upgrade

https://errors.yoctoproject.org/Errors/Details/743897/

Quoted 2 lines · Alper Ak

- GTest should be OFF by default. ->

https://github.com/msgpack/msgpack-c/issues/1066

Quoted 9 lines

Changelog:

- Remove C++ requirement if test is disabled (#1055)
- Change CMake package name of C library to msgpack-c (#1053)
- Unified all C package, library, cmake, tarball name become msgpack-c.
- Add additional address sanitizer for CI. (#1023)
- Change CMake package name of C library to msgpackc (#1044, #1049)

Quoted 5 lines
---
 .../msgpack/{msgpack-c_4.0.0.bb => msgpack-c_6.0.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/msgpack/{msgpack-c_4.0.0.bb =>

msgpack-c_6.0.0.bb} (86%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb

meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb LIC_FILES_CHKSUM =

Quoted 7 lines

similarity index 86%
rename from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb rename to meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb index c6a6ac467..40d997a52 100644

meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb renamed from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb +0 -0
@@ -7,14 +7,14 @@ LIC_FILES_CHKSUM =

"file://NOTICE;md5=7a858c074723608e08614061dc044352 \

Quoted 1 line

file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \

meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \

Quoted 5 lines
                    "
meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb renamed from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb +0 -2
-PV .= "+git${SRCPV}"
-
 SRC_URI = "git://

github.com/msgpack/msgpack-c;branch=c_master;protocol=https \

Quoted 15 lines
            "
meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb renamed from meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb +3 -2
-SRCREV = "a9a48cea3a78ba661ee8096b5dab456361b0ff23"
+SRCREV = "8160ede5e20fd3019a77eea46d9c72cf6163f802"
 
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
 
+EXTRA_OECMAKE += "-DMSGPACK_BUILD_TESTS=off"
+
 BBCLASSEXTEND += "native nativesdk"
--

2.25.1

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#107059):

https://lists.openembedded.org/g/openembedded-devel/message/107059

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/102828614/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

Applied
#3 lore raw
In reply to alperak
Quoted 11 lines · alperak

- GTest should be OFF by default. -> https://github.com/msgpack/msgpack-c/issues/1066

Changelog:

- Remove C++ requirement if test is disabled (#1055)
- Change CMake package name of C library to msgpack-c (#1053)
- Unified all C package, library, cmake, tarball name become msgpack-c.
- Add additional address sanitizer for CI. (#1023)
- Change CMake package name of C library to msgpackc (#1044, #1049)

[...]

Applied, thanks!

[1/1] msgpack-c: upgrade 4.0.0 -> 6.0.0

      commit: fe0d5e65cd8d9fef9d4e3043dfb86f747c5f14fb

Best regards,

Signature · 1 line
Khem Raj <[email protected]>