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 825186

Summary: Cannot build cmake 2.8.8-4 on EL6
Product: Red Hat Enterprise Linux 6 Reporter: Gregor Jasny <gjasny>
Component: cmakeAssignee: Petr Machata <pmachata>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: mnewsome
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-25 19:09:48 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:

Description Gregor Jasny 2012-05-25 10:19:09 UTC
Description of problem:
When I try to compile the latest cmake source rpm from FC18 on my EL6 box, the unit test
193 - CMakeOnly.AllFindModules (Failed)
fails.

Steps to Reproduce:
1. wget http://kojipkgs.fedoraproject.org/packages/cmake/2.8.8/4.fc18/src/cmake-2.8.8-4.fc18.src.rpm
2. rpm -ivh cmake-2.8.8-4.fc18.src.rpm
3. rpmbuild -bb cmake.spec


Actual results:
The following tests FAILED:
	193 - CMakeOnly.AllFindModules (Failed)
Errors while running CTest
error: Bad exit status from /uhome/gjasny/tmp/rpm-tmp.Mns3hD (%check)


Expected results:
It would be great if I could use cmake 2.8.8 on RHEL6.

Thanks,
Gregor

Comment 2 Petr Machata 2012-05-25 19:09:48 UTC
That other cmake version fails to build is hardly a fault of cmake shipped with RHEL 6.  Besides, it seems to work for me:

[...]
100% tests passed, 0 tests failed out of 228
[...]
Wrote: /home/user/rpmbuild/RPMS/x86_64/cmake-2.8.8-4.el6.x86_64.rpm
[...]
$ cat /etc/redhat-release 
Red Hat Enterprise Linux Workstation release 6.3 Beta (Santiago)

Under root, one test fails: CTest.UpdateCVS, but that's because cvs disallows commit for root user.

Comment 3 Petr Machata 2012-06-04 19:22:03 UTC
See bug 828467 where we track the Fedora leg of this problem.  CMake in RHEL 6 doesn't ship FindPostgreSQL.cmake, and therefore it doesn't suffer from that problem.