Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1144608

Summary: pki-core failed to build with cmake-2.8.12.2-4.el6
Product: Red Hat Enterprise Linux 6 Reporter: Asha Akkiangady <aakkiang>
Component: pki-coreAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: arubin, ilmis, jaroslaw.polok, nkinder, rpattath, tis
Target Milestone: rc   
Target Release: 6.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pki-core-9.0.3-40.el6 Doc Type: Bug Fix
Doc Text:
Previously, pki-core failed to build with the rebased version of the CMake build system during the TPS rebuild test. The pki-core build files have been updated to comply with the rebased version of CMake. As a result, pki-core builds successfully in the described scenario.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:55:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pki-core-9.0.3-bz1144608.patch
none
spec file to apply patch none

Description Asha Akkiangady 2014-09-19 21:40:20 UTC
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:

Comment 2 Nathan Kinder 2014-09-20 00:35:43 UTC
This is purely a build-time issue.  Pushing to RHEL 6.7.

Comment 3 Matthew Harmsen 2015-02-06 01:07:27 UTC
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

Comment 4 Matthew Harmsen 2015-02-06 01:08:40 UTC
Created attachment 988647 [details]
spec file to apply patch

Spec file used to apply patch

Comment 6 Matthew Harmsen 2015-02-24 01:38:54 UTC
NOTE: Fixes for this bug were made to allow dogtag-pki-theme to be built for
      testing purposes.

Comment 8 Roshni 2015-04-08 21:02:03 UTC
TPS tests of RHEL 6.7 pki-core errata for build pki-core-9.0.3-40.el6 passed.

Comment 10 errata-xmlrpc 2015-07-22 06:55:30 UTC
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