Hide Forgot
Description of problem: gcc-g++ is required to buiold ipa-pki-theme, but there is no buildrequires for it in the spec file. Version-Release number of selected component (if applicable): 9.0.3-1 How reproducible: always Steps to Reproduce: 1. set up a machine with a build system minus gcc-g++ 2. rpmbuild -ba <srpm> Actual results: -- Check if the system is big endian - little endian CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.062A9y (%build)
The PKI project, project(pki), consists of multiple sub-projects, some of which depend upon 'C' (C), some of which depend upon 'C++' (CXX), some of which depend upon 'Java' (Java), and some of which depend upon none of these languages (NONE). The 'ipa-pki-theme' component requires NO languages, but utilizes: * project(pki) * project(dogtag) * project(ca-ui) * project(common-ui) Although the 'ipa-pki-theme' component could potentially specify project(ca-ui NONE) and project(common-ui NONE), I found it impossible to suppress the check for the C++ compiler, for although project(dogtag) could legally be changed to project(dogtag Java) since that is the only language that 'dogtag-pki-theme' component uses ('dogtag-pki-theme' also requires project(dogtag)), project(pki) could NOT be changed since it is the top-level CMakeLists.txt file called when building all of the sub-projects. Additionally, due to platform constraints, I must support "CMake 2.6-patch 4". I will cc Andreas on this issue to see if there is a simple method of suppressing this check, but currently, my suggestion is simply to ALWAYS require a C++ compiler for building the PKI project (even when one only wants to build a single sub-project of the PKI project).
Per CS Meeting of 20110214, marked as priority low blocking CSFuture
As the projects needs a C++ compiler to compile some C++ code the configure process will check for it. If this is a big problem then I would move it to it's own repository and creates it's own build files.
Per discussions in CS Meeting of 2/28/2011, close this bug as WONTFIX.