Emerge of dev-python/matplotlib configures correctly but dies in the compilation stage. Error message lists the CFLAGS contents as the command that was executed. Reproducible: Always Steps to Reproduce: 1. emerge matplotlib tail of the emerge process: building 'matplotlib.ft2font' extension C compiler: i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i686 -pipe -fPIC creating build/temp.linux-i686-2.4 creating build/temp.linux-i686-2.4/src creating build/temp.linux-i686-2.4/CXX compile options: '-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c' i686-pc-linux-gnu-gcc: CXX/IndirectPythonInterface.cxx i686-pc-linux-gnu-gcc: CXX/cxx_extensions.cxx i686-pc-linux-gnu-gcc: CXX/cxxextensions.c i686-pc-linux-gnu-gcc: src/ft2font.cpp i686-pc-linux-gnu-gcc: src/mplutils.cpp i686-pc-linux-gnu-gcc: CXX/cxxsupport.cxx -fno-strict-aliasing -pthread -shared -O2 -march=i686 -pipe build/temp.linux-i686-2.4/src/ft2font.o build/temp.linux-i686-2.4/src/mplutils.o build/temp.linux-i686-2.4/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.4/CXX/cxx_extensions.o build/temp.linux-i686-2.4/CXX/cxxsupport.o build/temp.linux-i686-2.4/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -lfreetype -lz -lstdc++ -lm -o build/lib.linux-i686-2.4/matplotlib/ft2font.so sh: -fno-strict-aliasing: command not found sh: -fno-strict-aliasing: command not found error: Command "-fno-strict-aliasing -pthread -shared -O2 -march=i686 -pipe build/temp.linux-i686-2.4/src/ft2font.o build/temp.linux-i686-2.4/src/mplutils.o build/temp.linux-i686-2.4/CXX/IndirectPythonInterface.o build/temp.linux-i686-2.4/CXX/cxx_extensions.o build/temp.linux-i686-2.4/CXX/cxxsupport.o build/temp.linux-i686-2.4/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -lfreetype -lz -lstdc++ -lm -o build/lib.linux-i686-2.4/matplotlib/ft2font.so" failed with exit status 127 * * ERROR: dev-python/matplotlib-0.91.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2341: Called distutils_src_compile * environment, line 671: Called die * The specific snippet of code: * ${python} setup.py build "$@" || die "compilation failed" * The die message: * compilation failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/matplotlib-0.91.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-0.91.2/temp/environment'. *
Your emerge --info too, please.
Please reopen this bug once you have submitted your `emerge --info'.
Created attachment 155359 [details] output from emerge --info
Created attachment 158425 [details] Build log
Created attachment 158427 [details] Build environment.
Created attachment 158429 [details] emerge --info
Confirmed on amd64.