Re: git: 7fc13c04b97c - main - devel/py-protobuf: Update to 4.24.1
Date: Fri, 25 Aug 2023 12:24:42 UTC
Hi Sunpoet, Am 22.08.23 um 00:41 schrieb Dima Panov: > Moin-moin! > > It fails on recent current and clang16+ Same here on 14.0-ALPHA2 amd64 1400096 :( Best wishes, Rainer > 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_MessageDef *') [-Wi > upb_MessageDef_MiniTable(other->def), > ^~~~~~~~~~ > /wrkdirs/usr/ports/devel/py-protobuf/work-py38/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 *') [-Wi > upb_Message_DeepClone(self->ptr.msg, > upb_MessageDef_MiniTable(self->def), > > ^~~~~~~~~ > /wrkdirs/usr/ports/devel/py-protobuf/work-py38/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 *') [-Wi > 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. > /usr/local/lib/python3.8/site-packages/setuptools/dist.py:286: > SetuptoolsDeprecationWarning: The namespace_packages parameter is > deprecated, consider using implicit namespaces instead (PEP 420). > warnings.warn(msg, SetuptoolsDeprecationWarning) > error: command '/usr/local/libexec/ccache/cc' failed with exit code 1 > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/py-protobuf > > > On 21.08.2023 22:05, Po-Chuan Hsieh wrote: >> The branch main has been updated by sunpoet: >> >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=7fc13c04b97cd21526fe4718f478a25799a2628c >> >> commit 7fc13c04b97cd21526fe4718f478a25799a2628c >> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> >> AuthorDate: 2023-08-21 18:52:44 +0000 >> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> >> CommitDate: 2023-08-21 18:52:44 +0000 >> >> devel/py-protobuf: Update to 4.24.1 >> Changes: https://github.com/protocolbuffers/protobuf/releases >> --- >> devel/py-protobuf/Makefile | 2 +- >> devel/py-protobuf/distinfo | 6 +++--- >> 2 files changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/devel/py-protobuf/Makefile b/devel/py-protobuf/Makefile >> index 489922501612..e29c3ba6ff93 100644 >> --- a/devel/py-protobuf/Makefile >> +++ b/devel/py-protobuf/Makefile >> @@ -1,5 +1,5 @@ >> PORTNAME= protobuf >> -PORTVERSION= 4.24.0 >> +PORTVERSION= 4.24.1 >> PORTEPOCH= 1 >> CATEGORIES= devel python >> MASTER_SITES= PYPI >> diff --git a/devel/py-protobuf/distinfo b/devel/py-protobuf/distinfo >> index 40e1fcc63312..cbdcff751447 100644 >> --- a/devel/py-protobuf/distinfo >> +++ b/devel/py-protobuf/distinfo >> @@ -1,3 +1,3 @@ >> -TIMESTAMP = 1692211757 >> -SHA256 (protobuf-4.24.0.tar.gz) = >> 5d0ceb9de6e08311832169e601d1fc71bd8e8c779f3ee38a97a78554945ecb85 >> -SIZE (protobuf-4.24.0.tar.gz) = 383326 >> +TIMESTAMP = 1692640052 >> +SHA256 (protobuf-4.24.1.tar.gz) = >> 44837a5ed9c9418ad5d502f89f28ba102e9cd172b6668bc813f21716f9273348 >> +SIZE (protobuf-4.24.1.tar.gz) = 383355 >> >