Bug 1063847
| Summary: | open-vm-tools FTBFS: error: "g_info" redefined | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> | ||||||
| Component: | open-vm-tools | Assignee: | Simone Caronni <negativo17> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | rawhide | CC: | ignatenko, negativo17, ravindrakumar, rjones | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-02-18 07:49:34 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: |
|
||||||||
Confirm. Created attachment 864379 [details]
[PATCH] Fix FTBFS g_info redefine (RHBZ #1063847)
patch for Fedora SCM.
I guarantee that my patch will not break package.
Thanks, fix applied: http://pkgs.fedoraproject.org/cgit/open-vm-tools.git/commit/?id=0225d0b56bab2860df28808f8541bf5f34ab6b62 (In reply to Simone Caronni from comment #3) > Thanks, fix applied: > > http://pkgs.fedoraproject.org/cgit/open-vm-tools.git/commit/ > ?id=0225d0b56bab2860df28808f8541bf5f34ab6b62 No problems. Anytime! BUT, in the future please use git am for patches. (In reply to Igor Gnatenko from comment #4) > BUT, in the future please use git am for patches. I will do, sorry. |
Created attachment 861793 [details] build.log Description of problem: open-vm-tools in Rawhide fails to build from source, giving the error: In file included from hgfsclient.c:38:0: /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 The full build log is attached. Version-Release number of selected component (if applicable): open-vm-tools-9.4.0-3.fc21 How reproducible: 100% Steps to Reproduce: 1. Rebuild it in Koji.