Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2023 08:17:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273282] devel/py-protobuf build failure after update
Message-ID:  <bug-273282-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273282

            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 =3D=3D -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/reflecti=
on/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->d=
ef),
                                                                    ^~~~~~~=
~~
/usr/obj/usr/ports/devel/py-protobuf/work-py39/protobuf-4.24.1/upb/reflecti=
on/message_def.h:138:69:
note: passing argument to parameter 'm' here
const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m);
                                                                    ^=20=20=
=20=20=20=20=20=20=20=20=20
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 =3D 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273282-7788>