rjancewicz / python-kadmin

Python module for kerberos admin (kadm5)
MIT License
35 stars 40 forks source link

Cannot build wheel for python-kadmin #58

Open Bhambya opened 6 years ago

Bhambya commented 6 years ago

Wheel cannot be built for python-kadmin. Installing directly works for some reason:

  Running setup.py bdist_wheel for python-kadmin ... [?25l- \ | / - \ | / - \ | / - \ | / - \ error
  Complete output from command /tmp/build-cache.scoE0K/appdev-aloha/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-FscgMz/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/tmp8T_6Blpip-wheel-:
  running bdist_wheel
  running build
  running build_ext
  building 'kadmin' extension
  creating build
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/src
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/kadmin.c -o build/temp.linux-x86_64-2.7/src/kadmin.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminErrors.c -o build/temp.linux-x86_64-2.7/src/PyKAdminErrors.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminObject.c -o build/temp.linux-x86_64-2.7/src/PyKAdminObject.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminIterator.c -o build/temp.linux-x86_64-2.7/src/PyKAdminIterator.o
  src/PyKAdminIterator.c:17: warning: ‘PyKAdminIterator_init’ defined but not used
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminPrincipalObject.c -o build/temp.linux-x86_64-2.7/src/PyKAdminPrincipalObject.o
  src/PyKAdminPrincipalObject.c: In function ‘PyKAdminPrincipal_print’:
  src/PyKAdminPrincipalObject.c:124: warning: function declaration isn’t a prototype
  src/PyKAdminPrincipalObject.c: At top level:
  src/PyKAdminPrincipalObject.c:69: warning: ‘PyKAdminPrincipal_str’ defined but not used
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminPolicyObject.c -o build/temp.linux-x86_64-2.7/src/PyKAdminPolicyObject.o
  src/PyKAdminPolicyObject.c:123: warning: initialization from incompatible pointer type
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminCommon.c -o build/temp.linux-x86_64-2.7/src/PyKAdminCommon.o
  src/PyKAdminCommon.c:218: warning: function declaration isn’t a prototype
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminXDR.c -o build/temp.linux-x86_64-2.7/src/PyKAdminXDR.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/getdate.c -o build/temp.linux-x86_64-2.7/src/getdate.o
  ./src/getdate.y:110: warning: function declaration isn’t a prototype
  ./src/getdate.y:111: warning: function declaration isn’t a prototype
  creating build/lib.linux-x86_64-2.7
  gcc -pthread -shared build/temp.linux-x86_64-2.7/src/kadmin.o build/temp.linux-x86_64-2.7/src/PyKAdminErrors.o build/temp.linux-x86_64-2.7/src/PyKAdminObject.o build/temp.linux-x86_64-2.7/src/PyKAdminIterator.o build/temp.linux-x86_64-2.7/src/PyKAdminPrincipalObject.o build/temp.linux-x86_64-2.7/src/PyKAdminPolicyObject.o build/temp.linux-x86_64-2.7/src/PyKAdminCommon.o build/temp.linux-x86_64-2.7/src/PyKAdminXDR.o build/temp.linux-x86_64-2.7/src/getdate.o -L/opt/python27/lib -lkrb5 -lkadm5clnt -lkdb5 -lpython2.7 -o build/lib.linux-x86_64-2.7/kadmin.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-2.7/kadmin.so -> build/bdist.linux-x86_64/wheel
  running install_egg_info
  running egg_info
  creating python_kadmin.egg-info
  writing python_kadmin.egg-info/PKG-INFO
  writing top-level names to python_kadmin.egg-info/top_level.txt
  writing dependency_links to python_kadmin.egg-info/dependency_links.txt
  writing manifest file 'python_kadmin.egg-info/SOURCES.txt'
  warning: manifest_maker: standard file '-c' not found

  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-py2.7.egg-info
  running install_scripts
  creating build/bdist.linux-x86_64/wheel/python_kadmin-0.1.2.dist-info/WHEEL
  running bdist_wheel
  running build
  running build_ext
  building 'kadmin_local' extension
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/kadmin.c -o build/temp.linux-x86_64-2.7/src/kadmin.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminErrors.c -o build/temp.linux-x86_64-2.7/src/PyKAdminErrors.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminObject.c -o build/temp.linux-x86_64-2.7/src/PyKAdminObject.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminIterator.c -o build/temp.linux-x86_64-2.7/src/PyKAdminIterator.o
  src/PyKAdminIterator.c:17: warning: ‘PyKAdminIterator_init’ defined but not used
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminPrincipalObject.c -o build/temp.linux-x86_64-2.7/src/PyKAdminPrincipalObject.o
  src/PyKAdminPrincipalObject.c: In function ‘PyKAdminPrincipal_print’:
  src/PyKAdminPrincipalObject.c:124: warning: function declaration isn’t a prototype
  src/PyKAdminPrincipalObject.c: At top level:
  src/PyKAdminPrincipalObject.c:69: warning: ‘PyKAdminPrincipal_str’ defined but not used
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminPolicyObject.c -o build/temp.linux-x86_64-2.7/src/PyKAdminPolicyObject.o
  src/PyKAdminPolicyObject.c:123: warning: initialization from incompatible pointer type
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminCommon.c -o build/temp.linux-x86_64-2.7/src/PyKAdminCommon.o
  src/PyKAdminCommon.c:218: warning: function declaration isn’t a prototype
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/PyKAdminXDR.c -o build/temp.linux-x86_64-2.7/src/PyKAdminXDR.o
  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DKADMIN_LOCAL= -I/usr/include/ -I/usr/include/et/ -I/opt/python27/include/python2.7 -c src/getdate.c -o build/temp.linux-x86_64-2.7/src/getdate.o
  ./src/getdate.y:110: warning: function declaration isn’t a prototype
  ./src/getdate.y:111: warning: function declaration isn’t a prototype
  gcc -pthread -shared build/temp.linux-x86_64-2.7/src/kadmin.o build/temp.linux-x86_64-2.7/src/PyKAdminErrors.o build/temp.linux-x86_64-2.7/src/PyKAdminObject.o build/temp.linux-x86_64-2.7/src/PyKAdminIterator.o build/temp.linux-x86_64-2.7/src/PyKAdminPrincipalObject.o build/temp.linux-x86_64-2.7/src/PyKAdminPolicyObject.o build/temp.linux-x86_64-2.7/src/PyKAdminCommon.o build/temp.linux-x86_64-2.7/src/PyKAdminXDR.o build/temp.linux-x86_64-2.7/src/getdate.o -L/opt/python27/lib -lkrb5 -lkadm5srv -lkdb5 -lpython2.7 -o build/lib.linux-x86_64-2.7/kadmin_local.so
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  copying build/lib.linux-x86_64-2.7/kadmin.so -> build/bdist.linux-x86_64/wheel
  error: build/bdist.linux-x86_64/wheel/kadmin.so: No such file or directory