Description of Problem: desktopconv references setlocale() and the macro LC_ALL, which require inclusion of <locale.h>. When -O2 is given, __OPTIMIZE__ is defined, and then <libintl.h> includes <locale.h>. No __OPTIMIZE__, no <locale.h>. How Reproducible: Do a rebuild of the kdebase-2.2alpha1 rpm with "--define '%optflags -g'". Wait for an hour for it to get to desktopconv. Watch the build die.
Created attachment 18187 [details] include locale.h unconditionally
Fixed in 2.2-0.alpha2.2