Bug 209560

Summary: Missing build dependency: gcc-c++
Product: [Fedora] Fedora Reporter: Bernard Johnson <bjohnson>
Component: gmimeAssignee: Alexander Larsson <alexl>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-06 06:25:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernard Johnson 2006-10-05 23:52:21 UTC
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):
gmime-2.2.3

How reproducible:
Always

Steps to Reproduce:
1.  Remove gcc-c++
2.  rpmbuild -ba gmime.spec
3.
  
Actual results:
<... 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)


Expected results:
Successful compile.

Additional info:

Comment 1 Alexander Larsson 2006-10-06 06:25:45 UTC
/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.


Comment 2 Bernard Johnson 2006-10-06 06:52:20 UTC
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.

Comment 3 Alexander Larsson 2006-10-06 07:21:22 UTC
Well, it has to be, because it built in the buildsystem, and that only uses
minimal reqs + build reqs.