rpmbuild on the compiz source RPM will fail if any KDE or qt development packages (for example, qt-devel) are installed. This is caused by a bug in the compiz configuration script.
qt development packages before attempting to build the compiz package from its source RPM. (BZ#444609)