Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224643 - dev-python/matplotlib-0.91.2: -fno-strict-aliasing: command not found
Summary: dev-python/matplotlib-0.91.2: -fno-strict-aliasing: command not found
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 17:50 UTC by Douglas O'Neal
Modified: 2008-06-25 19:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output from emerge --info (emerge.info,11.92 KB, text/plain)
2008-06-03 12:45 UTC, Douglas O'Neal
Details
Build log (build.log,32.25 KB, text/plain)
2008-06-25 18:33 UTC, Cory T. Tusar
Details
Build environment. (environment,93.25 KB, text/plain)
2008-06-25 18:33 UTC, Cory T. Tusar
Details
emerge --info (emerge.info,3.49 KB, text/plain)
2008-06-25 18:34 UTC, Cory T. Tusar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas O'Neal 2008-06-02 17:50:50 UTC
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'.
 *
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-02 17:58:44 UTC
Your emerge --info too, please.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-03 01:25:17 UTC
Please reopen this bug once you have submitted your `emerge --info'.
Comment 3 Douglas O'Neal 2008-06-03 12:45:32 UTC
Created attachment 155359 [details]
output from emerge --info
Comment 4 Cory T. Tusar 2008-06-25 18:33:08 UTC
Created attachment 158425 [details]
Build log
Comment 5 Cory T. Tusar 2008-06-25 18:33:34 UTC
Created attachment 158427 [details]
Build environment.
Comment 6 Cory T. Tusar 2008-06-25 18:34:23 UTC
Created attachment 158429 [details]
emerge --info
Comment 7 Cory T. Tusar 2008-06-25 19:14:32 UTC
Confirmed on amd64.