{"action":"created","issue":{"url":"https://api.github.com/repos/pupil-labs/pyuvc/issues/44","repository_url":"https://api.github.com/repos/pupil-labs/pyuvc","labels_url":"https://api.github.com/repos/pupil-labs/pyuvc/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/pupil-labs/pyuvc/issues/44/comments","events_url":"https://api.github.com/repos/pupil-labs/pyuvc/issues/44/events","html_url":"https://github.com/pupil-labs/pyuvc/issues/44","id":300658118,"number":44,"title":"pyuvc not compiled","user":{"login":"waschbaer00","id":20991349,"avatar_url":"https://avatars2.githubusercontent.com/u/20991349?v=4","gravatar_id":"","url":"https://api.github.com/users/waschbaer00","html_url":"https://github.com/waschbaer00","followers_url":"https://api.github.com/users/waschbaer00/followers","following_url":"https://api.github.com/users/waschbaer00/following{/other_user}","gists_url":"https://api.github.com/users/waschbaer00/gists{/gist_id}","starred_url":"https://api.github.com/users/waschbaer00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waschbaer00/subscriptions","organizations_url":"https://api.github.com/users/waschbaer00/orgs","repos_url":"https://api.github.com/users/waschbaer00/repos","events_url":"https://api.github.com/users/waschbaer00/events{/privacy}","received_events_url":"https://api.github.com/users/waschbaer00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-27T14:44:49Z","updated_at":"2018-02-27T15:17:25Z","closed_at":null,"author_association":"NONE","body":"I have pyhton 3.5, 16.04 Ubuntu system.\r\n\r\nI have installed all dependencies required on this page https://github.com/pupil-labs/pyuvc\r\n\r\n**I tried:**\r\nsudo pip3 install git+https://github.com/pupil-labs/pyuvc\r\n\r\n**I got following error:**\r\n\r\nCommand \"/usr/bin/python3 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-ce0ft5xj-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-s5_yrcp6-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-ce0ft5xj-build/\r\n\r\n**More details in log:**\r\n\r\nCollecting git+https://github.com/pupil-labs/pyuvc\r\n  Cloning https://github.com/pupil-labs/pyuvc to /tmp/pip-ce0ft5xj-build\r\nInstalling collected packages: uvc\r\n  Running setup.py install for uvc ... error\r\n    Complete output from command /usr/bin/python3 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-ce0ft5xj-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-s5_yrcp6-record/install-record.txt --single-version-externally-managed --compile:\r\n    running install\r\n    running build\r\n    running build_ext\r\n    building 'uvc' extension\r\n    creating build\r\n    creating build/temp.linux-x86_64-3.5\r\n    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/ics_vr/.local/lib/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c uvc.c -o build/temp.linux-x86_64-3.5/uvc.o\r\n    In file included from /home/ics_vr/.local/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,\r\n                     from /home/ics_vr/.local/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,\r\n                     from /home/ics_vr/.local/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4,\r\n                     from uvc.c:555:\r\n    /home/ics_vr/.local/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning \"Using deprecated NumPy API, disable it by \" \"#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION\" [-Wcpp]\r\n     #warning \"Using deprecated NumPy API, disable it by \" \\\r\n      ^\r\n    uvc.c: In function ‘__pyx_f_3uvc_7Capture__enumerate_controls’:\r\n    uvc.c:17423:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n       __pyx_v_input_terminal = uvc_get_input_terminals(__pyx_v_self->devh);\r\n                              ^\r\n    uvc.c:17432:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n       __pyx_v_output_terminal = uvc_get_output_terminals(__pyx_v_self->devh);\r\n                               ^\r\n    uvc.c:17441:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n       __pyx_v_processing_unit = uvc_get_processing_units(__pyx_v_self->devh);\r\n                               ^\r\n    uvc.c:17450:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n       __pyx_v_extension_unit = uvc_get_extension_units(__pyx_v_self->devh);\r\n                              ^\r\n    uvc.c: In function ‘__pyx_f_3uvc_7Capture__enumerate_formats’:\r\n    uvc.c:18085:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\r\n       __pyx_v_format_desc = uvc_get_format_descs(__pyx_v_self->devh);\r\n                           ^\r\n    uvc.c: At top level:\r\n    uvc.c:20548:13: warning: ‘__pyx_f_3uvc_on_status_update’ defined but not used [-Wunused-function]\r\n     static void __pyx_f_3uvc_on_status_update(CYTHON_UNUSED enum uvc_status_class __pyx_v_status_class, CYTHON_UNUSED int __pyx_v_event, CYTHON_UNUSED int __pyx_v_selector, CYTHON_UNUSED enum uvc_status_attribute __pyx_v_status_attribute, CYTHON_UNUSED void *__pyx_v_data, CYTHON_UNUSED size_t __pyx_v_data_len, CYTHON_UNUSED void *__pyx_v_user_ptr) {\r\n                 ^\r\n    creating build/lib.linux-x86_64-3.5\r\n    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5/uvc.o -lrt -luvc -lturbojpeg -o build/lib.linux-x86_64-3.5/uvc.cpython-35m-x86_64-linux-gnu.so\r\n    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libturbojpeg.a(libturbojpeg_la-turbojpeg.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC\r\n    /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libturbojpeg.a: error adding symbols: Bad value\r\n    collect2: error: ld returned 1 exit status\r\n    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\nCommand \"/usr/bin/python3 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-ce0ft5xj-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))\" install --record /tmp/pip-s5_yrcp6-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-ce0ft5xj-build/\r\n"},"comment":{"url":"https://api.github.com/repos/pupil-labs/pyuvc/issues/comments/368912327","html_url":"https://github.com/pupil-labs/pyuvc/issues/44#issuecomment-368912327","issue_url":"https://api.github.com/repos/pupil-labs/pyuvc/issues/44","id":368912327,"user":{"login":"papr","id":168390,"avatar_url":"https://avatars3.githubusercontent.com/u/168390?v=4","gravatar_id":"","url":"https://api.github.com/users/papr","html_url":"https://github.com/papr","followers_url":"https://api.github.com/users/papr/followers","following_url":"https://api.github.com/users/papr/following{/other_user}","gists_url":"https://api.github.com/users/papr/gists{/gist_id}","starred_url":"https://api.github.com/users/papr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papr/subscriptions","organizations_url":"https://api.github.com/users/papr/orgs","repos_url":"https://api.github.com/users/papr/repos","events_url":"https://api.github.com/users/papr/events{/privacy}","received_events_url":"https://api.github.com/users/papr/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T15:17:25Z","updated_at":"2018-02-27T15:17:25Z","author_association":"MEMBER","body":"Please post the log for the current build failure."}}
{"actor":{"display_login":"papr"}}