[MacPorts] #62645: py*-pykerberos @1.2.1: error: implicit declaration of function 'mempcpy' is invalid in C99

MacPorts noreply at macports.org
Tue Apr 6 14:33:13 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
 Keywords:  bigsur       |       Port:  py-pykerberos, py27-pykerberos,
  catalina               |  py36-pykerberos, py37-pykerberos,
                         |  py38-pykerberos, py39-pykerberos
-------------------------+-------------------------------------------------
 All pykerberos ports fail to upgrade for me with an error from `-Werror
 =implicit-function-declaration`:
 {{{
 usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-
 common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9
 -c src/kerberosgss.c -o
 build/temp.macosx-11.2-x86_64-3.9/src/kerberosgss.o -I/opt/local/include
 -DGSSAPI_EXT
 src/kerberosgss.c:876:14: error: implicit declaration of function
 'mempcpy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
     outloc = mempcpy(outloc, iov[1].buffer.value, iov[1].buffer.length);
              ^
 src/kerberosgss.c:876:12: warning: incompatible integer to pointer
 conversion assigning to 'char *' from 'int' [-Wint-conversion]
     outloc = mempcpy(outloc, iov[1].buffer.value, iov[1].buffer.length);
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1 warning and 1 error generated.
 error: command '/usr/bin/clang' failed with exit code 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pykerberos/py39-pykerberos/work/pykerberos-1.2.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 setup.py --no-user-cfg build -j16
 Exit code: 1
 Error: Failed to build py39-pykerberos: command execution failed
 DEBUG: Error code: CHILDSTATUS 49636 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62645>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list