Bug 617717 - gnome-python2-desktop fails to build against gtk-3.0 (blocks python 2.7 rebuild)
Summary: gnome-python2-desktop fails to build against gtk-3.0 (blocks python 2.7 rebuild)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-python2-desktop
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-23 19:37 UTC by Dave Malcolm
Modified: 2012-08-16 21:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 21:19:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Malcolm 2010-07-23 19:37:26 UTC
Description of problem:
gnome-python2-desktop failed to build against python2.7, though I think the failure is in gnome-python2-desktop itself:

http://koji.fedoraproject.org/koji/getfile?taskID=2347039&name=build.log

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I/usr/include/python2.7 -pthread -I/usr/include/pygtk-2.0 -I/usr/lib64/libffi-3.0.9/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -DGSEAL_ENABLE -pthread -I/usr/include/evince/2.30 -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c9x -fno-strict-aliasing -c -o evince_la-evince.lo `test -f 'evince.c' || echo './'`evince.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I/usr/include/python2.7 -pthread -I/usr/include/pygtk-2.0 -I/usr/lib64/libffi-3.0.9/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/evince/2.30 -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c9x -fno-strict-aliasing -c evince.c  -fPIC -DPIC -o .libs/evince_la-evince.o
evince.override: In function 'pygdk_region_get_type':
evince.override:29:27: error: 'gdk_region_copy' undeclared (first use in this function)
evince.override:29:27: note: each undeclared identifier is reported only once for each function it appears in
evince.override:30:27: error: 'gdk_region_destroy' undeclared (first use in this function)
evince.c: In function '_wrap_ev_selection_get_selection_map':
evince.c:4895:5: error: 'GdkRegion' undeclared (first use in this function)
evince.c:4895:16: error: 'ret' undeclared (first use in this function)
evince.c:4900:5: warning: implicit declaration of function 'ev_selection_get_selection_map'
evince.c:4904:1: warning: control reaches end of non-void function

Are you missing a #include ?

Steps to Reproduce:
 koji build dist-f14-py27-rebuild cvs://cvs.fedoraproject.org/cvs/pkgs?rpms/gnome-python2-desktop/devel#gnome-python2-desktop-2_31_1-2_fc14

Comment 1 Dave Malcolm 2010-07-25 15:20:56 UTC
This appears to be caused by the bump to gtk-3.0, not by python 2.7, in that a scratch build into dist-f14 (with python 2.6) also fails:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2349632

with the same error:
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/usr/include/pygtk-2.0 -I/usr/lib64/libffi-3.0.9/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/evince/2.30 -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -std=c9x -fno-strict-aliasing -c evince.c  -fPIC -DPIC -o .libs/evince_la-evince.o
evince.override: In function 'pygdk_region_get_type':
evince.override:29:27: error: 'gdk_region_copy' undeclared (first use in this function)
evince.override:29:27: note: each undeclared identifier is reported only once for each function it appears in
evince.override:30:27: error: 'gdk_region_destroy' undeclared (first use in this function)
evince.c: In function '_wrap_ev_selection_get_selection_map':
evince.c:4895:5: error: 'GdkRegion' undeclared (first use in this function)
evince.c:4895:16: error: 'ret' undeclared (first use in this function)
evince.c:4900:5: warning: implicit declaration of function 'ev_selection_get_selection_map'
evince.c:4904:1: warning: control reaches end of non-void function

Comment 2 Bug Zapper 2010-07-30 12:47:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2012-08-16 21:20:01 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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