{"action":"opened","issue":{"url":"https://api.github.com/repos/nabla-c0d3/nassl/issues/24","labels_url":"https://api.github.com/repos/nabla-c0d3/nassl/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/nabla-c0d3/nassl/issues/24/comments","events_url":"https://api.github.com/repos/nabla-c0d3/nassl/issues/24/events","html_url":"https://github.com/nabla-c0d3/nassl/issues/24","id":59290039,"number":24,"title":"cp: cannot stat /path/to/nassl_arm/build/lib.linux-i686-2.7/ while building on ARMv7","user":{"login":"Moter8","id":3776997,"avatar_url":"https://avatars.githubusercontent.com/u/3776997?v=3","gravatar_id":"","url":"https://api.github.com/users/Moter8","html_url":"https://github.com/Moter8","followers_url":"https://api.github.com/users/Moter8/followers","following_url":"https://api.github.com/users/Moter8/following{/other_user}","gists_url":"https://api.github.com/users/Moter8/gists{/gist_id}","starred_url":"https://api.github.com/users/Moter8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moter8/subscriptions","organizations_url":"https://api.github.com/users/Moter8/orgs","repos_url":"https://api.github.com/users/Moter8/repos","events_url":"https://api.github.com/users/Moter8/events{/privacy}","received_events_url":"https://api.github.com/users/Moter8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T20:30:29Z","updated_at":"2015-02-27T20:30:29Z","closed_at":null,"body":"Again me with some ARMv7 bug, OpenSSL and zlib seem to compile fine now.\r\n\r\n```\r\n[Compiling for about 30mins]\r\n \r\n===BUILDING NASSL===\r\nrunning build\r\nrunning build_py\r\ncreating build/lib.linux-armv7l-2.7\r\ncreating build/lib.linux-armv7l-2.7/nassl\r\ncopying src/__init__.py -> build/lib.linux-armv7l-2.7/nassl\r\ncopying src/SslClient.py -> build/lib.linux-armv7l-2.7/nassl\r\ncopying src/DebugSslClient.py -> build/lib.linux-armv7l-2.7/nassl\r\ncopying src/X509Certificate.py -> build/lib.linux-armv7l-2.7/nassl\r\ncopying src/OcspResponse.py -> build/lib.linux-armv7l-2.7/nassl\r\nrunning build_ext\r\nbuilding 'nassl._nassl' extension\r\ncreating build/temp.linux-armv7l-2.7\r\ncreating build/temp.linux-armv7l-2.7/src\r\ncreating build/temp.linux-armv7l-2.7/src/_nassl\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_SSL_CTX.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_SSL_CTX.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_SSL.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_SSL.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_X509.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_X509.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_errors.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_errors.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_BIO.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_BIO.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_X509_EXTENSION.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_X509_EXTENSION.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_X509_NAME_ENTRY.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_X509_NAME_ENTRY.o -Wall -Wno-deprecated-declarations\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c: In function ‘nassl_X509_NAME_ENTRY_get_data’:\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:43:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]\r\n     objectDataTxt = (char *) PyMem_Malloc(objectDataSize);\r\n                   ^\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:47:5: warning: pointer targets in passing argument 1 of ‘OBJ_obj2txt’ differ in signedness [-Wpointer-sign]\r\n     OBJ_obj2txt(objectDataTxt, objectDataSize, objectData, 0);\r\n     ^\r\nIn file included from /home/shell/git/nassl_arm/build/openssl-linux32/include/openssl/evp.h:94:0,\r\n                 from /home/shell/git/nassl_arm/build/openssl-linux32/include/openssl/x509.h:73,\r\n                 from src/_nassl/nassl_X509_NAME_ENTRY.c:4:\r\n/home/shell/git/nassl_arm/build/openssl-linux32/include/openssl/objects.h:1009:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’\r\n int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);\r\n     ^\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]\r\n     if (strncmp(objectDataTxt, \"commonName\", strlen(\"commonName\")) == 0)\r\n     ^\r\nIn file included from /usr/include/python2.7/Python.h:38:0,\r\n                 from src/_nassl/nassl_X509_NAME_ENTRY.c:2:\r\n/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\n extern size_t strlen (const char *__s)\r\n               ^\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]\r\n     if (strncmp(objectDataTxt, \"commonName\", strlen(\"commonName\")) == 0)\r\n     ^\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘__builtin_strlen’ differ in signedness [-Wpointer-sign]\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\nsrc/_nassl/nassl_X509_NAME_ENTRY.c:52:5: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign]\r\nIn file included from /usr/include/python2.7/Python.h:38:0,\r\n                 from src/_nassl/nassl_X509_NAME_ENTRY.c:2:\r\n/usr/include/string.h:147:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’\r\n extern int strncmp (const char *__s1, const char *__s2, size_t __n)\r\n            ^\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_SSL_SESSION.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_SSL_SESSION.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/openssl_utils.c -o build/temp.linux-armv7l-2.7/src/_nassl/openssl_utils.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/shell/git/nassl_arm/build/openssl-linux32/include -I/usr/include/python2.7 -c src/_nassl/nassl_OCSP_RESPONSE.c -o build/temp.linux-armv7l-2.7/src/_nassl/nassl_OCSP_RESPONSE.o -Wall -Wno-deprecated-declarations\r\narm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/_nassl/nassl.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_SSL_CTX.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_SSL.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_X509.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_errors.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_BIO.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_X509_EXTENSION.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_X509_NAME_ENTRY.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_SSL_SESSION.o build/temp.linux-armv7l-2.7/src/_nassl/openssl_utils.o build/temp.linux-armv7l-2.7/src/_nassl/nassl_OCSP_RESPONSE.o -L/home/shell/git/nassl_arm/openssl-1.0.1i -L/home/shell/git/nassl_arm/zlib-1.2.8 -lssl -lz -lcrypto -o build/lib.linux-armv7l-2.7/nassl/_nassl.so\r\ncp: cannot stat ‘/home/shell/git/nassl_arm/build/lib.linux-i686-2.7/*’: No such file or directory\r\nTraceback (most recent call last):\r\n  File \"./buildAll_unix.py\", line 83, in <module>\r\n    main()\r\n  File \"./buildAll_unix.py\", line 69, in main\r\n    perform_build_task('NASSL', NASSL_BUILD_TASKS)\r\n  File \"/home/shell/git/nassl_arm/buildAll_config.py\", line 35, in perform_build_task\r\n    subprocess.check_call(command, shell=True, cwd=cwd)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 540, in check_call\r\n    raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command 'cp -R /home/shell/git/nassl_arm/build/lib.linux-i686-2.7/* /home/shell/git/nassl_arm/test' returned non-zero exit status 1\r\n\r\n```"}}