Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299524 - dev-python/pywebkitgtk-1.1.7 cannot compile: WEBKIT_TYPE_NETWORK_RESPONSE, WEBKIT_TYPE_SECURITY_ORIGIN,WEBKIT_TYPE_WEB_DATABASE, WEBKIT_TYPE_WEB_RESOURCE and WEBKIT_TYPE_WEB_DATA_SOURCE not declared
Summary: dev-python/pywebkitgtk-1.1.7 cannot compile: WEBKIT_TYPE_NETWORK_RESPONSE, W...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sergio D. Rodríguez Inclan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 22:45 UTC by Fernando Usero
Modified: 2010-01-26 08:27 UTC (History)
3 users (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 Fernando Usero 2010-01-03 22:45:32 UTC
compilation log is:

v -f javascriptcore/.deps/webkit_la-javascriptcore_types.Tpo javascriptcore/.deps/webkit_la-javascriptcore_types.Plo
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT webkit/webkit_la-webkitmodule.lo -MD -MP -MF webkit/.deps/webkit_la-webkitmodule.Tpo -c webkit/webkitmodule.c -o webkit/webkit_la-webkitmodule.o >/dev/null 2>&1
mv -f webkit/.deps/webkit_la-webkitmodule.Tpo webkit/.deps/webkit_la-webkitmodule.Plo
Warning: Constructor for WebKitWebHistoryItem needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 100.00% (5/5)
***INFO*** The coverage of methods is 100.00% (154/154)
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
/bin/sh ./libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/python2.6     -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0   -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2   -O2 -march=nocona -pipe -MT webkit/webkit_la-webkit.lo -MD -MP -MF webkit/.deps/webkit_la-webkit.Tpo -c -o webkit/webkit_la-webkit.lo `test -f 'webkit/webkit.c' || echo './'`webkit/webkit.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT webkit/webkit_la-webkit.lo -MD -MP -MF webkit/.deps/webkit_la-webkit.Tpo -c webkit/webkit.c  -fPIC -DPIC -o webkit/.libs/webkit_la-webkit.o
webkit/webkit.c: En la función ‘_wrap_webkit_web_frame_get_security_origin’:
webkit/webkit.c:1235: error: ‘WebKitSecurityOrigin’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:1235: error: (Cada identificador no declarado solamente se reporta una vez
webkit/webkit.c:1235: error: ara cada funcion en la que aparece.)
webkit/webkit.c:1235: error: ‘ret’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c: En la función ‘_wrap_webkit_web_frame_get_data_source’:
webkit/webkit.c:1247: error: ‘WebKitWebDataSource’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:1247: error: ‘ret’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c: En la función ‘_wrap_webkit_web_frame_get_provisional_data_source’:
webkit/webkit.c:1259: error: ‘WebKitWebDataSource’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:1259: error: ‘ret’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c: En la función ‘_wrap_webkit_network_response_get_uri’:
webkit/webkit.c:2745: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_security_origin_get_host’:
webkit/webkit.c:2816: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_security_origin_get_protocol’:
webkit/webkit.c:2830: aviso: la asignación crea un puntero desde un entero sin una conversión
./webkit/webkit.override: En la función ‘_wrap_webkit_security_origin_get_all_web_databases’:
./webkit/webkit.override:136: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_database_get_security_origin’:
webkit/webkit.c:2971: error: ‘WebKitSecurityOrigin’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:2971: error: ‘ret’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c: En la función ‘_wrap_webkit_web_database_get_name’:
webkit/webkit.c:2986: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_database_get_display_name’:
webkit/webkit.c:3000: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_database_get_filename’:
webkit/webkit.c:3036: aviso: la asignación crea un puntero desde un entero sin una conversión
./webkit/webkit.override: En la función ‘_wrap_webkit_web_resource_get_data’:
./webkit/webkit.override:285: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_resource_get_uri’:
webkit/webkit.c:3146: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_resource_get_mime_type’:
webkit/webkit.c:3160: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_resource_get_encoding’:
webkit/webkit.c:3174: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_resource_get_frame_name’:
webkit/webkit.c:3188: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_data_source_get_web_frame’:
webkit/webkit.c:3285: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_data_source_get_initial_request’:
webkit/webkit.c:3297: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_data_source_get_request’:
webkit/webkit.c:3309: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_data_source_get_encoding’:
webkit/webkit.c:3321: aviso: la asignación crea un puntero desde un entero sin una conversión
./webkit/webkit.override: En la función ‘_wrap_webkit_web_data_source_get_data’:
./webkit/webkit.override:302: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_web_data_source_get_main_resource’:
webkit/webkit.c:3365: error: ‘WebKitWebResource’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:3365: error: ‘ret’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c: En la función ‘_wrap_webkit_web_data_source_get_unreachable_uri’:
webkit/webkit.c:3380: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘_wrap_webkit_get_web_database_directory_path’:
webkit/webkit.c:3473: aviso: la asignación crea un puntero desde un entero sin una conversión
webkit/webkit.c: En la función ‘pywebkit_register_classes’:
webkit/webkit.c:3598: error: ‘WEBKIT_TYPE_NETWORK_RESPONSE’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:3600: error: ‘WEBKIT_TYPE_SECURITY_ORIGIN’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:3602: error: ‘WEBKIT_TYPE_WEB_DATABASE’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:3604: error: ‘WEBKIT_TYPE_WEB_RESOURCE’ no se declaró aquí (primer uso en esta función)
webkit/webkit.c:3606: error: ‘WEBKIT_TYPE_WEB_DATA_SOURCE’ no se declaró aquí (primer uso en esta función)
make[1]: *** [webkit/webkit_la-webkit.lo] Error 1
make[1]: se sale del directorio `/var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work/pywebkitgtk-1.1.7-2.6'
make: *** [all] Error 2
 * 
 * ERROR: dev-python/pywebkitgtk-1.1.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 1809:  Called python_src_compile
 *             environment, line 1770:  Called python_execute_function '-d' '-s'
 *             environment, line 1271:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *  The die message:
 *   Building failed with Python 2.6 in python_default_function() function
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/pywebkitgtk-1.1.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pywebkitgtk-1.1.7/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:
1.emerge pywebkitgtk

Actual Results:  
compilation didn't success

Expected Results:  
compilation finished with success

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 03 Jan 2010 11:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://213.186.33.38/gentoo-distfiles/ ftp://194.117.143.70/sites/gentoo http://213.186.33.38/gentoo-distfiles/ ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/overlays/gentopia /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 autofs avahi bash-completion beagle berkdb bluetooth branding bzip2 cairo cddb cdr chm cli consolekit cracklib crypt css cups cxx dbus dedicated dga directfb divx djvu dnd doc dri dts dv dvb dvd dvdr dvdread eds emacs emboss encode epiphany evo exif fam fax fbcon ffmpeg firefox flac foreign-package fortran freetds ftp galago gb gd gdbm gedit gif gnome gnomedb gnutls gpac gpg gphoto2 gpm gps gstreamer gtk gtk2 hal howl iconv id3tag ieee1394 imagemagick imap informix innodb inotify ipod ipv6 java javascript jikes jpeg junit kde kerberos keyring ladcca lame lcms ldap libnotify mad maildir mdnsresponder-compat mikmod mjpeg mmx mng modules mono mozdevelop mozilla mozvg mp2 mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql nautilus ncurses network networkmanager nls nptl nptlonly nsplugin offensive ogg oggvorbis ole opengl openmp pam pcmcia pcre pdf pdflib pear perl php pidgin png postgres ppds pppd pulseaudio python qt-static qt3support qt4 quicktime readline realmedia reflection rtsp samba sdl session spell spl spreadsheet sse sse2 ssl startup-notification stream subtitles svg sysfs syslog taglib tagwriting tcpd theora thunar thunderbird tiff totem truetype unicode upnp usb v4l v4l2 vcd vorbis webdav webservices win32codecs wmp wv wxwindows x264 x86 xcb xine xml xml2 xorg xulrunner xv xvid yv12 zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fernando Usero 2010-01-04 19:14:00 UTC
....by the way, it worked with 1.1.6-r1
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-11 17:11:26 UTC
Which version of net-libs/webkit-gtk?
Also please attach build log with LC_ALL="C".
Comment 3 Fernando Usero 2010-01-11 19:17:01 UTC
# equery list net-libs/webkit-gtk
[ Searching for package 'webkit-gtk' in 'net-libs' among: ]
 * installed packages
[I--] [  ] net-libs/webkit-gtk-1.1.10 (0)

build log:

# LC_ALL="C" emerge pywebkitgtk 

>>> Emerging (1 of 1) dev-python/pywebkitgtk-1.1.7

>>> Unpacking source...
>>> Unpacking pywebkitgtk-1.1.7.tar.gz to /var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work
>>> Source unpacked in /var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work
>>> Preparing source in /var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work/pywebkitgtk-1.1.7 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work/pywebkitgtk-1.1.7 ...
 * Configuration of dev-python/pywebkitgtk-1.1.7 with Python 2.6...
 * econf: updating pywebkitgtk-1.1.7/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating pywebkitgtk-1.1.7/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating pywebkitgtk-1.1.7-2.6/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating pywebkitgtk-1.1.7-2.6/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
.......
checking for WEBKIT... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pywebkitgtk-1.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work/pywebkitgtk-1.1.7 ...
 * Building of dev-python/pywebkitgtk-1.1.7 with Python 2.6...
make -j3 
make  all-am
make[1]: Entering directory `/var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work/pywebkitgtk-1.1.7-2.6'
/usr/bin/python /usr/lib/python2.6/site-packages/gtk-2.0/codegen/createdefs.py webkit/webkit.defs ./webkit/webkit-base-types.defs ./webkit/webkit-1.1-types.defs ./webkit/webkit-1.0.2.defs ./webkit/webkit-1.1.defs
(/usr/bin/pygobject-codegen-2.0 \
            --register /usr/share/pygtk/2.0/defs/gdk-types.defs \
            --register /usr/share/pygtk/2.0/defs/gtk-types.defs \
	    --override ./webkit/webkit.override \
	    --prefix pywebkit webkit/webkit.defs) 2>&1 > webkit/gen-webkit.c | tee webkit/webkit.errors \
	&& cp webkit/gen-webkit.c webkit/webkit.c \
	&& rm -f webkit/gen-webkit.c
/bin/sh ./libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/python2.6     -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0   -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2   -O2 -march=nocona -pipe -MT webkit/webkit_la-webkitmodule.lo -MD -MP -MF webkit/.deps/webkit_la-webkitmodule.Tpo -c -o webkit/webkit_la-webkitmodule.lo `test -f 'webkit/webkitmodule.c' || echo './'`webkit/webkitmodule.c
/bin/sh ./libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/python2.6     -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0   -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2   -O2 -march=nocona -pipe -MT javascriptcore/webkit_la-javascriptcore_types.lo -MD -MP -MF javascriptcore/.deps/webkit_la-javascriptcore_types.Tpo -c -o javascriptcore/webkit_la-javascriptcore_types.lo `test -f 'javascriptcore/javascriptcore_types.c' || echo './'`javascriptcore/javascriptcore_types.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT webkit/webkit_la-webkitmodule.lo -MD -MP -MF webkit/.deps/webkit_la-webkitmodule.Tpo -c webkit/webkitmodule.c  -fPIC -DPIC -o webkit/.libs/webkit_la-webkitmodule.o
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT javascriptcore/webkit_la-javascriptcore_types.lo -MD -MP -MF javascriptcore/.deps/webkit_la-javascriptcore_types.Tpo -c javascriptcore/javascriptcore_types.c  -fPIC -DPIC -o javascriptcore/.libs/webkit_la-javascriptcore_types.o
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT javascriptcore/webkit_la-javascriptcore_types.lo -MD -MP -MF javascriptcore/.deps/webkit_la-javascriptcore_types.Tpo -c javascriptcore/javascriptcore_types.c -o javascriptcore/webkit_la-javascriptcore_types.o >/dev/null 2>&1
mv -f javascriptcore/.deps/webkit_la-javascriptcore_types.Tpo javascriptcore/.deps/webkit_la-javascriptcore_types.Plo
Warning: Constructor for WebKitWebHistoryItem needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 100.00% (5/5)
***INFO*** The coverage of methods is 100.00% (154/154)
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
/bin/sh ./libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/python2.6     -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0   -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2   -O2 -march=nocona -pipe -MT webkit/webkit_la-webkit.lo -MD -MP -MF webkit/.deps/webkit_la-webkit.Tpo -c -o webkit/webkit_la-webkit.lo `test -f 'webkit/webkit.c' || echo './'`webkit/webkit.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT webkit/webkit_la-webkit.lo -MD -MP -MF webkit/.deps/webkit_la-webkit.Tpo -c webkit/webkit.c  -fPIC -DPIC -o webkit/.libs/webkit_la-webkit.o
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.6 -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -D_REENTRANT -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -march=nocona -pipe -MT webkit/webkit_la-webkitmodule.lo -MD -MP -MF webkit/.deps/webkit_la-webkitmodule.Tpo -c webkit/webkitmodule.c -o webkit/webkit_la-webkitmodule.o >/dev/null 2>&1
mv -f webkit/.deps/webkit_la-webkitmodule.Tpo webkit/.deps/webkit_la-webkitmodule.Plo
webkit/webkit.c: In function '_wrap_webkit_web_frame_get_security_origin':
webkit/webkit.c:1235: error: 'WebKitSecurityOrigin' undeclared (first use in this function)
webkit/webkit.c:1235: error: (Each undeclared identifier is reported only once
webkit/webkit.c:1235: error: for each function it appears in.)
webkit/webkit.c:1235: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_frame_get_data_source':
webkit/webkit.c:1247: error: 'WebKitWebDataSource' undeclared (first use in this function)
webkit/webkit.c:1247: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_frame_get_provisional_data_source':
webkit/webkit.c:1259: error: 'WebKitWebDataSource' undeclared (first use in this function)
webkit/webkit.c:1259: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_network_response_get_uri':
webkit/webkit.c:2745: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_security_origin_get_host':
webkit/webkit.c:2816: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_security_origin_get_protocol':
webkit/webkit.c:2830: warning: assignment makes pointer from integer without a cast
./webkit/webkit.override: In function '_wrap_webkit_security_origin_get_all_web_databases':
./webkit/webkit.override:136: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_database_get_security_origin':
webkit/webkit.c:2971: error: 'WebKitSecurityOrigin' undeclared (first use in this function)
webkit/webkit.c:2971: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_database_get_name':
webkit/webkit.c:2986: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_database_get_display_name':
webkit/webkit.c:3000: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_database_get_filename':
webkit/webkit.c:3036: warning: assignment makes pointer from integer without a cast
./webkit/webkit.override: In function '_wrap_webkit_web_resource_get_data':
./webkit/webkit.override:285: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_uri':
webkit/webkit.c:3146: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_mime_type':
webkit/webkit.c:3160: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_encoding':
webkit/webkit.c:3174: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_frame_name':
webkit/webkit.c:3188: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_web_frame':
webkit/webkit.c:3285: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_initial_request':
webkit/webkit.c:3297: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_request':
webkit/webkit.c:3309: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_encoding':
webkit/webkit.c:3321: warning: assignment makes pointer from integer without a cast
./webkit/webkit.override: In function '_wrap_webkit_web_data_source_get_data':
./webkit/webkit.override:302: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_main_resource':
webkit/webkit.c:3365: error: 'WebKitWebResource' undeclared (first use in this function)
webkit/webkit.c:3365: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_unreachable_uri':
webkit/webkit.c:3380: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function '_wrap_webkit_get_web_database_directory_path':
webkit/webkit.c:3473: warning: assignment makes pointer from integer without a cast
webkit/webkit.c: In function 'pywebkit_register_classes':
webkit/webkit.c:3598: error: 'WEBKIT_TYPE_NETWORK_RESPONSE' undeclared (first use in this function)
webkit/webkit.c:3600: error: 'WEBKIT_TYPE_SECURITY_ORIGIN' undeclared (first use in this function)
webkit/webkit.c:3602: error: 'WEBKIT_TYPE_WEB_DATABASE' undeclared (first use in this function)
webkit/webkit.c:3604: error: 'WEBKIT_TYPE_WEB_RESOURCE' undeclared (first use in this function)
webkit/webkit.c:3606: error: 'WEBKIT_TYPE_WEB_DATA_SOURCE' undeclared (first use in this function)
make[1]: *** [webkit/webkit_la-webkit.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pywebkitgtk-1.1.7/work/pywebkitgtk-1.1.7-2.6'
make: *** [all] Error 2
 * 
 * ERROR: dev-python/pywebkitgtk-1.1.7 failed.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-17 17:16:45 UTC
Please try with net-libs/webkit-gtk-1.1.15.4.
Comment 5 Fernando Usero 2010-01-17 18:30:58 UTC
# LC_ALL="C" ACCEPT_KEYWORDS="~x86" emerge =net-libs/webkit-gtk-1.1.15.4 --oneshot -p

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/glib-2.22.3 [2.20.5-r1]
[ebuild     U ] net-libs/libsoup-2.28.2 [2.26.3-r3]
[ebuild     U ] net-libs/libsoup-gnome-2.28.2 [2.26.3-r1]
[ebuild     U ] net-libs/webkit-gtk-1.1.15.4 [1.1.10] USE="websockets%*" 

this would require to upgrade glib and my stable gnome depends on it, i won't do that. I prefer to close this bug. Anyway gwibber is working

(In reply to comment #4)
> Please try with net-libs/webkit-gtk-1.1.15.4.
> 

Comment 6 bzoloid 2010-01-25 00:21:05 UTC
I have exactly the same problem: pywebkitgtk-1.1.7 doesn't emerge despite the fact that it is marked as stable.

I use webkit-gtk-1.1.10 (-coverage -debug -doc +gnome-keyring +gstreamer -pango -test). The build log is the same.

Is it possible to reopen the bug ?

Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-25 11:02:31 UTC
First check if the problem occurs with newer net-libs/webkit-gtk.
Comment 8 bzoloid 2010-01-25 14:44:45 UTC
(In reply to comment #7)

Both webkit-gtk-1.1.15.2 and webkit-gtk-1.1.15.4 require glib>=2.21.3.

Build log ("./configure" step) :
----
checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.21.3
                  gobject-2.0 >= 2.0
                  gthread-2.0 >= 2.0) were not met:

Requested 'glib-2.0 >= 2.21.3' but version of GLib is 2.20.5
-----


pywebkitgtk-1.1.6-r1 works fine with net-libs/webkit-gtk-1.1.10. Maybe it would be better to unmask this version instead of the 1.1.7.

Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-25 16:26:01 UTC
So upgrade glib.
Comment 10 bzoloid 2010-01-26 00:33:09 UTC
Glib is a core component and I don't want to break my system by installing an unstable version.

I will add a comment on bug 299568.

Comment 11 Andre Wyrwa 2010-01-26 03:47:03 UTC
Please mark 1.1.7 as unstable, again.
1) Packages depending on unstable packages shouldn't be stabilized. Hence, wait for stabilization of newer webkit-gtk (and subsequently probably the whole gnome-2.28 stack).
2) glib 2.21.3 is still unstable for a reason, people seem to have quite a few issues after upgrading.
3) If pywebkit 1.1.7 doesn't compile with webkit-gtk 1.1.10 then the ebuild should depend on a higher version of webkit-gtk in the first place.

I would vote for stabilizing 1.1.6-r1 instead.
Comment 12 Fernando Usero 2010-01-26 08:27:14 UTC
(In reply to comment #11)
> I would vote for stabilizing 1.1.6-r1 instead.
 
+1