Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 10:28:44 GMT
From:      Don Allen <donaldcallen@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/133945: py-gtk2 will not compile from ports
Message-ID:  <200904231028.n3NASiG6067758@www.freebsd.org>
Resent-Message-ID: <200904231030.n3NAU11W041361@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133945
>Category:       misc
>Synopsis:       py-gtk2 will not compile from ports
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 23 10:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Don Allen
>Release:        7.1
>Organization:
>Environment:
FreeBSD elektra 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.5 -I/usr/local/include/python2.5 -I/usr/local/include/pygtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -I./gtk  -I/usr/local/include  -D_THREAD_SAFE -I/usr/local/include/pycairo -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include   -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2    -O2 -fno-strict-aliasing -pipe -march=pentium4  -Wall -std=c9x -MT _gtk_la-gdk.lo -MD -MP -MF ".deps/_gtk_la-gdk.Tpo" -c -o _gtk_la-gdk.lo `test -f 'gdk.c' || echo './'`gdk.c; \
        then mv -f ".deps/_gtk_la-gdk.Tpo" ".deps/_gtk_la-gdk.Plo"; else rm -f ".deps/_gtk_la-gdk.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.5 -I/usr/local/include/python2.5 -I/usr/local/include/pygtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I./gtk -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/pycairo -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -std=c9x -MT _gtk_la-gdk.lo -MD -MP -MF .deps/_gtk_la-gdk.Tpo -c gdk.c  -fPIC -DPIC -o .libs/_gtk_la-gdk.o
gdk.c: In function 'pygdk_register_classes':
gdk.c:19190: error: 'GDK_TYPE_APP_LAUNCH_CONTEXT' undeclared (first use in this function)
gdk.c:19190: error: (Each undeclared identifier is reported only once
gdk.c:19190: error: for each function it appears in.)
gmake[2]: *** [_gtk_la-gdk.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/py-gtk2/work/pygtk-2.14.1/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/py-gtk2/work/pygtk-2.14.1'
gmake: *** [all] Error 2
*** Error code 1

This is the same error as PR 132292, which was closed as not reproducible:

From-To:	open->closed
By:	marcus
When:	Sat Apr 11 02:19:32 UTC 2009
Why:	py-gtk2 is now at 2.14.1, and this problem is not reproducible.

As you can see, the error I encountered was with 2.14.1.

This error prevents upgrading any port that depends on py-gtk2.
>How-To-Repeat:
I encountered this by doing  portupgrade -R epiphany. I was able to reproduce by

cd /usr/ports/x11-toolits/py-gtk2
make

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904231028.n3NASiG6067758>