{"action":"created","issue":{"url":"https://api.github.com/repos/mattip/matplotlib/issues/1","labels_url":"https://api.github.com/repos/mattip/matplotlib/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mattip/matplotlib/issues/1/comments","events_url":"https://api.github.com/repos/mattip/matplotlib/issues/1/events","html_url":"https://github.com/mattip/matplotlib/issues/1","id":59263116,"number":1,"title":"Error with freetype library dir in c++ build step","user":{"login":"terrycojones","id":132978,"avatar_url":"https://avatars.githubusercontent.com/u/132978?v=3","gravatar_id":"","url":"https://api.github.com/users/terrycojones","html_url":"https://github.com/terrycojones","followers_url":"https://api.github.com/users/terrycojones/followers","following_url":"https://api.github.com/users/terrycojones/following{/other_user}","gists_url":"https://api.github.com/users/terrycojones/gists{/gist_id}","starred_url":"https://api.github.com/users/terrycojones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrycojones/subscriptions","organizations_url":"https://api.github.com/users/terrycojones/orgs","repos_url":"https://api.github.com/users/terrycojones/repos","events_url":"https://api.github.com/users/terrycojones/events{/privacy}","received_events_url":"https://api.github.com/users/terrycojones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T16:59:38Z","updated_at":"2015-03-05T10:39:51Z","closed_at":null,"body":"I do a git clone of the repo, cd matplotlib, and python setup.py build using pypy 2.5.0 on Mac OS X 10.10.2 (pypy installed via brew). The build output (below) looks like the string dir for the Freetype library is being treated as a list:\r\n\r\n```\r\n$ cat /tmp/out\r\n============================================================================\r\nEdit setup.cfg to change the build options\r\n\r\nBUILDING MATPLOTLIB\r\n            matplotlib: yes [1.4.x]\r\n                python: yes [2.7.8\r\n                        (10f1b29a2bd21f837090286174a9ca030b8680b2, Feb 05\r\n                        2015, 17:51:14) [PyPy 2.5.0 with GCC 4.2.1\r\n                        Compatible Apple LLVM 6.0 (clang-600.0.56)]]\r\n              platform: yes [darwin]\r\n\r\nREQUIRED DEPENDENCIES AND EXTENSIONS\r\n                 numpy: yes [version 1.9.0]\r\n              dateutil: yes [using dateutil version 2.4.0]\r\n               tornado: yes [using tornado version 4.1]\r\n             pyparsing: yes [using pyparsing version 2.0.3]\r\n                 pycxx: yes [Couldn't import.  Using local copy.]\r\n                libagg: yes [pkg-config information for 'libagg' could not\r\n                        be found. Using local copy.]\r\n              freetype: yes [version 17.2.11]\r\n                   png: yes [version 1.6.16]\r\n\r\nOPTIONAL SUBPACKAGES\r\n           sample_data: yes [installing]\r\n              toolkits: yes [installing]\r\n                 tests: yes [using nose version 1.3.4]\r\n\r\nOPTIONAL BACKEND EXTENSIONS\r\n                macosx: yes [darwin]\r\n                qt4agg: no  [PyQt4 not found]\r\n               gtk3agg: no  [Requires pygobject to be installed.]\r\n             gtk3cairo: no  [Requires cairo to be installed.]\r\n                gtkagg: no  [Requires pygtk]\r\n                 tkagg: yes [version 81008]\r\n                 wxagg: no  [requires wxPython]\r\n                   gtk: no  [Requires pygtk]\r\n                   agg: yes [installing]\r\n                 cairo: no  [cairo not found]\r\n             windowing: no  [Microsoft Windows only]\r\n\r\nOPTIONAL LATEX DEPENDENCIES\r\n                dvipng: no\r\n           ghostscript: yes [version /bin/sh: gs: command not found]\r\n                 latex: no\r\n               pdftops: no\r\n\r\nrunning build\r\nrunning build_py\r\ncopying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.macosx-10.10-x86_64-2.7/matplotlib/mpl-data\r\nrunning build_ext\r\nbuilding 'matplotlib.ft2font' extension\r\nC compiler: cc -arch x86_64 -O2 -fPIC -Wimplicit\r\n\r\ncompile options: '-DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include -I. -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/Users/terry/.virtualenvs/fred/include -I/Users/terry/.virtualenvs/fred/include -c'\r\ncc: src/ft2font.cpp\r\nIn file included from src/ft2font.cpp:3:\r\nIn file included from src/ft2font.h:6:\r\nIn file included from ./CXX/Extensions.hxx:66:\r\nIn file included from ./CXX/Python2/Extensions.hxx:52:\r\n./CXX/Python2/Objects.hxx:1133:23: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion]\r\n            , offset( NULL )\r\n                    ~ ^~~~\r\n                      0\r\n1 warning generated.\r\ncc: src/mplutils.cpp\r\ncc: CXX/cxx_extensions.cxx\r\nIn file included from CXX/cxx_extensions.cxx:40:\r\nIn file included from CXX/Python2/cxx_extensions.cxx:37:\r\nIn file included from ./CXX/Extensions.hxx:66:\r\nIn file included from ./CXX/Python2/Extensions.hxx:52:\r\n./CXX/Python2/Objects.hxx:1133:23: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion]\r\n            , offset( NULL )\r\n                    ~ ^~~~\r\n                      0\r\n1 warning generated.\r\ncc: CXX/cxxsupport.cxx\r\nIn file included from CXX/cxxsupport.cxx:40:\r\nIn file included from CXX/Python2/cxxsupport.cxx:38:\r\nIn file included from ./CXX/Objects.hxx:40:\r\n./CXX/Python2/Objects.hxx:1133:23: warning: implicit conversion of NULL constant to 'int' [-Wnull-conversion]\r\n            , offset( NULL )\r\n                    ~ ^~~~\r\n                      0\r\n1 warning generated.\r\ncc: CXX/IndirectPythonInterface.cxx\r\ncc: CXX/cxxextensions.c\r\nc++ -shared -undefined dynamic_lookup -Wno-error=unused-command-line-argument-hard-error-in-future build/temp.macosx-10.10-x86_64-2.7/src/ft2font.o build/temp.macosx-10.10-x86_64-2.7/src/mplutils.o build/temp.macosx-10.10-x86_64-2.7/CXX/cxx_extensions.o build/temp.macosx-10.10-x86_64-2.7/CXX/cxxsupport.o build/temp.macosx-10.10-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.macosx-10.10-x86_64-2.7/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib - L / u s r / l o c a l / C e l l a r / f r e e t y p e / 2 . 5 . 3 _ 1 / l i b - l f r e e t y p e -lstdc++ -lm -o build/lib.macosx-10.10-x86_64-2.7/matplotlib/ft2font.pypy-25.so\r\nclang: error: -E or -x required when input is from standard input\r\nclang: error: no such file or directory: 'L'\r\nclang: error: no such file or directory: 'u'\r\nclang: error: no such file or directory: 's'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'o'\r\nclang: error: no such file or directory: 'c'\r\nclang: error: no such file or directory: 'a'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'C'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'a'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'f'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 't'\r\nclang: error: no such file or directory: 'y'\r\nclang: error: no such file or directory: 'p'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: '2'\r\nclang: error: no such file or directory: '5'\r\nclang: error: no such file or directory: '3'\r\nclang: error: no such file or directory: '_'\r\nclang: error: no such file or directory: '1'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'i'\r\nclang: error: no such file or directory: 'b'\r\nclang: error: -E or -x required when input is from standard input\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'f'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 't'\r\nclang: error: no such file or directory: 'y'\r\nclang: error: no such file or directory: 'p'\r\nclang: error: no such file or directory: 'e'\r\nerror: Command \"c++ -shared -undefined dynamic_lookup -Wno-error=unused-command-line-argument-hard-error-in-future build/temp.macosx-10.10-x86_64-2.7/src/ft2font.o build/temp.macosx-10.10-x86_64-2.7/src/mplutils.o build/temp.macosx-10.10-x86_64-2.7/CXX/cxx_extensions.o build/temp.macosx-10.10-x86_64-2.7/CXX/cxxsupport.o build/temp.macosx-10.10-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.macosx-10.10-x86_64-2.7/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib - L / u s r / l o c a l / C e l l a r / f r e e t y p e / 2 . 5 . 3 _ 1 / l i b - l f r e e t y p e -lstdc++ -lm -o build/lib.macosx-10.10-x86_64-2.7/matplotlib/ft2font.pypy-25.so\" failed with exit status 1\r\nclang: error: -E or -x required when input is from standard input\r\nclang: error: no such file or directory: 'L'\r\nclang: error: no such file or directory: 'u'\r\nclang: error: no such file or directory: 's'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'o'\r\nclang: error: no such file or directory: 'c'\r\nclang: error: no such file or directory: 'a'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'C'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'a'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'f'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 't'\r\nclang: error: no such file or directory: 'y'\r\nclang: error: no such file or directory: 'p'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: '2'\r\nclang: error: no such file or directory: '5'\r\nclang: error: no such file or directory: '3'\r\nclang: error: no such file or directory: '_'\r\nclang: error: no such file or directory: '1'\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'i'\r\nclang: error: no such file or directory: 'b'\r\nclang: error: -E or -x required when input is from standard input\r\nclang: error: no such file or directory: 'l'\r\nclang: error: no such file or directory: 'f'\r\nclang: error: no such file or directory: 'r'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 'e'\r\nclang: error: no such file or directory: 't'\r\nclang: error: no such file or directory: 'y'\r\nclang: error: no such file or directory: 'p'\r\nclang: error: no such file or directory: 'e'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mattip/matplotlib/issues/comments/77342230","html_url":"https://github.com/mattip/matplotlib/issues/1#issuecomment-77342230","issue_url":"https://api.github.com/repos/mattip/matplotlib/issues/1","id":77342230,"user":{"login":"ckald","id":204759,"avatar_url":"https://avatars.githubusercontent.com/u/204759?v=3","gravatar_id":"","url":"https://api.github.com/users/ckald","html_url":"https://github.com/ckald","followers_url":"https://api.github.com/users/ckald/followers","following_url":"https://api.github.com/users/ckald/following{/other_user}","gists_url":"https://api.github.com/users/ckald/gists{/gist_id}","starred_url":"https://api.github.com/users/ckald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckald/subscriptions","organizations_url":"https://api.github.com/users/ckald/orgs","repos_url":"https://api.github.com/users/ckald/repos","events_url":"https://api.github.com/users/ckald/events{/privacy}","received_events_url":"https://api.github.com/users/ckald/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T10:39:51Z","updated_at":"2015-03-05T10:39:51Z","body":"Hi. I encounter the same problem while installing with pypy 2.5.0 on Ubuntu"}}