[MacPorts] #62645: py*-pykerberos @1.2.1: error: implicit declaration of function 'mempcpy' is invalid in C99
MacPorts
noreply at macports.org
Wed Apr 14 23:24:20 UTC 2021
#62645: py*-pykerberos @1.2.1: error: implicit declaration of function 'mempcpy' is
invalid in C99
----------------------------+-----------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur catalina
Port: py-pykerberos |
----------------------------+-----------------------------
Comment (by ryandesign):
As far as I can find out, `mempcpy` is not a standard function and it does
not exist on macOS. The developers of pykerberos would need to provide an
implementation of it. For example there is an implementation of it in
gnulib: https://www.gnu.org/software/gnulib/manual/html_node/mempcpy.html
Nevertheless, the build succeeds with just a warning when using Xcode 11
or earlier. I don't understand why the build succeeds or where it's
getting an implementation of `mempcpy` from.
I would like to report this problem to the developers of pykerberos so
that they can fix it but I cannot figure out where their homepage or bug
tracker are located. They are not mentioned in the README or on the pypi
page.
What is mentioned in the README is this:
> NOTE: this fork of ccs-kerberos is currently on life support mode as
Apple has resumed work on upstream. Please try to use
https://pypi.python.org/pypi/kerberos instead of this fork if possible.
So perhaps we should switch to that. Perhaps Apple has already fixed the
problem in their version. Apple's version is:
https://github.com/apple/ccs-pykerberos
At least I do not find any occurrences of `mempcpy` when I search that
repo using the GitHub web site.
I don't find any ports depending on py*-pykerberos so at least switching
should not impact any other ports.
--
Ticket URL: <https://trac.macports.org/ticket/62645#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list