Gentoo Forums
Gentoo Forums
Quick Search: in
emerge pygtk --> tooltip error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
qbic2005
n00b
n00b


Joined: 11 Nov 2005
Posts: 67
Location: Belgium

PostPosted: Sun Sep 02, 2007 1:32 am    Post subject: emerge pygtk --> tooltip error Reply with quote

Hi

I try to emerge pygtk but I always get the same error (with every version):

Code:
gtk.c: In function '_wrap_gtk_entry_get_inner_border':
gtk.c:41150: warning: assignment discards qualifiers from pointer target type
gtk.c: In function '__GtkNotebook_class_init':
gtk.c:62499: warning: assignment from incompatible pointer type
gtk.c:62519: warning: assignment from incompatible pointer type
gtk.c: In function '__GtkScrolledWindow_class_init':
gtk.c:68373: warning: assignment from incompatible pointer type
./gtk.override: In function '_wrap_gtk_tooltips__get_tips_data_list':
./gtk.override:3130: error: 'GtkTooltips' has no member named 'tips_data_list'
make[2]: *** [_gtk_la-gtk.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.10.4/work/pygtk-2.10.4/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.10.4/work/pygtk-2.10.4'
make: *** [all] Error 2

!!! ERROR: dev-python/pygtk-2.10.4 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  pygtk-2.10.4.ebuild, line 54:   Called die


Got no idea if this looks normal or is relevant but maybe someone else does ;-)
slocate tooltip.h
/usr/qt/3/include/qtooltip.h
/usr/include/libsexy/sexy-tooltip.h
/usr/include/evolution-2.8/table/e-table-tooltip.h
/usr/include/wx-2.6/wx/gtk/tooltip.h
/usr/include/wx-2.6/wx/tooltip.h

Thanks for helping me out!

my emerge info data if it is usefull:

Code:
 emerge --info
>>> cfg-update-1.8.0-r6: Building checksum index...canceled!
>>> 21 config file updates found, please run "cfg-update -u"
Portage 2.1.2.12 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 02 Sep 2007 06:00:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/xeffects /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/lila-theme /usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd dvdr dvdread fortran gdbm gnome gpm gtk iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre pdf perl png ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10756
Location: the dutch mountains

PostPosted: Sun Sep 02, 2007 4:11 am    Post subject: Reply with quote

Which version of gtk+ is installed on your system? Was it updated recently?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
qbic2005
n00b
n00b


Joined: 11 Nov 2005
Posts: 67
Location: Belgium

PostPosted: Sun Sep 02, 2007 5:09 am    Post subject: Library links missing, revdep-rebuild fails Reply with quote

gtk+ version : 2.11.5

I did a lot of stuff lately and the pygtk doesn't seem the only problem. :?

I have run revdep-rebuild which shows that my system is pretty screwed up :roll:
And to make things worse, revdep-rebuild stops on the emerge of gnome-panel (if i activate '-X' option it starts the emerge but the compile stops with an error of libwnck)

Which brings me to some new questions, should I do a deep full system rebuild to solve this? or can i try to re-emerge the seperate libs by hand until revdep-rebuild can take over again? :?:
And if so with which package should I start?

Thanks

(i have re-emerged libwnck with succes, but it doesn't change any of the above or below)

Code:
revdep-rebuild -i
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/amarokapp (requires  libcurl.so.3)
  broken /usr/bin/amarokcollectionscanner (requires  libcurl.so.3)
  broken /usr/bin/avant-window-navigator (requires  libwnck-1.so.18)
  broken /usr/bin/awn-applet-activation (requires  libwnck-1.so.18)
  broken /usr/bin/bug-buddy (requires  libedataserver-1.2.so.7)
  broken /usr/bin/emerald (requires  libwnck-1.so.18)
  broken /usr/bin/emerald-theme-manager (requires  libwnck-1.so.18)
  broken /usr/bin/git-http-fetch (requires  libcurl.so.3)
  broken /usr/bin/gnome-phone-manager (requires  libedataserver-1.2.so.7)
  broken /usr/bin/gnome-power-inhibit-test (requires  libwnck-1.so.18)
  broken /usr/bin/gnome-power-manager (requires  libwnck-1.so.18)
  broken /usr/bin/gnome-power-preferences (requires  libwnck-1.so.18)
  broken /usr/bin/gnome-system-monitor (requires  libwnck-1.so.18)
  broken /usr/bin/grip (requires  libcurl.so.3)
  broken /usr/bin/heliodor (requires  libwnck-1.so.18)
  broken /usr/bin/puid (requires  libcurl.so.3)
  broken /usr/lib/awn/applets/notification/notification-area.so (requires  libwnck-1.so.18)
  broken /usr/lib/awn/applets/separator/separator.so (requires  libwnck-1.so.18)
  broken /usr/lib/awn/applets/switcher/switcher.so (requires  libwnck-1.so.18)
  broken /usr/lib/awn/applets/trash/trash.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/liblegacy.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/liboxygen.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libpixmap.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libtruglass.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libvrunner.so (requires  libwnck-1.so.18)
  broken /usr/lib/emerald/engines/libzootreeves.so (requires  libwnck-1.so.18)
  broken /usr/lib/f-spot/libfspot.so.0.0.0 (requires  libexif.so.10)
  broken /usr/lib/gimp/2.0/plug-ins/jpeg (requires  libexif.so.10)
  broken /usr/lib/kde3/libamarok_generic-mediadevice.so (requires  libcurl.so.3)
  broken /usr/lib/kde3/libamarok_ipod-mediadevice.so (requires  libcurl.so.3)
  broken /usr/lib/kde3/libamarok_massstorage-device.so (requires  libcurl.so.3)
  broken /usr/lib/kde3/libamarok_nfs-device.so (requires  libcurl.so.3)
  broken /usr/lib/kde3/libamarok_smb-device.so (requires  libcurl.so.3)
  broken /usr/lib/kde3/libamarok_void-engine_plugin.so (requires  libcurl.so.3)
  broken /usr/lib/kde3/libamarok_xine-engine.so (requires  libcurl.so.3)
  broken /usr/lib/libawn.so.0.0.1 (requires  libwnck-1.so.18)
  broken /usr/lib/libcryptsetup.so.0.0.0 (requires  libdevmapper.so.1.02)
  broken /usr/lib/libemeraldengine.so.0.0.0 (requires  libwnck-1.so.18)
  broken /usr/lib/libgphoto2.so.2.2.1 (requires  libexif.so.10)
  broken /usr/lib/libgphoto2/2.3.1/canon.so (requires  libexif.so.10)
  broken /usr/lib/libgphoto2/print-camera-list (requires  libexif.so.10)
  broken /usr/lib/libtunepimp.so.5.0.2 (requires  libcurl.so.3)
  broken /usr/lib/nautilus-sendto/plugins/libnstevolution.so (requires  libedataserver-1.2.so.7)
  broken /usr/lib/notification-daemon-1.0/engines/libstandard.so (requires  libwnck-1.so.18)
  broken /usr/lib/openoffice/program/libucpftp1.so (requires  libcurl.so.3)
  broken /usr/lib/opensync/plugins/evo2_sync.so (requires  libedataserver-1.2.so.7)
  broken /usr/lib/python2.4/site-packages/deluge/deluge_core.so (requires  libboost_date_time-mt.so.1.33.1 libboost_filesystem-mt.so.1.33.1 libboost_thread-mt.so.1.33.1)
  broken /usr/lib/python2.4/site-packages/gtk-2.0/wnck.so (requires  libwnck-1.so.18)
  broken /usr/lib/window-manager-settings/libberyl.so (requires  libwnck-1.so.18)
  broken /usr/lib/wine/sane.ds.so (requires  libsane.so.1)
  broken /usr/libexec/gnome-screensaver/floaters (requires  libexif.so.10)
  broken /usr/libexec/gnome-screensaver/popsquares (requires  libexif.so.10)
  broken /usr/libexec/gnome-screensaver/slideshow (requires  libexif.so.10)
  broken /usr/libexec/notification-daemon (requires  libwnck-1.so.18)
  broken /usr/libexec/stickynotes_applet (requires  libwnck-1.so.18)
  broken /usr/libexec/wnck-applet (requires  libwnck-1.so.18)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order...
Warning: Failed to resolve package order.
Will merge in "random" order!
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
  and/or /etc/portage/package.unmask to unmask it
..... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot  =x11-misc/notification-daemon-0.3.6-r1 =app-mobilephone/gnome-phone-manager-0.8 =gnome-base/gnome-panel-2.16.2 =gnome-base/gnome-applets-2.16.2 =media-gfx/gimp-2.2.14 =media-gfx/f-spot-0.3.5-r1 =net-p2p/deluge-0.5.1.1 =media-libs/tunepimp-0.5.2 =media-libs/libgphoto2-2.3.1-r4 =app-emulation/wine-0.9.29 =app-office/openoffice-2.1.0-r1 =x11-wm/emerald-0.2.1 =x11-wm/heliodor-0.2.1 =dev-util/git-1.5.1.3 =dev-python/gnome-python-desktop-2.16.0 =sys-fs/cryptsetup-luks-1.0.3-r2 =media-sound/amarok-1.4.5-r1 =media-sound/grip-3.3.1 =gnome-extra/gnome-power-manager-2.16.2 =gnome-extra/gnome-system-monitor-2.16.1 =gnome-extra/bug-buddy-2.16.0 =gnome-extra/gnome-screensaver-2.16.2 =gnome-extra/nautilus-sendto-0.8-r1 =gnome-extra/avant-window-navigator-9999 =app-pda/libopensync-plugin-evolution2-0.19
..........
Calculating dependencies /
emerge: there are no ebuilds to satisfy "=gnome-base/gnome-panel-2.16.2".


revdep-rebuild failed to emerge all packages

Back to top
View user's profile Send private message
qbic2005
n00b
n00b


Joined: 11 Nov 2005
Posts: 67
Location: Belgium

PostPosted: Sun Sep 02, 2007 5:22 am    Post subject: Reply with quote

some extra data about libwnck maybe usefull because that is the package that pops ups the most

ls -l /usr/lib/libwnck-1*
-rw-r--r-- 1 root root 307024 Sep 2 12:18 /usr/lib/libwnck-1.a
-rw-r--r-- 1 root root 1416 Sep 2 12:18 /usr/lib/libwnck-1.la
lrwxrwxrwx 1 root root 19 Sep 2 12:18 /usr/lib/libwnck-1.so -> libwnck-1.so.22.2.0
lrwxrwxrwx 1 root root 19 Sep 2 12:18 /usr/lib/libwnck-1.so.22 -> libwnck-1.so.22.2.0
-rwxr-xr-x 1 root root 212036 Sep 2 12:18 /usr/lib/libwnck-1.so.22.2.0


x11-libs/libwnck-2.19.5 merged
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10756
Location: the dutch mountains

PostPosted: Sun Sep 02, 2007 6:40 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
gtk+-2.11.5 is not in portage, so this must be unsupported stuff.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
qbic2005
n00b
n00b


Joined: 11 Nov 2005
Posts: 67
Location: Belgium

PostPosted: Sun Sep 02, 2007 7:22 am    Post subject: Reply with quote

I don't know where you got that info, but this is the output I get on running emerge -s gtk+

[ Results for search key : gtk+ ]
[ Applications found : 2 ]

* x11-libs/gtk+
Latest version available: 2.11.5
Latest version installed: 2.11.5
Size of files: 15,106 kB
Homepage: http://www.gtk.org/
Description: Gimp ToolKit +
License: LGPL-2


and yes I have some experimental overlay's, but as far as I know, none of them have gtk+ versions and if you read the topic, you would have seen this isn't about gtk+
thank you for you time.
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10756
Location: the dutch mountains

PostPosted: Sun Sep 02, 2007 8:25 am    Post subject: Reply with quote

Quote:
I don't know where you got that info, but this is the output I get on running emerge -s gtk+
local checkout of the one and only gentoo cvs portage tree:
Code:
nixnut@thoughtless /var/cvsroot/gentoo-x86/x11-libs/gtk+ $ ls -l
total 144
drwxr-xr-x 2 nixnut users  4096 Aug 28 13:14 CVS
-rw-r--r-- 1 nixnut users  46883 Aug 28 13:27 ChangeLog
-rw-r--r-- 1 nixnut users  13725 Aug 28 13:14 Manifest
drwxr-xr-x 3 nixnut users  4096 Aug 28 14:00 files
-rw-r--r-- 1 nixnut users  2391 Jul 23 21:54 gtk+-1.2.10-r12.ebuild
-rw-r--r-- 1 nixnut users  4024 Jul 23 21:54 gtk+-2.10.11.ebuild
-rw-r--r-- 1 nixnut users   4149 Aug 28 13:12 gtk+-2.10.13.ebuild
-rw-r--r-- 1 nixnut users   4152 Aug 28 13:27 gtk+-2.10.14.ebuild
-rw-r--r-- 1 nixnut  users  3370 Jul 23 21:54 gtk+-2.6.10-r1.ebuild
-rw-r--r-- 1 nixnut  users  3872 Jul 23 21:54 gtk+-2.8.19.ebuild
-rw-r--r-- 1 nixnut  users  3992 Jul 23 21:54 gtk+-2.8.20-r1.ebuild
-rw-r--r-- 1 nixnut users  424 Aug 16  2005 metadata.xml
Quote:
and yes I have some experimental overlay's, but as far as I know, none of them have gtk+ versions and if you read the topic, you would have seen this isn't about gtk+
And what do you think pygtk depends on?
I not only read the topic, I even read the build output you posted.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
qbic2005
n00b
n00b


Joined: 11 Nov 2005
Posts: 67
Location: Belgium

PostPosted: Sun Sep 02, 2007 9:38 am    Post subject: Reply with quote

I don't really care in which topic this resides, just looking for a solution, not for a discussion. 8)

I already solved the problems with libwnck and tried to do the same for some of the other (libexif and libcurl) but without succes.

Concentration on libcurl for example:
When I run revdep-rebuild I still got this output:
broken /usr/bin/amarokapp (requires libcurl.so.3)
broken /usr/bin/amarokcollectionscanner (requires libcurl.so.3)
broken /usr/bin/bug-buddy (re...

and when I look in my /usr/lib
ls -l /usr/lib/libcurl*
-rw-r--r-- 1 root root 311568 Sep 2 16:22 /usr/lib/libcurl.a
-rw-r--r-- 1 root root 826 Sep 2 16:22 /usr/lib/libcurl.la
lrwxrwxrwx 1 root root 16 Sep 2 16:22 /usr/lib/libcurl.so -> libcurl.so.4.0.0
lrwxrwxrwx 1 root root 16 Sep 2 16:22 /usr/lib/libcurl.so.4 -> libcurl.so.4.0.0
-rwxr-xr-x 1 root root 232424 Sep 2 16:22 /usr/lib/libcurl.so.4.0.0

tried to re-emerge net-misc/curl (don't now if this is the right package)
and revdep-rebuild -X --library libcurl.so.3 (and .4 to make sure :roll: )

This is what worked for libwnck.
Got this idea after seeing what went wrong with libexpat, the reason why i got in this mess in the first place. (but then I helped the 'mess' a little bit by myself)
Back to top
View user's profile Send private message
dol-sen
Veteran
Veteran


Joined: 30 Jun 2002
Posts: 1430
Location: Richmond, BC, Canada

PostPosted: Sun Sep 02, 2007 11:49 am    Post subject: Reply with quote

I've recently had a badly rev-dep screwed up system as well. If revdep-rebuild fails at a package then do an
Code:
# emerge --resume --skipfirst


I had to do that about three or four times to get through the main list of packages, the others that failed rebuilt afterwards ok. Portage is pretty good at getting the order correct, but some interdependencies can be too deep to track and so fails when things a badly screwed.

Also, if I'm not mistaken, pygtk versions should match the gtk+, so you should be installing a pygtk-2.11.x version. It may be possible that coding has changed.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
Try it You'll like it! :) stable -0.6.0 final
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum