media-video/vlc doesn't compile when CPPFLAGS is set up. The problem is that CPPFLAGS is arguments of moc programm. Unsetting CPPFLAGS solve the proble. Here is short log /usr/bin/moc -DHAVE_CONFIG_H -I../../../include -I../../../include -O2 -march=prescott -pipe -fomit-frame-pointer -DSYS_LINUX -I../../.. `top_srcdir="../../.." top_builddir="../../.." ../../../vlc-config --cppflags plugin qt4` -o main_interface.moc.cpp main_interface.hpp Usage: moc [options] <header-file> -o<file> write output to file rather than stdout -I<dir> add dir to the include path for header files -E preprocess only; do not generate meta object code -D<macro>[=<def>] define macro, with optional definition -U<macro> undefine macro -i do not generate an #include statement -p<path> path prefix for included file -f[<file>] force #include, optional file name -nw do not display warnings @<file> read additional options from file -v display version of moc make[5]: *** [main_interface.moc.cpp] Ошибка 1 Reproducible: Always
Thanks for reporting this compile problem & workaround -- could you also post 'emerge --info vlc' to provide further details for vlc maintainers?
Created attachment 254139 [details] My emerge --info vlc
Thanks, assigning to vlc maintainers
the problem is your CPPFLAGS are invalid: CPPFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" these are flags for the pre-processor so -O2, -march & friends have nothing to do here...