Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217231 - x11-misc/alacarte fails to emerge using dev-python/pygobject-2.14.1
Summary: x11-misc/alacarte fails to emerge using dev-python/pygobject-2.14.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 22:56 UTC by Thiago Nunes
Modified: 2008-05-31 18:31 UTC (History)
1 user (show)

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


Attachments
alacarte's config.log using pygobject-2.14.0 (config.log-pygobject-2.14.0,25.89 KB, text/plain)
2008-04-10 22:56 UTC, Thiago Nunes
Details
alacarte's config.log using pygobject-2.14.1 (config.log-pygobject-2.14.1,25.06 KB, text/plain)
2008-04-10 22:57 UTC, Thiago Nunes
Details
config.log of pygobject built against python 2.4.4-r9 (pygobject-2.14.1_python-2.4_config.log,25.83 KB, text/plain)
2008-04-15 06:45 UTC, Thiago Nunes
Details
config.log of pygtk built against python 2.4.4-r9 (pygtk-2.12.0_python-2.4_config.log,39.72 KB, text/plain)
2008-04-15 06:46 UTC, Thiago Nunes
Details
config.log of alacarte built against pygobject-2.14.1 built against python 2.4.4-r9 (alacarte-0.11.4_pygobject-2.14.1_python-2.4_config.log,25.06 KB, text/plain)
2008-04-15 06:49 UTC, Thiago Nunes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Nunes 2008-04-10 22:56:02 UTC
Alacarte configuration fails when using "pygobject-2.14.1".
With 2.14.0 it's works fine.

I will atach the config.log to show what are happening.
Comment 1 Thiago Nunes 2008-04-10 22:56:52 UTC
Created attachment 149350 [details]
alacarte's config.log using pygobject-2.14.0
Comment 2 Thiago Nunes 2008-04-10 22:57:17 UTC
Created attachment 149352 [details]
alacarte's config.log using pygobject-2.14.1
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-12 13:59:52 UTC
configure:6675: checking for pygtk 2.8.0 installed for python 2.4
Traceback (most recent call last):
  File "<string>", line 3, in ?
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.py", line 30, in ?
    from gobject.constants import *
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gobject/constants.py", line 22, in ?
    from _gobject import type_from_name
ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so: undefined symbol: PySignal_SetWakeupFd
configure:6686: result: not found
configure:6688: error: required pygtk version not found

Which version of pygtk are you using ? Please don't skip pasting emerge --info.
Comment 4 Mart Raudsepp gentoo-dev 2008-04-12 14:02:35 UTC
You appear to have built pygobject against a python-2.5 revision that has PySignal_SetWakeupFd patch in it, but now using python-2.4 or something that doesn't have that patch. (The patch allows pygobject and pygtk to not wake up the computer so often and save power and such, it checks in configure if the function is available or not)
Comment 5 Thiago Nunes 2008-04-15 06:00:57 UTC
(In reply to comment #3)
> Which version of pygtk are you using ? Please don't skip pasting emerge --info.

Calculating dependencies... done!
[ebuild   R   ] dev-python/pygtk-2.12.0  USE="opengl -doc -examples" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Xeon(R) CPU 5120 @ 1.86GHz
Timestamp of tree: Wed, 09 Apr 2008 06:00:04 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mmmx -fomit-frame-pointer -pipe -w"
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/config"
CONFIG_PROTECT_MASK="/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mmmx -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="                http://distfiles.gentoo.org/            http://gentoo.osuosl.org/  http://open-systems.ufl.edu/mirrors/gentoo               http://mirror.espri.arizona.edu/gentoo/    http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/            http://mirror.datapipe.net/gentoo          http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/            "
LANG="pt_BR"
LC_ALL="pt_BR"
LINGUAS="pt_BR"
MAKEOPTS="-j6 -s"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://cursoseer.furg.br/gentoo-portage"
USE="X aalib accessibility acl acpi alsa apache2 arts bash-completion berkdb cairo cdr cli cracklib crypt cups dbus directfb dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal howl iconv icq isdnlog jabber java javascript jikes jpeg kde kdeenablefinal kdehiddenvisibility kerberos ldap libcaca mad midi mikmod mmx mp3 mpeg msn mudflap ncurses nis nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sse ssl svg tcpd tetex tiff truetype unicode usb v4l vorbis win32codecs wmf x86 xml xorg xv xvid yahoo 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" USERLAND="GNU" VIDEO_CARDS="sis via vesa nv nvidia savage s3 i810 radeon trident"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Thiago Nunes 2008-04-15 06:34:42 UTC
(In reply to comment #4)
> You appear to have built pygobject against a python-2.5 revision that has
> PySignal_SetWakeupFd patch in it, but now using python-2.4 or something that
> doesn't have that patch. (The patch allows pygobject and pygtk to not wake up
> the computer so often and save power and such, it checks in configure if the
> function is available or not)

Hm... I tested with python-2.5, probabily I forgot to recompile pygobject and pygtk when I downgraed python.
Comment 7 Thiago Nunes 2008-04-15 06:45:41 UTC
Created attachment 149766 [details]
config.log of pygobject built against python 2.4.4-r9
Comment 8 Thiago Nunes 2008-04-15 06:46:47 UTC
Created attachment 149768 [details]
config.log of pygtk built against python 2.4.4-r9
Comment 9 Thiago Nunes 2008-04-15 06:49:13 UTC
Created attachment 149774 [details]
config.log of alacarte built against pygobject-2.14.1 built against python 2.4.4-r9
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-15 08:38:15 UTC
closing per comment #6, never ever let python precompiled objects behind when you change python version, I guess python-updater only works with upgrading but unless python herd is ok to fix it to handle downgrade as well, this is an invalid bug to me.
Comment 11 Thiago Nunes 2008-04-15 22:45:48 UTC
(In reply to comment #10)
> closing per comment #6, never ever let python precompiled objects behind when
> you change python version, I guess python-updater only works with upgrading but
> unless python herd is ok to fix it to handle downgrade as well, this is an
> invalid bug to me.
> 

But now I have pygobject and pygtk compiled against python-2, 4 and I still could not compile the alacarte.

I just tried to upgrade python because I had this error in the configuration of alacarte.

What am I doing wrong now?
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-05-31 18:31:01 UTC
well now you either choose python  2.5 or 2.4, run python-updater, remove the indesirable version, make sure there is no .py[co] files left over (which python-updater should have caught but who knows) and then try rebuilding pygobject , pygtk, gnome-menus, gnome-python and alacarte.