media-gfx/graphviz-2.12 doesn't compile with -Os in CFLAGS. It errors out with this: gv_python.cpp:2429:35: warning: missing terminating " character gv_python.cpp:2429: error: missing terminating " character gv_python.cpp:2429:39: warning: no newline at end of file gv_python.cpp: In function 'void SWIG_Python_TypeError(const char*, PyObject*)': gv_python.cpp:2429: error: expected primary-expression at end of input gv_python.cpp:2429: error: expected `;' at end of input gv_python.cpp:2429: error: expected `}' at end of input gv_python.cpp:2429: error: expected `}' at end of input gv_python.cpp: At global scope: gv_python.cpp:2429: error: expected `}' at end of input make[3]: *** [gv_python.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/gv_perl.Tpo .deps/gv_perl.Plo make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg/gv' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/tclpkg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. Use GCC 4.2 2. Emerge graphviz with -Os in CFLAGS
Created attachment 125222 [details, diff] patch to strip -Os with -02
Comment on attachment 125222 [details, diff] patch to strip -Os with -02 fix the code, dont ignore the problem
works fine here. please post emerge --info and emerge -pv graphviz.
Hmm, It works for me here now too. I guess this bug can be marked invalid. Although I'd like to mention this: Listing /usr/lib/python24.zip ... Can't list /usr/lib/python24.zip
Closing.