Bug 209560 - Missing build dependency: gcc-c++
Summary: Missing build dependency: gcc-c++
Alias: None
Product: Fedora
Classification: Fedora
Component: gmime
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
Keywords: EasyFix
Depends On:
TreeView+ depends on / blocked
Reported: 2006-10-05 23:52 UTC by Bernard Johnson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Clone Of:
Last Closed: 2006-10-06 06:25:45 UTC

Attachments (Terms of Use)

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):

How reproducible:

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

Note You need to log in before you can comment on or make changes to this bug.