{"action":"opened","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6631","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6631/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6631/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/6631/events","html_url":"https://github.com/matplotlib/matplotlib/issues/6631","id":161888539,"number":6631,"title":"can't build matplotlib on smartos system(open solaris)","user":{"login":"FrankYu","id":1559974,"avatar_url":"https://avatars.githubusercontent.com/u/1559974?v=3","gravatar_id":"","url":"https://api.github.com/users/FrankYu","html_url":"https://github.com/FrankYu","followers_url":"https://api.github.com/users/FrankYu/followers","following_url":"https://api.github.com/users/FrankYu/following{/other_user}","gists_url":"https://api.github.com/users/FrankYu/gists{/gist_id}","starred_url":"https://api.github.com/users/FrankYu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrankYu/subscriptions","organizations_url":"https://api.github.com/users/FrankYu/orgs","repos_url":"https://api.github.com/users/FrankYu/repos","events_url":"https://api.github.com/users/FrankYu/events{/privacy}","received_events_url":"https://api.github.com/users/FrankYu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-23T10:20:42Z","updated_at":"2016-06-23T10:20:42Z","closed_at":null,"body":"\r\nI am trying build matplotlib on smartos(like open solaris) system. but failed with error. I am build the latest matplotlib. steps as below:\r\n\r\n\r\n#git describe\r\nv2.0.0b1-1699-g4b3350d\r\n\r\n\r\n#python setup.py install \r\n\r\n============================================================================\r\n\r\nEdit setup.cfg to change the build options\r\n\r\n\r\n\r\nBUILDING MATPLOTLIB\r\n\r\n            matplotlib: yes [2.0.0b1+1699.g4b3350d]\r\n\r\n                python: yes [2.7.11 (default, Jan 11 2016, 23:16:55)  [GCC\r\n\r\n                        4.9.3]]\r\n\r\n              platform: yes [sunos5]\r\n\r\n\r\n\r\nREQUIRED DEPENDENCIES AND EXTENSIONS\r\n\r\n                 numpy: yes [version 1.11.0]\r\n\r\n                   six: yes [The installed version of six is 1.9.0 but a the\r\n\r\n                        minimum required version is 1.10. pip/easy install\r\n\r\n                        will attempt to install a newer version.]\r\n\r\n              dateutil: yes [using dateutil version 2.4.0]\r\n\r\n           functools32: yes [using functools32]\r\n\r\n                  pytz: yes [using pytz version 2014.10]\r\n\r\n                cycler: yes [using cycler version 0.10.0]\r\n\r\n               tornado: yes [using tornado version 4.3]\r\n\r\n             pyparsing: yes [using pyparsing version 2.0.2]\r\n\r\n                libagg: yes [pkg-config information for 'libagg' could not\r\n\r\n                        be found. Using local copy.]\r\n\r\n              freetype: yes [version 2.5.5]\r\n\r\n                   png: yes [version 1.6.17]\r\n\r\n                 qhull: yes [pkg-config information for 'qhull' could not be\r\n\r\n                        found. Using local copy.]\r\n\r\n\r\n\r\nOPTIONAL SUBPACKAGES\r\n\r\n           sample_data: yes [installing]\r\n\r\n              toolkits: yes [installing]\r\n\r\n                 tests: yes [using nose version 1.3.7 / mock is required to\r\n\r\n                        run the matplotlib test suite. Please install it\r\n\r\n                        with pip or your preferred tool to run the test\r\n\r\n                        suite]\r\n\r\n        toolkits_tests: yes [using nose version 1.3.7 / mock is required to\r\n\r\n                        run the matplotlib test suite. Please install it\r\n\r\n                        with pip or your preferred tool to run the test\r\n\r\n                        suite]\r\n\r\n\r\n\r\nOPTIONAL BACKEND EXTENSIONS\r\n\r\n                macosx: no  [Mac OS-X only]\r\n\r\n                qt5agg: no  [PySide2 not found; PyQt5 not found]\r\n\r\n                qt4agg: no  [PySide not found; PyQt4 not found]\r\n\r\n               gtk3agg: no  [Requires pygobject to be installed.]\r\n\r\n             gtk3cairo: no  [Requires pygobject to be installed.]\r\n\r\n                gtkagg: no  [Requires pygtk]\r\n\r\n                 tkagg: yes [installing; run-time loading from Python Tcl /\r\n\r\n                        Tk]\r\n\r\n                 wxagg: no  [requires wxPython]\r\n\r\n                   gtk: no  [Requires pygtk]\r\n\r\n                   agg: yes [installing]\r\n\r\n                 cairo: yes [installing, pycairo version 1.10.0]\r\n\r\n             windowing: no  [Microsoft Windows only]\r\n\r\n\r\n\r\nOPTIONAL LATEX DEPENDENCIES\r\n\r\n                dvipng: no\r\n\r\n           ghostscript: no\r\n\r\n                 latex: no\r\n\r\n               pdftops: no\r\n\r\n\r\n\r\nOPTIONAL PACKAGE DATA\r\n\r\n                  dlls: no  [skipping due to configuration]\r\n\r\n\r\n\r\nrunning install\r\n\r\nrunning bdist_egg\r\n\r\nrunning egg_info\r\n\r\ncreating lib/matplotlib.egg-info\r\n\r\nwriting requirements to lib/matplotlib.egg-info/requires.txt\r\n\r\nwriting lib/matplotlib.egg-info/PKG-INFO\r\n\r\nwriting namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt\r\n\r\nwriting top-level names to lib/matplotlib.egg-info/top_level.txt\r\n\r\nwriting dependency_links to lib/matplotlib.egg-info/dependency_links.txt\r\n\r\nwriting manifest file 'lib/matplotlib.egg-info/SOURCES.txt'\r\n\r\nreading manifest file 'lib/matplotlib.egg-info/SOURCES.txt'\r\n\r\nreading manifest template 'MANIFEST.in'\r\n\r\nwriting manifest file 'lib/matplotlib.egg-info/SOURCES.txt'\r\n\r\ninstalling library code to build/bdist.solaris-2.11-i86pc.64bit/egg\r\n\r\nrunning install_lib\r\n\r\nrunning build_py\r\n\r\ncreating build\r\n\r\ncreating build/lib.solaris-2.11-i86pc.64bit-2.7\r\n\r\ncopying lib/pylab.py -> build/lib.solaris-2.11-i86pc.64bit-2.7\r\n\r\ncreating build/lib.solaris-2.11-i86pc.64bit-2.7/matplotlib\r\n\r\ncopying lib/matplotlib/_version.py -> build/lib.solaris-2.11-i86pc.64bit-2.7/matplotlib\r\n\r\n​............\r\n\r\n​running build_ext\r\nbuilding 'matplotlib.ft2font' extension\r\n\r\ncreating build/temp.solaris-2.11-i86pc.64bit-2.7\r\n\r\ncreating build/temp.solaris-2.11-i86pc.64bit-2.7/src\r\n\r\ngcc -fno-strict-aliasing -O2 -pipe -O2 -gdwarf-2 -DHAVE_DB_185_H -pthread -I/usr/include -I/opt/local/include -I/opt/local/include/db4 -I/opt/local/include/ncurses -DNDEBUG -O2 -pipe -O2 -gdwarf-2 -DHAVE_DB_185_H -pthread -I/usr/include -I/opt/local/include -I/opt/local/include/db4 -I/opt/local/include/ncurses -fPIC -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/opt/local/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/local/include -I. -I/opt/local/include/python2.7 -c src/ft2font.cpp -o build/temp.solaris-2.11-i86pc.64bit-2.7/src/ft2font.o\r\n\r\ngcc -fno-strict-aliasing -O2 -pipe -O2 -gdwarf-2 -DHAVE_DB_185_H -pthread -I/usr/include -I/opt/local/include -I/opt/local/include/db4 -I/opt/local/include/ncurses -DNDEBUG -O2 -pipe -O2 -gdwarf-2 -DHAVE_DB_185_H -pthread -I/usr/include -I/opt/local/include -I/opt/local/include/db4 -I/opt/local/include/ncurses -fPIC -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/opt/local/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/local/include -I. -I/opt/local/include/python2.7 -c src/ft2font_wrapper.cpp -o build/temp.solaris-2.11-i86pc.64bit-2.7/src/ft2font_wrapper.o\r\n\r\nIn file included from /opt/local/include/python2.7/Python.h:44:0,\r\n\r\n                 from src/mplutils.h:21,\r\n\r\n                 from src/ft2font_wrapper.cpp:1:\r\n\r\n/usr/include/unistd.h:521:75: error: declaration of C function 'void swab(const void*, void*, ssize_t)' conflicts with\r\n\r\nIn file included from /opt/local/include/python2.7/Python.h:42:0,\r\n\r\n                 from src/mplutils.h:21,\r\n\r\n                 from src/ft2font_wrapper.cpp:1:\r\n\r\n/usr/include/stdlib.h:170:13: error: previous declaration 'void swab(const char*, char*, ssize_t)' here\r\n\r\nerror: command 'gcc' failed with exit status 1\r\n\r\n"}}
{"actor":{"display_login":"FrankYu"}}