[Bug 269773] security/py-python-axolotl-curve25519 fails to build with: error: incompatible pointer to integer conversion

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Feb 2023 08:48:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269773

            Bug ID: 269773
           Summary: security/py-python-axolotl-curve25519 fails to build
                    with: error: incompatible pointer to integer
                    conversion
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: agh@riseup.net
                CC: meka@tilda.center
                CC: meka@tilda.center
             Flags: maintainer-feedback?(meka@tilda.center)

Created attachment 240338
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240338&action=edit
py-python-axolotl-curve25519.patch

From
https://portsfallout.com/fallout?port=security%2Fpy-python-axolotl-curve25519%24,

39/curve25519module.o
curve25519module.c:161:9: error: incompatible pointer to integer conversion
initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *'
[-Wint-conversion]
        NULL,
        ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/security/py-python-axolotl-curve25519
=>> Cleaning up wrkdir
===>  Cleaning for py39-python-axolotl-curve25519-0.4.1
build of security/py-python-axolotl-curve25519 |
py39-python-axolotl-curve25519-0.4.1 ended at Wed Feb 22 23:31:21 UTC 2023
build time: 00:00:24
!!! build failure encountered !!!

There is already and upstream pull request with a fix,
https://github.com/tgalal/python-axolotl-curve25519/pull/26.

Attached diff for use until Upstream commits the pull request and produces a
new archive.

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