Bug 788085 - open-vm-tools does not install on RHEL 5.7
Summary: open-vm-tools does not install on RHEL 5.7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: open-vm-tools
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta6
Assignee: John Eckersberg
QA Contact: Martin Kočí
URL:
Whiteboard:
: 790927 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-07 12:49 UTC by wes hayutin
Modified: 2012-05-15 18:43 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 18:43:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0669 0 normal SHIPPED_LIVE new packages: aeolus-audrey-agent, open-vm-tools, and others 2012-05-15 22:27:05 UTC

Description wes hayutin 2012-02-07 12:49:08 UTC
[root@10-16-120-128 yum.repos.d]# yum install open-vm-tools.x86_64
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package open-vm-tools.x86_64 0:8.8.0-0.el6.1 set to be updated
--> Processing Dependency: open-vm-toolsd = 8.8.0-0.el6.1 for package: open-vm-tools
--> Running transaction check
---> Package open-vm-toolsd.x86_64 0:8.8.0-0.el6.1 set to be updated
--> Processing Dependency: libvmtools.so.0()(64bit) for package: open-vm-toolsd
--> Processing Dependency: libhgfs.so.0()(64bit) for package: open-vm-toolsd
--> Processing Dependency: libdnet.so.1()(64bit) for package: open-vm-toolsd
--> Processing Dependency: libguestlib.so.0()(64bit) for package: open-vm-toolsd
--> Running transaction check
---> Package libdnet.x86_64 0:1.12-8.el6 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.7)(64bit) for package: libdnet
---> Package open-vm-tools-libs.x86_64 0:8.8.0-0.el6.1 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.11)(64bit) for package: open-vm-tools-libs
---> Package open-vm-toolsd.x86_64 0:8.8.0-0.el6.1 set to be updated
--> Processing Dependency: libhgfs.so.0()(64bit) for package: open-vm-toolsd
--> Finished Dependency Resolution
libdnet-1.12-8.el6.x86_64 from aeolus-brew-puddle has depsolving problems
  --> Missing Dependency: libc.so.6(GLIBC_2.7)(64bit) is needed by package libdnet-1.12-8.el6.x86_64 (aeolus-brew-puddle)
open-vm-tools-libs-8.8.0-0.el6.1.x86_64 from aeolus-brew-puddle has depsolving problems
  --> Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package open-vm-tools-libs-8.8.0-0.el6.1.x86_64 (aeolus-brew-puddle)
open-vm-toolsd-8.8.0-0.el6.1.x86_64 from aeolus-brew-puddle has depsolving problems
  --> Missing Dependency: libhgfs.so.0()(64bit) is needed by package open-vm-toolsd-8.8.0-0.el6.1.x86_64 (aeolus-brew-puddle)
Error: Missing Dependency: libhgfs.so.0()(64bit) is needed by package open-vm-toolsd-8.8.0-0.el6.1.x86_64 (aeolus-brew-puddle)
Error: Missing Dependency: libc.so.6(GLIBC_2.11)(64bit) is needed by package open-vm-tools-libs-8.8.0-0.el6.1.x86_64 (aeolus-brew-puddle)
Error: Missing Dependency: libc.so.6(GLIBC_2.7)(64bit) is needed by package libdnet-1.12-8.el6.x86_64 (aeolus-brew-puddle)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@10-16-120-128 yum.repos.d]#

Comment 1 Mike Orazi 2012-02-07 23:23:08 UTC
Please retest against:  open-vm-tools-8.8.0-0.el6.2.x86_64.rpm (should be available in brwe)

Comment 2 Martin Kočí 2012-02-09 08:43:25 UTC
It seems open-vm-tools-8.8.0-0.el6.2.x86_64.rpm is still not available in brew (http://download.lab.bos.redhat.com/brewroot/repos/ce-rhel-5-build/latest/x86_64/ - nightly, http://download.devel.redhat.com/rel-eng/CloudForms/CloudEngine/1.0/latest/el5-agents/x86_64/ - puddle)

# cat /etc/redhat-release && uname -a
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Linux qe-blade-14.idm.lab.bos.redhat.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

# yum install open-vm-tools
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package open-vm-tools.x86_64 0:8.8.0-0.el6.1 set to be updated
--> Processing Dependency: open-vm-toolsd = 8.8.0-0.el6.1 for package: open-vm-tools
....
Error: Missing Dependency: python(abi) = 2.4 is needed by package python-devel-2.4.3-44.el5.i386 (installed)
Error: Missing Dependency: libpanelw.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: libncurses.so.5 is needed by package parted-1.8.1-28.el5.i386 (installed)
Error: Missing Dependency: libhal-storage.so.1 is needed by package gnome-vfs2-2.16.2-8.el5.i386 (installed)
Error: Missing Dependency: libmenuw.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package dogtail-0.6.1-4.el5.noarch (installed)
Error: Missing Dependency: libncursesw.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: glibc-common = 2.5-65 is needed by package glibc-2.5-65.i686 (installed)
Error: Missing Dependency: libncurses.so.5 is needed by package redhat-lsb-4.0-2.1.4.el5.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package python-simplejson-2.0.9-8.el5.x86_64 (installed)
Error: pam conflicts with db4
Error: Missing Dependency: rpm = 4.4.2.3-22.el5 is needed by package rpm-libs-4.4.2.3-22.el5.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package rhts-test-env-4.41-1.el5.noarch (installed)
Error: Missing Dependency: libpanel.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: rpm = 4.4.2.3-22.el5 is needed by package rpm-devel-4.4.2.3-22.el5.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package rhpl-0.194.1-1.x86_64 (installed)
Error: Missing Dependency: libhal.so.1 is needed by package gnome-vfs2-2.16.2-8.el5.i386 (installed)
Error: authconfig conflicts with nss_ldap
Error: Missing Dependency: python(abi) = 2.4 is needed by package python-numeric-23.7-2.2.2.el5_6.1.x86_64 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package beah-0.6.34-2.el5.noarch (installed)
Error: Missing Dependency: ncurses = 5.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package newt-0.52.2-15.el5.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package subversion-1.6.11-7.el5_6.4.x86_64 (installed)
Error: Missing Dependency: libhgfs.so.0()(64bit) is needed by package open-vm-toolsd-8.8.0-0.el6.1.x86_64 (aeolus-brew-puddle)
Error: Missing Dependency: libform.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: libformw.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package cracklib-2.8.9-3.3.i386 (installed)
Error: Missing Dependency: python = 2.4.3-44.el5 is needed by package python-devel-2.4.3-44.el5.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package python-ethtool-0.6-5.el5.x86_64 (installed)
Error: autofs conflicts with cyrus-sasl-lib
Error: Missing Dependency: python(abi) = 2.4 is needed by package koan-2.0.11-3wsgi.el5.noarch (installed)
Error: Missing Dependency: libaudit.so.0()(64bit) is needed by package ipsec-tools-0.6.5-14.el5_5.5.x86_64 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package libuser-0.54.7-2.1.el5_5.2.i386 (installed)
Error: Missing Dependency: libncursesw.so.5 is needed by package 12:aspell-0.60.3-7.1.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package pyspi-0.6.1-1.el5.x86_64 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package rhel-instnum-1.0.9-1.el5.noarch (installed)
Error: Missing Dependency: libncurses.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: libncurses.so.5 is needed by package sqlite-3.3.6-5.i386 (installed)
Error: Missing Dependency: libmenu.so.5 is needed by package ncurses-devel-5.5-24.20060715.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package subversion-1.6.11-7.el5_6.4.i386 (installed)
Error: Missing Dependency: python(abi) = 2.4 is needed by package kudzu-1.2.57.1.26-1.x86_64 (installed)
Error: Missing Dependency: libneon.so.25()(64bit) is needed by package subversion-1.6.11-7.el5_6.4.x86_64 (installed)
Error: nss conflicts with curl
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Comment 3 Hugh Brock 2012-02-09 13:19:27 UTC
For the record, I don't believe RHEL 5.7 is a supported guest OS for cloudforms -- my understanding was 5.8 and above only. However that may have nothing to do with this issue.

Comment 5 Hugh Brock 2012-02-09 13:40:18 UTC
reassigning to lutter since he did this work originally and mfojtik is out sick today. David, can you make sure open-vm-tools gets brewed for rhel-5?

Comment 6 David Lutterkort 2012-02-09 16:56:13 UTC
Yes, will do .. was waiting for libdnet-devel to make it into the roots for the new tools tags

Comment 7 John Eckersberg 2012-02-10 22:53:26 UTC
I've been trying to get this building under el5 and have hit a number of snags.  At this point I am temporarily giving up and brain dumping all the things I have done thus far.

First, the spec is explicitly setting CFLAGS:
export CFLAGS="%{optflags} -Wno-unused-but-set-variable"

However the version of gcc in el5 does not support this flag.  I patched the spec to conditionalize this for rhel >= 6.

Next, there are uses of glib2 features which are not present in el5.  I pulled the patch out of git for this issue here: http://sourceforge.net/tracker/index.php?func=detail&aid=3452233&group_id=204462&atid=989708 and that got me temporarily past that (more later).

Then, there are errors related to the -Wno-unused-but-set-variable spec fix above.  At this point I patched configure and removed -Werror completely.

Finally I've ran across a new glib2 issue: undefined reference to `g_timeout_source_new_seconds', which is yet another function not available in the el5 version of glib2.

This is where I'm at now and I'm calling it a day.

Comment 8 John Eckersberg 2012-02-15 18:27:51 UTC
*** Bug 790927 has been marked as a duplicate of this bug. ***

Comment 12 John Eckersberg 2012-02-17 15:56:04 UTC
After a fair bit of massaging, this is built for el5:

https://brewweb.devel.redhat.com/taskinfo?taskID=4054034

Comment 13 James Laska 2012-02-17 16:13:21 UTC
(In reply to comment #12)
> After a fair bit of massaging, this is built for el5:
> 
> https://brewweb.devel.redhat.com/taskinfo?taskID=4054034

Thanks John ... moving to MODIFIED until a build is available in an official puddle for QE to test.

Comment 15 John Eckersberg 2012-02-23 16:59:04 UTC
This is available in the puddle from yesterday, moving back to ON_QA.

Comment 16 Martin Kočí 2012-02-23 18:01:43 UTC
Verified on RHEL5.7
# yum install open-vm-tools
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
....

Installed:
  open-vm-tools.x86_64 0:8.8.0-5.el5                                                                                                                                                                                                         

Dependency Installed:
  libdnet.x86_64 0:1.12-9.el5                                             open-vm-tools-libs.x86_64 0:8.8.0-5.el5                                             open-vm-toolsd.x86_64 0:8.8.0-5.el5                                            

Complete!


# cat /etc/redhat-release && uname -a
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Linux qe-blade-06.idm.lab.bos.redhat.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

http://download.lab.bos.redhat.com/brewroot/repos/cf-tools-1.0-rhel-5-build/latest/x86_64/ -- nightly repo

Moving bug to VERIFIED

Comment 17 errata-xmlrpc 2012-05-15 18:43:15 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.

http://rhn.redhat.com/errata/RHEA-2012-0669.html


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