Downloading/unpacking fprint-0.1 from git+https://github.com/gtors/fprint
Cloning https://github.com/gtors/fprint to /tmp/pip-build-noT6Z4/fprint-0.1
Running setup.py (path:/tmp/pip-build-noT6Z4/fprint-0.1/setup.py) egg_info for package fprint-0.1
Compiling fprint.pyx because it changed.
[1/1] Cythonizing fprint.pyx
Installing collected packages: fprint-0.1
Running setup.py install for fprint-0.1
building 'fprint' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c fprint.c -o build/temp.linux-armv7l-2.7/fprint.o
fprint.c:1491:78: warning: 'enum fp_capture_result' declared inside parameter list
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__fp_capture_result(enum fp_capture_result value);
^
fprint.c:1491:78: warning: its scope is only this definition or declaration, which is probably not what you want
fprint.c: In function 'initfprint':
fprint.c:16311:58: error: 'FP_CAPTURE_COMPLETE' undeclared (first use in this function)
__pyx_t_4 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_COMPLETE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 54, __pyx_L1_error)
^
fprint.c:16311:58: note: each undeclared identifier is reported only once for each function it appears in
fprint.c:16311:58: error: type of formal parameter 1 is incomplete
fprint.c:16329:58: error: 'FP_CAPTURE_FAIL' undeclared (first use in this function)
__pyx_t_4 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_FAIL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 55, __pyx_L1_error)
^
fprint.c:16329:58: error: type of formal parameter 1 is incomplete
fprint.c:16535:58: error: type of formal parameter 1 is incomplete
__pyx_t_4 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_COMPLETE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 62, __pyx_L1_error)
^
fprint.c:16599:58: error: type of formal parameter 1 is incomplete
__pyx_t_7 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_FAIL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 63, __pyx_L1_error)
^
fprint.c: At top level:
fprint.c:23085:88: warning: 'enum fp_capture_result' declared inside parameter list
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__fp_capture_result(enum fp_capture_result value) {
^
fprint.c:23085:106: error: parameter 1 ('value') has incomplete type
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__fp_capture_result(enum fp_capture_result value) {
^
fprint.c: In function '__Pyx_PyInt_From_enum__fp_capture_result':
fprint.c:23086:16: error: variable 'neg_one' has initializer but incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:50: error: conversion to incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:34: error: storage size of 'neg_one' isn't known
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:50: error: variable 'const_zero' has initializer but incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:92: error: conversion to incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:73: error: storage size of 'const_zero' isn't known
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23089:20: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
if (sizeof(enum fp_capture_result) < sizeof(long)) {
^
fprint.c:23091:27: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
} else if (sizeof(enum fp_capture_result) <= sizeof(unsigned long)) {
^
fprint.c:23094:27: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
} else if (sizeof(enum fp_capture_result) <= sizeof(unsigned PY_LONG_LONG)) {
^
fprint.c:23099:20: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
if (sizeof(enum fp_capture_result) <= sizeof(long)) {
^
fprint.c:23102:27: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
} else if (sizeof(enum fp_capture_result) <= sizeof(PY_LONG_LONG)) {
^
fprint.c:23110:52: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
return _PyLong_FromByteArray(bytes, sizeof(enum fp_capture_result),
^
fprint.c:23086:73: warning: unused variable 'const_zero' [-Wunused-variable]
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:34: warning: unused variable 'neg_one' [-Wunused-variable]
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Complete output from command /home/pi/fp/venv/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-noT6Z4/fprint-0.1/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kaAL12-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/fp/venv/include/site/python2.7:
running install
running build
running build_ext
building 'fprint' extension
creating build
creating build/temp.linux-armv7l-2.7
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c fprint.c -o build/temp.linux-armv7l-2.7/fprint.o
fprint.c:1491:78: warning: 'enum fp_capture_result' declared inside parameter list
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__fp_capture_result(enum fp_capture_result value);
^
fprint.c:1491:78: warning: its scope is only this definition or declaration, which is probably not what you want
fprint.c: In function 'initfprint':
fprint.c:16311:58: error: 'FP_CAPTURE_COMPLETE' undeclared (first use in this function)
__pyx_t_4 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_COMPLETE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 54, __pyx_L1_error)
^
fprint.c:16311:58: note: each undeclared identifier is reported only once for each function it appears in
fprint.c:16311:58: error: type of formal parameter 1 is incomplete
fprint.c:16329:58: error: 'FP_CAPTURE_FAIL' undeclared (first use in this function)
__pyx_t_4 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_FAIL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 55, __pyx_L1_error)
^
fprint.c:16329:58: error: type of formal parameter 1 is incomplete
fprint.c:16535:58: error: type of formal parameter 1 is incomplete
__pyx_t_4 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_COMPLETE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 62, __pyx_L1_error)
^
fprint.c:16599:58: error: type of formal parameter 1 is incomplete
__pyx_t_7 = __Pyx_PyInt_From_enum__fp_capture_result(FP_CAPTURE_FAIL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 63, __pyx_L1_error)
^
fprint.c: At top level:
fprint.c:23085:88: warning: 'enum fp_capture_result' declared inside parameter list
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__fp_capture_result(enum fp_capture_result value) {
^
fprint.c:23085:106: error: parameter 1 ('value') has incomplete type
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__fp_capture_result(enum fp_capture_result value) {
^
fprint.c: In function '__Pyx_PyInt_From_enum__fp_capture_result':
fprint.c:23086:16: error: variable 'neg_one' has initializer but incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:50: error: conversion to incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:34: error: storage size of 'neg_one' isn't known
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:50: error: variable 'const_zero' has initializer but incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:92: error: conversion to incomplete type
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:73: error: storage size of 'const_zero' isn't known
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23089:20: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
if (sizeof(enum fp_capture_result) < sizeof(long)) {
^
fprint.c:23091:27: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
} else if (sizeof(enum fp_capture_result) <= sizeof(unsigned long)) {
^
fprint.c:23094:27: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
} else if (sizeof(enum fp_capture_result) <= sizeof(unsigned PY_LONG_LONG)) {
^
fprint.c:23099:20: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
if (sizeof(enum fp_capture_result) <= sizeof(long)) {
^
fprint.c:23102:27: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
} else if (sizeof(enum fp_capture_result) <= sizeof(PY_LONG_LONG)) {
^
fprint.c:23110:52: error: invalid application of 'sizeof' to incomplete type 'enum fp_capture_result'
return _PyLong_FromByteArray(bytes, sizeof(enum fp_capture_result),
^
fprint.c:23086:73: warning: unused variable 'const_zero' [-Wunused-variable]
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
fprint.c:23086:34: warning: unused variable 'neg_one' [-Wunused-variable]
const enum fp_capture_result neg_one = (enum fp_capture_result) -1, const_zero = (enum fp_capture_result) 0;
^
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1