New issue 2086: Unable to compile on Alpine Linux https://bitbucket.org/pypy/pypy/issues/2086/unable-to-compile-on-alpine-linux
Jelle Smet: Hi all, When compiling pypy-2.6.0 from source on Alpine Linux (inside container) I run into following error: ``` #!text ... snip ... [c:writing] rpython_tool_error.c [c:writing] rpython_translator_c_extfunc.c [c:writing] rpython_translator_exceptiontransform.c [translation:info] written: /tmp/usession-release-2.6.0-1/testing_1/testing_1.c [694d6] translation-task} [translation:info] Compiling c source... [694d6] {translation-task starting compile_c [platform:execute] make in /tmp/usession-release-2.6.0-1/testing_1 [platform:Error] In file included from common_header.h:116:0, [platform:Error] from testing_1.c:1: [platform:Error] /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] [platform:Error] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [platform:Error] ^ [platform:Error] In file included from common_header.h:116:0, [platform:Error] from data_pypy_goal_targetpypystandalone.c:4: [platform:Error] /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] [platform:Error] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [platform:Error] ^ [platform:Error] In file included from common_header.h:185:0, [platform:Error] from testing_1.c:1: ...snip... [translation:ERROR] In file included from common_header.h:116:0, [translation:ERROR] from rpython_translator_exceptiontransform.c:4: [translation:ERROR] /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] [translation:ERROR] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [translation:ERROR] ^ [translation:ERROR] In file included from common_header.h:185:0, [translation:ERROR] from rpython_translator_exceptiontransform.c:4: [translation:ERROR] /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] [translation:ERROR] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [translation:ERROR] ^ [translation:ERROR] modsupport.c: In function 'va_build_value': [translation:ERROR] modsupport.c:452:9: error: assignment to expression with array type [translation:ERROR] lva = va; [translation:ERROR] ^ [translation:ERROR] make: *** [modsupport.gcmap] Error 1 [translation:ERROR] make: *** Waiting for unfinished jobs.... [translation:ERROR] """) [translation] start debugger... > /home/smetj/pypy/src/pypy-2.6.0-src/rpython/translator/platform/__init__.py(151)_handle_error() -> raise CompilationError(stdout, stderr) (Pdb+) ``` Please let me know if more info is required. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue