Title: Compiled failed in arm64 · Issue #19027 · matplotlib/matplotlib · GitHub
Open Graph Title: Compiled failed in arm64 · Issue #19027 · matplotlib/matplotlib
X Title: Compiled failed in arm64 · Issue #19027 · matplotlib/matplotlib
Description: Compilation problems Build steps tar -zxvf matplotlib-3.1.2.tar.gz cd matplotlib-3.1.2 python setup.py build Error detail BUILDING MATPLOTLIB matplotlib: yes [3.1.2] python: yes [3.6.3 (default, Nov 23 2020, 09:56:24) [GCC 4.8.5 20150623...
Open Graph Description: Compilation problems Build steps tar -zxvf matplotlib-3.1.2.tar.gz cd matplotlib-3.1.2 python setup.py build Error detail BUILDING MATPLOTLIB matplotlib: yes [3.1.2] python: yes [3.6.3 (default, No...
X Description: Compilation problems Build steps tar -zxvf matplotlib-3.1.2.tar.gz cd matplotlib-3.1.2 python setup.py build Error detail BUILDING MATPLOTLIB matplotlib: yes [3.1.2] python: yes [3.6.3 (default, No...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/19027
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiled failed in arm64","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Compilation problems\r\n\r\n**Build steps**\r\n```\r\ntar -zxvf matplotlib-3.1.2.tar.gz\r\ncd matplotlib-3.1.2\r\npython setup.py build\r\n```\r\n\r\n**Error detail**\r\n``` \r\nBUILDING MATPLOTLIB\r\n matplotlib: yes [3.1.2]\r\n python: yes [3.6.3 (default, Nov 23 2020, 09:56:24) [GCC 4.8.5 20150623\r\n (Red Hat 4.8.5-44)]]\r\n platform: yes [linux]\r\n\r\nOPTIONAL SUBPACKAGES\r\n sample_data: yes [installing]\r\n tests: no [skipping due to configuration]\r\n\r\nOPTIONAL BACKEND EXTENSIONS\r\n agg: yes [installing]\r\n tkagg: yes [installing; run-time loading from Python Tcl/Tk]\r\n macosx: no [Mac OS-X only]\r\n\r\nOPTIONAL PACKAGE DATA\r\n dlls: no [skipping due to configuration]\r\n\r\n/usr/local/python3.6/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls'\r\n warnings.warn(msg)\r\nrunning build\r\nrunning build_py\r\ncopying lib/matplotlib/mpl-data/matplotlibrc -\u003e build/lib.linux-aarch64-3.6/matplotlib/mpl-data\r\nUPDATING build/lib.linux-aarch64-3.6/matplotlib/_version.py\r\nset build/lib.linux-aarch64-3.6/matplotlib/_version.py to '3.1.2'\r\nrunning build_ext\r\nbuilding 'matplotlib._png' extension\r\ngcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/home/wah/venv/lib/python3.6/site-packages/numpy/core/include -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c src/checkdep_libpng.c -o build/temp.linux-aarch64-3.6/src/checkdep_libpng.o -I/usr/include/libpng15\r\nsrc/checkdep_libpng.c:2:9: note: #pragma message: Compiling with libpng version 1.5.13.\r\n #pragma message(\"Compiling with libpng version \" PNG_LIBPNG_VER_STRING \".\")\r\n ^\r\ngcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/home/wah/venv/lib/python3.6/site-packages/numpy/core/include -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c src/_png.cpp -o build/temp.linux-aarch64-3.6/src/_png.o -I/usr/include/libpng15\r\ngcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/home/wah/venv/lib/python3.6/site-packages/numpy/core/include -I/home/wah/venv/include -I/usr/local/python3.6/include/python3.6m -c src/mplutils.cpp -o build/temp.linux-aarch64-3.6/src/mplutils.o -I/usr/include/libpng15\r\ng++ -pthread -shared build/temp.linux-aarch64-3.6/src/checkdep_libpng.o build/temp.linux-aarch64-3.6/src/_png.o build/temp.linux-aarch64-3.6/src/mplutils.o -L/usr/local/python3.6/lib -lpython3.6m -o build/lib.linux-aarch64-3.6/matplotlib/_png.cpython-36m-aarch64-linux-gnu.so -lpng15\r\ncollect2: error: ld terminated with signal 9 [Killed]\r\nerror: command 'g++' failed with exit status 1\r\n```\r\n\r\nI've tried to expand virtual memory,it didn't work.\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: CentOS Linux release 7.9.2009 (AltArch)\r\n * kernal: Linux ecs-ea1f 4.18.0-193.28.1.el7.aarch64 #1 SMP Wed Oct 21 16:25:35 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux\r\n * Matplotlib version: 3.1.2\r\n * Python version: python3.6.3\r\n * Other libraries: freetype-2.8,gcc-4.8.5,gcc-c++-4.8.5\r\n * mem: 8G\r\n * swap: 2G\r\n\r\n\r\n","author":{"url":"https://github.com/wanganhong","@type":"Person","name":"wanganhong"},"datePublished":"2020-11-27T08:42:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/19027/matplotlib/issues/19027"}
| 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:ef7ff4ea-557a-86d6-903f-0f83b1495e06 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BA4:273DA9:D08193:114940A:6A519604 |
| html-safe-nonce | 8ef0d3b9d4e120bb887b2926cb59ee1944e2d1a89251bab93b825a16b635f5cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkE0OjI3M0RBOTpEMDgxOTM6MTE0OTQwQTo2QTUxOTYwNCIsInZpc2l0b3JfaWQiOiI4NzU0NTExNjE0ODE2ODAzODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 40df3f1f9a35f251f5e0f705e76b89145dbf497dde1803eaa4cae024c47199ec |
| hovercard-subject-tag | issue:752080520 |
| 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/matplotlib/matplotlib/19027/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80c296fb42c67d1a76ded5f148bfd7681708ddc005f61ceca48284c26e40dec3/matplotlib/matplotlib/issues/19027 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80c296fb42c67d1a76ded5f148bfd7681708ddc005f61ceca48284c26e40dec3/matplotlib/matplotlib/issues/19027 |
| og:image:alt | Compilation problems Build steps tar -zxvf matplotlib-3.1.2.tar.gz cd matplotlib-3.1.2 python setup.py build Error detail BUILDING MATPLOTLIB matplotlib: yes [3.1.2] python: yes [3.6.3 (default, No... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wanganhong |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width