Title: Does not compile under Cygwin · Issue #11 · python/typed_ast · GitHub
Open Graph Title: Does not compile under Cygwin · Issue #11 · python/typed_ast
X Title: Does not compile under Cygwin · Issue #11 · python/typed_ast
Description: In a Python 3 inside Cygwin, meaning that it was installed over the Cygwin package manager and is not a Windows one accessed from Cygwin, python3 setup.py build will fail: running build running build_py running build_ext building '_ast27...
Open Graph Description: In a Python 3 inside Cygwin, meaning that it was installed over the Cygwin package manager and is not a Windows one accessed from Cygwin, python3 setup.py build will fail: running build running bui...
X Description: In a Python 3 inside Cygwin, meaning that it was installed over the Cygwin package manager and is not a Windows one accessed from Cygwin, python3 setup.py build will fail: running build running bui...
Opengraph URL: https://github.com/python/typed_ast/issues/11
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does not compile under Cygwin","articleBody":"In a Python 3 inside Cygwin, meaning that it was installed over the Cygwin package manager and is not a Windows one accessed from Cygwin, `python3 setup.py build` will fail:\n\n```\nrunning build\nrunning build_py\nrunning build_ext\nbuilding '_ast27' extension\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/acceler.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/acceler.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/bitset.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/bitset.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/grammar.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/grammar.o\nast27/Parser/grammar.c:16:12: warning: ‘Py_DebugFlag’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]\n extern int Py_DebugFlag;\n ^\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/grammar1.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/grammar1.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/node.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/node.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/parser.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/parser.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/parsetok.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/parsetok.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Parser/tokenizer.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/tokenizer.o\nast27/Parser/tokenizer.c:41:7: warning: ‘_Ta27Parser_TokenNames’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]\n char *_Ta27Parser_TokenNames[] = {\n ^\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Python/ast.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Python/graminit.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/graminit.o\nast27/Python/graminit.c:2332:9: warning: ‘_Ta27Parser_Grammar’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]\n grammar _Ta27Parser_Grammar = {\n ^\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Python/mystrtoul.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/mystrtoul.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Python/Python-ast.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/Python-ast.o\ngcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/build=/usr/src/debug/python3-3.4.3-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.4.3-1.x86_64/src/Python-3.4.3=/usr/src/debug/python3-3.4.3-1 -Iast27/Include -I/usr/include/python3.4m -c ast27/Custom/typed_ast.c -o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Custom/typed_ast.o\ngcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/acceler.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/bitset.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/grammar.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/grammar1.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/node.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/parser.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/parsetok.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/tokenizer.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/graminit.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/mystrtoul.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/Python-ast.o build/temp.cygwin-2.6.0-x86_64-3.4/ast27/Custom/typed_ast.o -L/usr/lib/python3.4/config -L/usr/lib -lpython3.4m -o build/lib.cygwin-2.6.0-x86_64-3.4/_ast27.cpython-34m.dll\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/grammar.o: In function `_Py_translatelabels':\n/home/phili/typed_ast/ast27/Parser/grammar.c:144: undefined reference to `__imp__Ta27Parser_TokenNames'\n/home/phili/typed_ast/ast27/Parser/grammar.c:144:(.text+0x3ac): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp__Ta27Parser_TokenNames'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Parser/grammar1.o: In function `Ta27Grammar_LabelRepr':\n/home/phili/typed_ast/ast27/Parser/grammar1.c:52: undefined reference to `__imp__Ta27Parser_TokenNames'\n/home/phili/typed_ast/ast27/Parser/grammar1.c:52:(.text+0x48): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp__Ta27Parser_TokenNames'\n/home/phili/typed_ast/ast27/Parser/grammar1.c:50: undefined reference to `__imp__Ta27Parser_TokenNames'\n/home/phili/typed_ast/ast27/Parser/grammar1.c:50:(.text+0xb3): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__imp__Ta27Parser_TokenNames'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o: In function `compiler_complex_args':\n/home/phili/typed_ast/ast27/Python/ast.c:681: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:681:(.text+0x8ec): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_seq_new'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o: In function `ast_for_exprlist':\n/home/phili/typed_ast/ast27/Python/ast.c:2448: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:2448:(.text+0x117f): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_seq_new'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o: In function `ast_for_expr':\n/home/phili/typed_ast/ast27/Python/ast.c:1992: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:1992:(.text+0x131b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:2028: undefined reference to `_Py_asdl_int_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:2028:(.text+0x15ac): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_int_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:2031: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:2031:(.text+0x15cf): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_seq_new'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o: In function `ast_for_atom':\n/home/phili/typed_ast/ast27/Python/ast.c:1597: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:1597:(.text+0x17dc): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:1601: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:1601:(.text+0x17f3): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_Py_asdl_seq_new'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o: In function `ast_for_trailer':\n/home/phili/typed_ast/ast27/Python/ast.c:1817: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/ast.c:1817:(.text+0x193a): additional relocation overflows omitted from the output\n/home/phili/typed_ast/ast27/Python/ast.c:1833: undefined reference to `_Py_asdl_seq_new'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/ast.o:/home/phili/typed_ast/ast27/Python/ast.c:1578: more undefined references to `_Py_asdl_seq_new' follow\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/Python-ast.o: In function `obj2ast_expr':\n/home/phili/typed_ast/ast27/Python/Python-ast.c:5516: undefined reference to `_Py_asdl_int_seq_new'\n/home/phili/typed_ast/ast27/Python/Python-ast.c:5593: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/Python-ast.c:5541: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/Python-ast.c:5618: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/Python-ast.c:5880: undefined reference to `_Py_asdl_seq_new'\n/home/phili/typed_ast/ast27/Python/Python-ast.c:5929: undefined reference to `_Py_asdl_seq_new'\nbuild/temp.cygwin-2.6.0-x86_64-3.4/ast27/Python/Python-ast.o:/home/phili/typed_ast/ast27/Python/Python-ast.c:5284: more undefined references to `_Py_asdl_seq_new' follow\ncollect2: error: ld returned 1 exit status\nerror: command 'gcc' failed with exit status 1\n```\n\n/edit: Same for 32 Bit and MSYS2.\n","author":{"url":"https://github.com/Herst","@type":"Person","name":"Herst"},"datePublished":"2016-08-13T17:21:40Z","url":"https://github.com/python/typed_ast/issues/11"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8b4a2c97-2a1a-a635-9a8c-a4115005799b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1CC:39866F:15A824:1E8FFE:6B005518 |
| html-safe-nonce | af3d300f7548450f44f61a5276833330dc413ed31b903c0d23f66ff8c7644488 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUNDOjM5ODY2RjoxNUE4MjQ6MUU4RkZFOjZCMDA1NTE4IiwidmlzaXRvcl9pZCI6IjM0MDkxMDkxMDE2MjY1NDU0MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 60a206cead4ec121bffa3921666a474ad7f6ea1d4564bd5bbfdba12731ed6d60 |
| hovercard-subject-tag | issue:171018289 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typed_ast/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d5d732e6fd344b21956fa61788c0f58915c15bebaf782c45107f3c7637048d7/python/typed_ast/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d5d732e6fd344b21956fa61788c0f58915c15bebaf782c45107f3c7637048d7/python/typed_ast/issues/11 |
| og:image:alt | In a Python 3 inside Cygwin, meaning that it was installed over the Cygwin package manager and is not a Windows one accessed from Cygwin, python3 setup.py build will fail: running build running bui... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Herst |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typed_ast git https://github.com/python/typed_ast.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 51875828 |
| octolytics-dimension-repository_nwo | python/typed_ast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51875828 |
| octolytics-dimension-repository_network_root_nwo | python/typed_ast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width