Red Hat Bugzilla – Bug 1144608
pki-core failed to build with cmake-2.8.12.2-4.el6
Last modified: 2015-07-22 02:55:30 EDT
Description of problem: pki-core failed to build with cmake-2.8.12.2-4.el6. Version-Release number of selected component (if applicable): pki-core-9.0.3-37.el6 How reproducible: Steps to Reproduce: Errata TPS showed these errors: CMake Error: Could not find cmake module file: /usr/src/redhat/BUILD/pki-core-9.0.3/build/CMakeFiles/2.8.12.2/CMakeJavaCompiler.cmake CMake Warning (dev) at base/symkey/src/CMakeLists.txt:1 (project): Syntax Warning in cmake code at /usr/src/redhat/BUILD/pki-core-9.0.3/cmake/Modules/CMakeTestJavaCompiler.cmake:28:34 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at base/symkey/src/CMakeLists.txt:1 (project): Syntax Warning in cmake code at /usr/src/redhat/BUILD/pki-core-9.0.3/cmake/Modules/CMakeTestJavaCompiler.cmake:28:46 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. -- Copy file from /usr/src/redhat/BUILD/pki-core-9.0.3/base/selinux/src/pki.fc to /usr/src/redhat/BUILD/pki-core-9.0.3/build/base/selinux/src/pki.fc -- Copy file from /usr/src/redhat/BUILD/pki-core-9.0.3/base/selinux/src/pki.if to /usr/src/redhat/BUILD/pki-core-9.0.3/build/base/selinux/src/pki.if -- Copy file from /usr/src/redhat/BUILD/pki-core-9.0.3/base/selinux/src/pki.te to /usr/src/redhat/BUILD/pki-core-9.0.3/build/base/selinux/src/pki.te -- Configuring incomplete, errors occurred! See also "/usr/src/redhat/BUILD/pki-core-9.0.3/build/CMakeFiles/CMakeOutput.log". See also "/usr/src/redhat/BUILD/pki-core-9.0.3/build/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.jgW6Xw (%build) Actual results: pki-core build fails. Expected results: pki-core should build successfully Additional info:
This is purely a build-time issue. Pushing to RHEL 6.7.
Created attachment 988646 [details] pki-core-9.0.3-bz1144608.patch Patch for: - Bugzilla Bug #1144608 - pki-core failed to build with cmake-2.8.12.2-4.el6 - Bugzilla Bug #1037248 - pki-core FTBFS if "-Werror=format-security" flag is used
Created attachment 988647 [details] spec file to apply patch Spec file used to apply patch
NOTE: Fixes for this bug were made to allow dogtag-pki-theme to be built for testing purposes.
TPS tests of RHEL 6.7 pki-core errata for build pki-core-9.0.3-40.el6 passed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1347.html