On 8/15/23 6:44 PM, wangmy wrote:
From: Wang Mingyu <wan...@fujitsu.com>

Changelog:
https://github.com/protocolbuffers/protobuf/releases/tag/v24.0


Fails to build with clang

| python/message.c:140:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
|   140 |   if (bits->type_basicsize == -1) goto err;
|       |       ~~~~~~~~~~~~~~~~~~~~ ^  ~~
| python/message.c:1238:49: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
|  1238 |                        upb_MessageDef_MiniTable(other->def),
|       |                                                 ^~~~~~~~~~
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-protobuf/4.24.0/protobuf-4.24.0/upb/reflection/message_def.h:138:69: note: passing argument to parameter 'm' here | 138 | const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m); | | ^ | python/message.c:1609:69: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion] | 1609 | upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable(self->def), | | ^~~~~~~~~ | /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-protobuf/4.24.0/protobuf-4.24.0/upb/reflection/message_def.h:138:69: note: passing argument to parameter 'm' here | 138 | const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m); | | ^ | python/message.c:1611:44: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
|  1611 |   PyObject* ret = PyUpb_Message_Get(clone, self->def, arena);
|       |                                            ^~~~~~~~~
| python/message.c:822:71: note: passing argument to parameter 'm' here
| 822 | PyObject* PyUpb_Message_Get(upb_Message* u_msg, const upb_MessageDef* m, | | ^
| 1 warning and 3 errors generated.
|



Signed-off-by: Wang Mingyu <wan...@fujitsu.com>
---
  .../{python3-protobuf_4.23.4.bb => python3-protobuf_4.24.0.bb}  | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
  rename meta-python/recipes-devtools/python/{python3-protobuf_4.23.4.bb => 
python3-protobuf_4.24.0.bb} (92%)

diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb 
b/meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb
index 8474a43d69..fdc80b7015 100644
--- a/meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb
+++ b/meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a
inherit pypi setuptools3 -SRC_URI[sha256sum] = "ccd9430c0719dce806b93f89c91de7977304729e55377f872a92465d548329a9"
+SRC_URI[sha256sum] = 
"5d0ceb9de6e08311832169e601d1fc71bd8e8c779f3ee38a97a78554945ecb85"
# http://errors.yoctoproject.org/Errors/Details/184715/
  # Can't find required file: ../src/google/protobuf/descriptor.proto





Attachment: OpenPGP_0xBB053355919D3314.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104440): 
https://lists.openembedded.org/g/openembedded-devel/message/104440
Mute This Topic: https://lists.openembedded.org/mt/100771801/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to