Description of problem:
Unless gcc-c++ is installed, the build will fail because it can't find cc1plus.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Remove gcc-c++
2. rpmbuild -ba gmime.spec
<... deleted ...>
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
error: Bad exit status from /home/bjohnson/rpms/tmp/rpm-tmp.84327 (%build)
Bad exit status from /home/bjohnson/rpms/tmp/rpm-tmp.84327 (%build)
/lib/cpp is not c++ related. Its the C preprocessor.
And, its in the minimal set apps don't have to buildrequire (gcc requires it).
Anyway, configure finds it, but it fails, so its either a local setup issue at
your place or a cpp bug.
Actually, even though it says it is a /lib/cpp problem it wants cc1plus (this is
in the config.log), which is in gcc-c++. I didn't think gcc-c++ was on the
minimal build environment package list (looking at FE here), but I was wrong.
I'll assume that FC is the same.
Well, it has to be, because it built in the buildsystem, and that only uses
minimal reqs + build reqs.