Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298823 - emerge of dev-python/pygobject-2.18.0 fails
Summary: emerge of dev-python/pygobject-2.18.0 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-29 02:45 UTC by Mark Keisler
Modified: 2010-01-01 18:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Keisler 2009-12-29 02:45:57 UTC
I'm upgrading from 2.14.2 to 2.18.0 and have also just upgraded to python 2.6.x

Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/pygobject
2. failure
3.

Actual Results:  
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../glib -I../gobject -I/usr/include/python2.6 -I/usr/include/pytho
n2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -ma
rch=pentium4 -pipe -fomit-frame-pointer -Wall -fno-strict-aliasing -std=c9x -c pygio-utils.c  -fPIC -DPIC -o .libs/_
gio_la-pygio-utils.o
(cd .\
         && /usr/bin/python ../codegen/codegen.py \
            --py_ssize_t-clean \
            --register gio-types.defs \
            --register unix-types.defs \
            --override unix.override \
            --prefix pyunix unix.defs) > ./gen-unix.c \
        && cp ./gen-unix.c ./unix.c \
        && rm -f ./gen-unix.c
Could not write method GCancellable.make_pollfd: No ArgType for GPollFD*
Warning: generating old-style constructor for:g_emblem_new
Warning: generating old-style constructor for:g_emblemed_icon_new
Could not write method GEmblemedIcon.get_emblems: No ArgType for GList*
Could not write method GFileInfo.get_attribute_data: No ArgType for GFileAttributeType*
Could not write method GFileInfo.set_attribute: No ArgType for gpointer
Could not write method GFileInfo.set_modification_time: No ArgType for GTimeVal*
Could not write method GFileInputStream.query_info_async: No ArgType for GAsyncReadyCallback
Could not write method GBufferedInputStream.peek: No ArgType for void*
Could not write method GBufferedInputStream.peek_buffer: No ArgType for gsize*
Could not write method GBufferedInputStream.fill_async: No ArgType for GAsyncReadyCallback
Could not write method GFileOutputStream.query_info_async: No ArgType for GAsyncReadyCallback
Warning: generating old-style constructor for:g_simple_async_result_new
Could not write constructor for GSimpleAsyncResult: No ArgType for GAsyncReadyCallback
Warning: generating old-style constructor for:g_file_icon_new
Warning: generating old-style constructor for:g_desktop_app_info_new
Warning: generating old-style constructor for:g_unix_input_stream_new
Warning: generating old-style constructor for:g_unix_output_stream_new
Could not write function g_desktop_app_info_new_from_keyfile: No ArgType for GKeyFile*
Could not write function unix_mount_points_get: No ArgType for guint64*
Could not write function unix_mounts_get: No ArgType for guint64*
Could not write function unix_mount_at: No ArgType for guint64*
Warning: Constructor for GDesktopAppInfo needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for GUnixInputStream needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for GUnixOutputStream needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 80.00% (16/20)
***INFO*** The coverage of methods is 100.00% (1/1)
***INFO*** There are no declared virtual proxies.
Could not write method GFile.load_partial_contents_async: No ArgType for GFileReadMoreCallback
Could not write method GFile.load_partial_contents_finish: No ArgType for char**
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../glib -I../gobject -I/usr/include/python2.6 -I/usr/include/python2.6  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -fno-strict-aliasing -std=c9x -c -o unix_la-unix.lo `test -f 'unix.c' || echo './'`unix.c
Could not write function content_type_guess_for_tree: No ArgType for char**
Could not write function memory_input_stream_new_from_data: No ArgType for const-void*
Could not write function simple_async_result_new_from_error: No ArgType for GAsyncReadyCallback
....

Expected Results:  
build

I found that the issue was taht I hadn't yet upgraded glib from 2.16.5 to the latest (2.20.5-r1).  The pygobject ebuild for 2.18.0 needs to reflect this.
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-29 21:51:29 UTC
Dependencies fixed without bumps, thanks for reporting
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-01 18:26:03 UTC
@nirbheek, could you comment on the fact that upstream updated the dependance or not ?