{"action":"created","issue":{"url":"https://api.github.com/repos/fim/icapclient3/issues/1","repository_url":"https://api.github.com/repos/fim/icapclient3","labels_url":"https://api.github.com/repos/fim/icapclient3/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fim/icapclient3/issues/1/comments","events_url":"https://api.github.com/repos/fim/icapclient3/issues/1/events","html_url":"https://github.com/fim/icapclient3/issues/1","id":324304955,"node_id":"MDU6SXNzdWUzMjQzMDQ5NTU=","number":1,"title":"Module won't compile","user":{"login":"heraklit256","id":37872459,"node_id":"MDQ6VXNlcjM3ODcyNDU5","avatar_url":"https://avatars2.githubusercontent.com/u/37872459?v=4","gravatar_id":"","url":"https://api.github.com/users/heraklit256","html_url":"https://github.com/heraklit256","followers_url":"https://api.github.com/users/heraklit256/followers","following_url":"https://api.github.com/users/heraklit256/following{/other_user}","gists_url":"https://api.github.com/users/heraklit256/gists{/gist_id}","starred_url":"https://api.github.com/users/heraklit256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heraklit256/subscriptions","organizations_url":"https://api.github.com/users/heraklit256/orgs","repos_url":"https://api.github.com/users/heraklit256/repos","events_url":"https://api.github.com/users/heraklit256/events{/privacy}","received_events_url":"https://api.github.com/users/heraklit256/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-18T07:47:18Z","updated_at":"2018-05-31T13:15:18Z","closed_at":null,"author_association":"NONE","body":"Trying to compile icapclient3 on Debian 9 (64bit) fails:\r\n\r\n    # python3 setup.py build\r\n    running build\r\n    running build_ext\r\n    building 'icapclient' 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 -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/python3.5m -c icapclient.c -o build/temp.linux-x86_64-3.5/icapclient.o -std=gnu99 -Wextra -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/c-icap-0.4.4=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap\r\n    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/python3.5m -c ICAPConnection.c -o build/temp.linux-x86_64-3.5/ICAPConnection.o -std=gnu99 -Wextra -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/c-icap-0.4.4=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap\r\n    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/python3.5m -c ICAPResponse.c -o build/temp.linux-x86_64-3.5/ICAPResponse.o -std=gnu99 -Wextra -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/c-icap-0.4.4=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap\r\n    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/python3.5m -c cicap_compat.c -o build/temp.linux-x86_64-3.5/cicap_compat.o -std=gnu99 -Wextra -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/c-icap-0.4.4=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap\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,-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/icapclient.o build/temp.linux-x86_64-3.5/ICAPConnection.o build/temp.linux-x86_64-3.5/ICAPResponse.o build/temp.linux-x86_64-3.5/cicap_compat.o -o build/lib.linux-x86_64-3.5/icapclient.cpython-35m-x86_64-linux-gnu.so -L/usr/lib/x86_64-linux-gnu/ -licapapi\r\n    /usr/bin/ld: build/temp.linux-x86_64-3.5/icapclient.o: relocation R_X86_64_PC32 against undefined symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC\r\n    /usr/bin/ld: final link failed: 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\nHowever, all package requirements seem to be satisfied:\r\n\r\n    # dpkg -l | grep icap\r\n    ii  libicapapi-dev                1:0.4.4-1                      amd64        ICAP API library development files\r\n    ii  libicapapi4                   1:0.4.4-1                      amd64        ICAP API library\r\n\r\n    # dpkg -l | grep python3-dev\r\n    ii  libpython3-dev:amd64          3.5.3-1                        amd64        header files and a static library for Python (default)\r\n    ii  python3-dev                   3.5.3-1                        amd64        header files and a static library for Python (default)\r\n\r\nOutput of  `uname -a`:\r\n\r\n    Linux machine 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux\r\n\r\nCould you point me in the right direction? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/fim/icapclient3/issues/comments/393526076","html_url":"https://github.com/fim/icapclient3/issues/1#issuecomment-393526076","issue_url":"https://api.github.com/repos/fim/icapclient3/issues/1","id":393526076,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzUyNjA3Ng==","user":{"login":"heraklit256","id":37872459,"node_id":"MDQ6VXNlcjM3ODcyNDU5","avatar_url":"https://avatars2.githubusercontent.com/u/37872459?v=4","gravatar_id":"","url":"https://api.github.com/users/heraklit256","html_url":"https://github.com/heraklit256","followers_url":"https://api.github.com/users/heraklit256/followers","following_url":"https://api.github.com/users/heraklit256/following{/other_user}","gists_url":"https://api.github.com/users/heraklit256/gists{/gist_id}","starred_url":"https://api.github.com/users/heraklit256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heraklit256/subscriptions","organizations_url":"https://api.github.com/users/heraklit256/orgs","repos_url":"https://api.github.com/users/heraklit256/repos","events_url":"https://api.github.com/users/heraklit256/events{/privacy}","received_events_url":"https://api.github.com/users/heraklit256/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T13:15:18Z","updated_at":"2018-05-31T13:15:18Z","author_association":"NONE","body":"Thanks. Will do so and report back."}}
{"actor":{"display_login":"heraklit256"}}