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.
Description of problem:
I am attempting to rebuild virt-viewer 0.5.2 against spice-gtk 0.14-1.el6 in order to address bug 854318. Unfortunately the spice-gtk 0.14 header files appear to use the G_GNUC_DEPRECATED_FOR() macros, which is only available in glib >= 2.26. RHEL-6 onl has version 2.22, leading to fail
https://brewweb.devel.redhat.com//getfile?taskID=4902863&name=build.log
CC virt_viewer-virt-viewer-session.o
In file included from /usr/include/spice-client-glib-2.0/spice-client.h:35,
from /usr/include/spice-client-gtk-2.0/spice-widget.h:21,
from virt-viewer-session-spice.h:28,
from virt-viewer-app.c:62:
/usr/include/spice-client-glib-2.0/channel-main.h:84: warning: return type defaults to 'int'
/usr/include/spice-client-glib-2.0/channel-main.h:83: warning: no previous prototype for 'G_GNUC_DEPRECATED_FOR'
/usr/include/spice-client-glib-2.0/channel-main.h: In function 'G_GNUC_DEPRECATED_FOR':
/usr/include/spice-client-glib-2.0/channel-main.h:85: error: expected declaration specifiers before 'G_GNUC_DEPRECATED_FOR'
/usr/include/spice-client-glib-2.0/channel-main.h:87: error: expected declaration specifiers before 'G_GNUC_DEPRECATED_FOR'
/usr/include/spice-client-glib-2.0/channel-main.h:89: error: expected declaration specifiers before 'G_GNUC_DEPRECATED_FOR'
The spice-gtk package has back compatibility support for this via its glib-compat.h header file, but this is broken, because the compat file is being used by the .c files, instead of by the .h files. Thus although spice-gtk itself builds fine, all apps using spice-gtk are fubar.
Version-Release number of selected component (if applicable):
0.14-1.el6
How reproducible:
Always
Steps to Reproduce:
1. Attempt to build any app using spice-gtk
Comment 2Christophe Fergeau
2012-09-24 17:16:41 UTC
Comment 3Christophe Fergeau
2012-09-25 08:44:29 UTC
I've pushed a -2 build with this fixed. I've associated the fixes with spice-gtk rebase bug as this is a build regression introduced by the rebase.
Comment 5Christophe Fergeau
2012-10-15 20:45:42 UTC
This one was addressed as part of the spice-gtk rebase bug (bug #842354) as the regression was caused by the rebase, I forgot there was this more specific bug. I'm marking it as a duplicate even though it would have been nicer to keep track of this with this bug.
*** This bug has been marked as a duplicate of bug 842354 ***