[Bug 273282] devel/py-protobuf build failure after update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Aug 2023 08:17:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273282 Bug ID: 273282 Summary: devel/py-protobuf build failure after update Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: jakub_lach@mailplus.pl Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org python/message.c:140:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] 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_MessageDe f *') [-Wint-conversion] upb_MessageDef_MiniTable(other->def), ^~~~~~~~~~ /usr/obj/usr/ports/devel/py-protobuf/work-py39/protobuf-4.24.1/upb/reflection/message_def.h:138:69: note: passing argument to parameter 'm' here 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] upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable(self->def), ^~~~~~~~~ /usr/obj/usr/ports/devel/py-protobuf/work-py39/protobuf-4.24.1/upb/reflection/message_def.h:138:69: note: passing argument to parameter 'm' here 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] PyObject* ret = PyUpb_Message_Get(clone, self->def, arena); ^~~~~~~~~ python/message.c:822:71: note: passing argument to parameter 'm' here PyObject* PyUpb_Message_Get(upb_Message* u_msg, const upb_MessageDef* m, ^ 1 warning and 3 errors generated. error: command '/usr/bin/cc' failed with exit code 1 *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.