Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 864379 Details for
Bug 1063847
open-vm-tools FTBFS: error: "g_info" redefined
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] Fix FTBFS g_info redefine (RHBZ #1063847)
0001-Fix-FTBFS-g_info-redefine-RHBZ-1063847.patch (text/plain), 2.58 KB, created by
Igor Gnatenko
on 2014-02-18 07:01:04 UTC
(
hide
)
Description:
[PATCH] Fix FTBFS g_info redefine (RHBZ #1063847)
Filename:
MIME Type:
Creator:
Igor Gnatenko
Created:
2014-02-18 07:01:04 UTC
Size:
2.58 KB
patch
obsolete
>From ddc09b4b07544eaa29137eaff6dbdc7719f2cfb4 Mon Sep 17 00:00:00 2001 >From: Igor Gnatenko <i.gnatenko.brain@gmail.com> >Date: Tue, 18 Feb 2014 10:59:08 +0400 >Subject: [PATCH] Fix FTBFS g_info redefine (RHBZ #1063847) > >Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1063847 >Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> >--- > g_info_redefine.patch | 14 ++++++++++++++ > open-vm-tools.spec | 7 ++++++- > 2 files changed, 20 insertions(+), 1 deletion(-) > create mode 100644 g_info_redefine.patch > >diff --git a/g_info_redefine.patch b/g_info_redefine.patch >new file mode 100644 >index 0000000..9985e61 >--- /dev/null >+++ b/g_info_redefine.patch >@@ -0,0 +1,14 @@ >+diff -uNr open-vm-tools-9.4.0-1280544.orig/lib/include/vmware/tools/log.h open-vm-tools-9.4.0-1280544/lib/include/vmware/tools/log.h >+--- open-vm-tools-9.4.0-1280544.orig/lib/include/vmware/tools/log.h 2013-09-23 19:51:10.000000000 +0400 >++++ open-vm-tools-9.4.0-1280544/lib/include/vmware/tools/log.h 2014-02-18 10:56:50.368604176 +0400 >+@@ -134,7 +134,9 @@ >+ ******************************************************************************* >+ */ >+ >+-#define g_info(fmt, ...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, fmt, ## __VA_ARGS__) >++#if !defined(g_info) >++# define g_info(fmt, ...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, fmt, ## __VA_ARGS__) >++#endif >+ >+ >+ /* >diff --git a/open-vm-tools.spec b/open-vm-tools.spec >index 66f754e..068aa10 100644 >--- a/open-vm-tools.spec >+++ b/open-vm-tools.spec >@@ -27,13 +27,14 @@ > > Name: open-vm-tools > Version: %{toolsversion} >-Release: 4%{?dist} >+Release: 5%{?dist} > Summary: Open Virtual Machine Tools for virtual machines hosted on VMware > Group: Applications/System > License: GPLv2 > URL: http://%{name}.sourceforge.net/ > Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz > Source1: %{toolsdaemon}.service >+Patch0: g_info_redefine.patch > %if 0%{?rhel} >= 7 > ExclusiveArch: x86_64 > %else >@@ -93,6 +94,7 @@ VMware virtual machines. > > %prep > %setup -q -n %{name}-%{version}-%{toolsbuild} >+%patch0 -p1 -b .g_info > > %build > # Use -Wno-unused-local-typedefs to build with GCC 4.8 >@@ -186,6 +188,9 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service > %{_libdir}/libvmtools.so > > %changelog >+* Tue Feb 18 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 9.4.0-5 >+- Fix FTBFS g_info redefine (RHBZ #1063847) >+ > * Fri Feb 14 2014 David Tardon <dtardon@redhat.com> - 9.4.0-4 > - rebuild for new ICU > >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1063847
:
861793
| 864379