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 1200475 - [ESXi][RHEL7]open-vm-tools FTBFS with current glib2 in RHEL 7.1
Summary: [ESXi][RHEL7]open-vm-tools FTBFS with current glib2 in RHEL 7.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: open-vm-tools
Version: 7.1
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1172833
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-10 16:04 UTC by Pat Riehecky
Modified: 2016-05-17 08:37 UTC (History)
10 users (show)

Fixed In Version: open-vm-tools-9.10.0-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 09:00:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2246 0 normal SHIPPED_LIVE open-vm-tools bug fix and enhancement update 2015-11-19 09:11:27 UTC

Description Pat Riehecky 2015-03-10 16:04:10 UTC
Description of problem:
BuildRequires lists glib2-devel, however the package cannot be rebuilt on glib2-2.40.0

Version-Release number of selected component (if applicable):open-vm-tools-9.4.0-6.el7


How reproducible:100%


Steps to Reproduce:
1.attempt to rebuild with latest glib2
2.
3.

Actual results:
/builddir/build/BUILD/open-vm-tools-9.4.0-1280544/lib/include/vmware/tools/log.h:137:0: error: "g_info" redefined [-Werror]
 #define g_info(fmt, ...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, fmt, ## __VA_ARGS__)
 ^
In file included from /usr/include/glib-2.0/glib.h:62:0,
                 from /builddir/build/BUILD/open-vm-tools-9.4.0-1280544/lib/include/vmware/tools/log.h:116,
                 from hgfsclient.c:38:
/usr/include/glib-2.0/glib/gmessages.h:165:0: note: this is the location of the previous definition
 #define g_info(...)     g_log (G_LOG_DOMAIN,         \
 ^
cc1: all warnings being treated as errors
make[1]: Leaving directory `/builddir/build/BUILD/open-vm-tools-9.4.0-1280544/hgfsclient'
make[1]: *** [vmware_hgfsclient-hgfsclient.o] Error 1
make: *** [all-recursive] Error 1

Expected results:
BuildRequires: glib2 < 2.40.0

Additional info:

Comment 1 Richard W.M. Jones 2015-03-10 16:15:19 UTC
I've just looked at our build logs and open-vm-tools-9.4.0-6.el7
was built with glib2-2.36.3-5.el7.

Also note we will rebase open-vm-tools again in RHEL 7.2 (bug 1172833).

Comment 2 Ravindra Kumar 2015-03-10 18:35:45 UTC
You could also use the patch from https://bugzilla.redhat.com/show_bug.cgi?id=1063847, if you don't want to wait for rebase.

Comment 4 Ravindra Kumar 2015-05-03 22:44:53 UTC
FYI, open-vm-tools version 9.10.0 with the fix for this bug has been updated in Fedora 22 under bug https://bugzilla.redhat.com/show_bug.cgi?id=1217864.

This new version of open-vm-tools brings some new configurations, details in bug 1172833.

Comment 6 ldu 2015-09-09 08:45:20 UTC
After the bug 1172833 had been fixed, so verified this bug on the new version of open-vm-tools.
the new version of open-vm-tools-9.10.2-3.el7.x86_64 was built with glib2-2.42.2-4.el7.x86_64.

Comment 7 errata-xmlrpc 2015-11-19 09:00:21 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/RHBA-2015-2246.html


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