You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pip install python-kadmin
Collecting python-kadmin
Downloading https://files.pythonhosted.org/packages/8e/80/db00a44f980036388e62d70fe290c44dfa102687a5b16ed8a96e2124cf41/python-kadmin-0.1.2.tar.gz (56kB)
100% |████████████████████████████████| 61kB 895kB/s
Building wheels for collected packages: python-kadmin
Running setup.py bdist_wheel for python-kadmin ... error
Complete output from command /home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-kgf6dag9/python-kadmin/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-w94tusgv --python-tag cp35:
running bdist_wheel
running build
running build_ext
building 'kadmin' extension
creating build
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/kadmin.c -o build/temp.linux-x86_64-3.5/src/kadmin.o
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/kadmin.c:8:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminErrors.c -o build/temp.linux-x86_64-3.5/src/PyKAdminErrors.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminObject.c -o build/temp.linux-x86_64-3.5/src/PyKAdminObject.o
src/PyKAdminObject.c: In function ‘PyKAdminObject_new’:
src/PyKAdminObject.c:43:21: warning: variable ‘code’ set but not used [-Wunused-but-set-variable]
krb5_error_code code = 0;
^~~~
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminObject.c:6:
src/PyKAdminObject.c: At top level:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminIterator.c -o build/temp.linux-x86_64-3.5/src/PyKAdminIterator.o
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminIterator.c:5:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminIterator.c:17:12: warning: ‘PyKAdminIterator_init’ defined but not used [-Wunused-function]
static int PyKAdminIterator_init(PyKAdminIterator *self, PyObject *args, PyObject *kwds) {
^~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminPrincipalObject.c -o build/temp.linux-x86_64-3.5/src/PyKAdminPrincipalObject.o
src/PyKAdminPrincipalObject.c: In function ‘PyKAdminPrincipal_print’:
src/PyKAdminPrincipalObject.c:124:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
krb5_error_code errno;
^~~~~~~~~~~~~~~
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminPrincipalObject.c:6:
src/PyKAdminPrincipalObject.c: At top level:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminPrincipalObject.c:69:18: warning: ‘PyKAdminPrincipal_str’ defined but not used [-Wunused-function]
static PyObject *PyKAdminPrincipal_str(PyKAdminPrincipalObject *self) {
^~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminPolicyObject.c -o build/temp.linux-x86_64-3.5/src/PyKAdminPolicyObject.o
src/PyKAdminPolicyObject.c:123:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
KAdminPolicyObject_print, /*tp_print*/
^~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminPolicyObject.c:123:5: note: (near initialization for ‘PyKAdminPolicyObject_Type.tp_print’)
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminPolicyObject.c:2:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminCommon.c -o build/temp.linux-x86_64-3.5/src/PyKAdminCommon.o
src/PyKAdminCommon.c:217:20: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
static kadm5_ret_t krb5_copy_key_data_contents(context, from, to)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.c: In function ‘pykadmin_kadm_from_kdb’:
src/PyKAdminCommon.c:378:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
} else
^~~~
src/PyKAdminCommon.c:381:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
for (i = 0; i < entry->n_key_data; i++)
^~~
In file included from src/PyKAdminCommon.c:14:0:
src/PyKAdminCommon.c: At top level:
/usr/include/python3.5m/datetime.h:231:22: warning: ‘PyDateTimeAPI’ is static but used in inline function ‘pykadmin_pydatetime_from_timestamp’ which is not static
(PyObject*) (PyDateTimeAPI->DateTimeType), args, NULL)
^
src/PyKAdminCommon.c:108:24: note: in expansion of macro ‘PyDateTime_FromTimestamp’
datetime = PyDateTime_FromTimestamp(args);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.5m/datetime.h:230:5: warning: ‘PyDateTimeAPI’ is static but used in inline function ‘pykadmin_pydatetime_from_timestamp’ which is not static
PyDateTimeAPI->DateTime_FromTimestamp( \
^
src/PyKAdminCommon.c:108:24: note: in expansion of macro ‘PyDateTime_FromTimestamp’
datetime = PyDateTime_FromTimestamp(args);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.5m/datetime.h:194:5: warning: ‘PyDateTimeAPI’ is static but used in inline function ‘pykadmin_pydatetime_from_timestamp’ which is not static
PyDateTimeAPI = (PyDateTime_CAPI *)PyCapsule_Import(PyDateTime_CAPSULE_NAME, 0)
^
src/PyKAdminCommon.c:99:5: note: in expansion of macro ‘PyDateTime_IMPORT’
PyDateTime_IMPORT;
^~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminXDR.c -o build/temp.linux-x86_64-3.5/src/PyKAdminXDR.o
src/PyKAdminXDR.c: In function ‘pykadmin_xdr_osa_princ_ent_rec’:
src/PyKAdminXDR.c:36:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!xdr_array(xdrs, (caddr_t *) &entry->old_keys, (unsigned int *) &entry->old_key_len, ~0, sizeof(osa_pw_hist_ent), pykadmin_xdr_osa_pw_hist_ent))
^~
src/PyKAdminXDR.c:39:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
result = 1;
^~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/getdate.c -o build/temp.linux-x86_64-3.5/src/getdate.o
./src/getdate.y:110:15: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern struct tm *gmtime();
^~
./src/getdate.y:111:15: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern struct tm *localtime();
^~
creating build/lib.linux-x86_64-3.5
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5/src/kadmin.o build/temp.linux-x86_64-3.5/src/PyKAdminErrors.o build/temp.linux-x86_64-3.5/src/PyKAdminObject.o build/temp.linux-x86_64-3.5/src/PyKAdminIterator.o build/temp.linux-x86_64-3.5/src/PyKAdminPrincipalObject.o build/temp.linux-x86_64-3.5/src/PyKAdminPolicyObject.o build/temp.linux-x86_64-3.5/src/PyKAdminCommon.o build/temp.linux-x86_64-3.5/src/PyKAdminXDR.o build/temp.linux-x86_64-3.5/src/getdate.o -lkrb5 -lkadm5clnt -lkdb5 -o build/lib.linux-x86_64-3.5/kadmin.cpython-35m-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib.linux-x86_64-3.5/kadmin.cpython-35m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
running egg_info
creating python_kadmin.egg-info
writing python_kadmin.egg-info/PKG-INFO
writing dependency_links to python_kadmin.egg-info/dependency_links.txt
writing top-level names to python_kadmin.egg-info/top_level.txt
writing manifest file 'python_kadmin.egg-info/SOURCES.txt'
reading manifest file 'python_kadmin.egg-info/SOURCES.txt'
writing manifest file 'python_kadmin.egg-info/SOURCES.txt'
Copying python_kadmin.egg-info to build/bdist.linux-x86_64/wheel/python_kadmin-0.1.2-py3.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/python_kadmin-0.1.2.dist-info/WHEEL
creating '/tmp/pip-wheel-w94tusgv/python_kadmin-0.1.2-cp35-cp35m-linux_x86_64.whl' and adding '.' to it
adding 'kadmin.cpython-35m-x86_64-linux-gnu.so'
adding 'python_kadmin-0.1.2.dist-info/top_level.txt'
adding 'python_kadmin-0.1.2.dist-info/WHEEL'
adding 'python_kadmin-0.1.2.dist-info/METADATA'
adding 'python_kadmin-0.1.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
running bdist_wheel
running build
running build_ext
building 'kadmin_local' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/kadmin.c -o build/temp.linux-x86_64-3.5/src/kadmin.o
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/kadmin.c:8:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminErrors.c -o build/temp.linux-x86_64-3.5/src/PyKAdminErrors.o
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminObject.c -o build/temp.linux-x86_64-3.5/src/PyKAdminObject.o
src/PyKAdminObject.c: In function ‘PyKAdminObject_new’:
src/PyKAdminObject.c:43:21: warning: variable ‘code’ set but not used [-Wunused-but-set-variable]
krb5_error_code code = 0;
^~~~
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminObject.c:6:
src/PyKAdminObject.c: At top level:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminIterator.c -o build/temp.linux-x86_64-3.5/src/PyKAdminIterator.o
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminIterator.c:5:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminIterator.c:17:12: warning: ‘PyKAdminIterator_init’ defined but not used [-Wunused-function]
static int PyKAdminIterator_init(PyKAdminIterator *self, PyObject *args, PyObject *kwds) {
^~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminPrincipalObject.c -o build/temp.linux-x86_64-3.5/src/PyKAdminPrincipalObject.o
src/PyKAdminPrincipalObject.c: In function ‘PyKAdminPrincipal_print’:
src/PyKAdminPrincipalObject.c:124:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
krb5_error_code errno;
^~~~~~~~~~~~~~~
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminPrincipalObject.c:6:
src/PyKAdminPrincipalObject.c: At top level:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminPrincipalObject.c:69:18: warning: ‘PyKAdminPrincipal_str’ defined but not used [-Wunused-function]
static PyObject *PyKAdminPrincipal_str(PyKAdminPrincipalObject *self) {
^~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminPolicyObject.c -o build/temp.linux-x86_64-3.5/src/PyKAdminPolicyObject.o
src/PyKAdminPolicyObject.c:123:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
KAdminPolicyObject_print, /*tp_print*/
^~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminPolicyObject.c:123:5: note: (near initialization for ‘PyKAdminPolicyObject_Type.tp_print’)
In file included from src/PyKAdminPolicyObject.h:13:0,
from src/PyKAdminPolicyObject.c:2:
src/PyKAdminCommon.h:29:18: warning: inline function ‘pykadmin_pydatetime_from_timestamp’ declared but never defined
inline PyObject *pykadmin_pydatetime_from_timestamp(time_t timestamp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.h:25:14: warning: inline function ‘PyUnicode_or_PyBytes_asCString’ declared but never defined
inline char *PyUnicode_or_PyBytes_asCString(PyObject *in_str);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminCommon.c -o build/temp.linux-x86_64-3.5/src/PyKAdminCommon.o
src/PyKAdminCommon.c:217:20: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
static kadm5_ret_t krb5_copy_key_data_contents(context, from, to)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/PyKAdminCommon.c: In function ‘pykadmin_kadm_from_kdb’:
src/PyKAdminCommon.c:378:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
} else
^~~~
src/PyKAdminCommon.c:381:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
for (i = 0; i < entry->n_key_data; i++)
^~~
In file included from src/PyKAdminCommon.c:14:0:
src/PyKAdminCommon.c: At top level:
/usr/include/python3.5m/datetime.h:231:22: warning: ‘PyDateTimeAPI’ is static but used in inline function ‘pykadmin_pydatetime_from_timestamp’ which is not static
(PyObject*) (PyDateTimeAPI->DateTimeType), args, NULL)
^
src/PyKAdminCommon.c:108:24: note: in expansion of macro ‘PyDateTime_FromTimestamp’
datetime = PyDateTime_FromTimestamp(args);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.5m/datetime.h:230:5: warning: ‘PyDateTimeAPI’ is static but used in inline function ‘pykadmin_pydatetime_from_timestamp’ which is not static
PyDateTimeAPI->DateTime_FromTimestamp( \
^
src/PyKAdminCommon.c:108:24: note: in expansion of macro ‘PyDateTime_FromTimestamp’
datetime = PyDateTime_FromTimestamp(args);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.5m/datetime.h:194:5: warning: ‘PyDateTimeAPI’ is static but used in inline function ‘pykadmin_pydatetime_from_timestamp’ which is not static
PyDateTimeAPI = (PyDateTime_CAPI *)PyCapsule_Import(PyDateTime_CAPSULE_NAME, 0)
^
src/PyKAdminCommon.c:99:5: note: in expansion of macro ‘PyDateTime_IMPORT’
PyDateTime_IMPORT;
^~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/PyKAdminXDR.c -o build/temp.linux-x86_64-3.5/src/PyKAdminXDR.o
src/PyKAdminXDR.c: In function ‘pykadmin_xdr_osa_princ_ent_rec’:
src/PyKAdminXDR.c:36:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!xdr_array(xdrs, (caddr_t *) &entry->old_keys, (unsigned int *) &entry->old_key_len, ~0, sizeof(osa_pw_hist_ent), pykadmin_xdr_osa_pw_hist_ent))
^~
src/PyKAdminXDR.c:39:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
result = 1;
^~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/usr/include/python3.5m -I/home/dtucker/.local/share/virtualenvs/isilon_hadoop_tools-FcMFzDNy/include/python3.5m -c src/getdate.c -o build/temp.linux-x86_64-3.5/src/getdate.o
./src/getdate.y:110:15: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern struct tm *gmtime();
^~
./src/getdate.y:111:15: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern struct tm *localtime();
^~
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5/src/kadmin.o build/temp.linux-x86_64-3.5/src/PyKAdminErrors.o build/temp.linux-x86_64-3.5/src/PyKAdminObject.o build/temp.linux-x86_64-3.5/src/PyKAdminIterator.o build/temp.linux-x86_64-3.5/src/PyKAdminPrincipalObject.o build/temp.linux-x86_64-3.5/src/PyKAdminPolicyObject.o build/temp.linux-x86_64-3.5/src/PyKAdminCommon.o build/temp.linux-x86_64-3.5/src/PyKAdminXDR.o build/temp.linux-x86_64-3.5/src/getdate.o -lkrb5 -lkadm5srv -lkdb5 -o build/lib.linux-x86_64-3.5/kadmin_local.cpython-35m-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
copying build/lib.linux-x86_64-3.5/kadmin_local.cpython-35m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
error: could not create 'build/bdist.linux-x86_64/wheel/kadmin_local.cpython-35m-x86_64-linux-gnu.so': No such file or directory
----------------------------------------
Failed building wheel for python-kadmin
Running setup.py clean for python-kadmin
Failed to build python-kadmin
Installing collected packages: python-kadmin
Running setup.py install for python-kadmin ... done
Successfully installed python-kadmin-0.1.2
--no-binary :all:
does not seem to help.Also, the build error changes if
mkdir -p build/lib.linux-x86_64-3.5
is run beforehand.The text was updated successfully, but these errors were encountered: