Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 288245

Summary: app-admin/python-updater-0.7 doesn't detect gnomeapplet module
Product: Gentoo Linux Reporter: stemer <stemer>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: gentoo, gnome, upendra.gandhi
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description stemer 2009-10-08 19:42:18 UTC
The origin of this bug is from here: http://bugs.gentoo.org/show_bug.cgi?id=126846. I tried to update/emerge gnome-extra/deskbar-applet-2.26.2-r1 and it fails at configure not finding gnomeapplet module:

checking for gnomeapplet module... no
configure: error: gnomeapplet Python module required to build deskbar

As suggested I did:

# python -c 'import gnomeapplet'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named gnomeapplet


# eselect python list
Available python interpreters:
  [1]   python2.6 *


$ find /usr/lib/python*/site-packages -name "gnomeapplet*"
/usr/lib/python2.5/site-packages/gtk-2.0/gnomeapplet.la
/usr/lib/python2.5/site-packages/gtk-2.0/gnomeapplet.so


Few weeks ago (or months? ;)) i updated dev-lang/python and of course I ran python-updater.

Reproducible: Always
Comment 1 upendra 2009-10-14 16:40:24 UTC
I think I too have similar issue,

Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... /usr/lib64/python2.6/site-packages
checking for python extension module directory... /usr/lib64/python2.6/site-packages
checking for headers required to compile python extensions... found
checking for DESKBAR... yes
checking for gnomeapplet module... no
configure: error: gnomeapplet Python module required to build deskbar

!!! Please attach the following file when seeking support:
!!! /nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/work/deskbar-applet-2.26.2/config.log
 * 
 * ERROR: gnome-extra/deskbar-applet-2.26.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3537:  Called gnome2_src_compile
 *             environment, line 2290:  Called gnome2_src_configure
 *             environment, line 2304:  Called econf '--disable-evolution' '--exec-prefix=/usr' '--disable-scrollkeeper'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/environment'.

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 14 Oct 2009 15:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 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.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/  http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
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="/nfs1/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 aspell berkdb bzip2 cli cracklib crypt cups dbus dri gdbm gnome gpm gstreamer gtk hal iconv isdnlog jpeg ldap mmx modules mudflap multilib ncurses nls nptl nptlonly nsplugin openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-17 23:44:18 UTC
Try:
python-updater -o 2.5
Comment 3 stemer 2009-10-18 11:11:20 UTC
Compilation of gnome-extra/deskbar-applet works ok after your suggestion so I will close this bug :)
Comment 4 upendra 2009-10-20 14:58:39 UTC
Even after doing "python-updater -o 2.5"

the package still failed to emerge, as below -

checking for DESKBAR... yes
checking for gnomeapplet module... no
configure: error: gnomeapplet Python module required to build deskbar

!!! Please attach the following file when seeking support:
!!! /nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/work/deskbar-applet-2.26.2/config.log
 * 
 * ERROR: gnome-extra/deskbar-applet-2.26.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3536:  Called gnome2_src_compile
 *             environment, line 2289:  Called gnome2_src_configure
 *             environment, line 2303:  Called econf '--disable-evolution' '--exec-prefix=/usr' '--disable-scrollkeeper'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/environment'.
 * 

>>> Failed to emerge gnome-extra/deskbar-applet-2.26.2-r1, Log file:

>>>  '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/build.log'

 * Messages for package gnome-extra/deskbar-applet-2.26.2-r1:

 * 
 * ERROR: gnome-extra/deskbar-applet-2.26.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3536:  Called gnome2_src_compile
 *             environment, line 2289:  Called gnome2_src_configure
 *             environment, line 2303:  Called econf '--disable-evolution' '--exec-prefix=/usr' '--disable-scrollkeeper'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/nfs1/var/tmp/portage/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/environment'.
 * 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Is there something wrong on my system?
Comment 5 Andrea Zwirner 2009-10-27 09:44:38 UTC
Same problem here:

Updated python to 2.6 a few weeks ago, runned python-updater.



# python -c 'import gnomeapplet'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named gnomeapplet

#  eselect python list
Available python interpreters:
  [1]   python2.5
  [2]   python2.6 *

# find /usr/lib/python*/site-packages -name "gnomeapplet*"
/usr/lib/python2.6/site-packages/gtk-2.0/gnomeapplet.so
/usr/lib/python2.6/site-packages/gtk-2.0/gnomeapplet.la


# emerge gnome-extra/deskbar-applet
(...)
checking for gnomeapplet module... no
(...)
 * 
 * ERROR: gnome-extra/deskbar-applet-2.26.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3454:  Called gnome2_src_compile
 *             environment, line 2216:  Called gnome2_src_configure
 *             environment, line 2230:  Called econf '--disable-evolution' '--exec-prefix=/usr' '--disable-scrollkeeper'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * 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/gnome-extra/deskbar-applet-2.26.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/deskbar-applet-2.26.2-r1/temp/environment'.
 * 


# emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_1200MHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 26 Oct 2009 08:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 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.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -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/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl alsa bash-completion berkdb bluetooth bzip2 cairo cddb cli consolekit cracklib crypt cups cupsddk dbus dri examples fortran freetype gdbm gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg jpeg2k libffi lzo modules mp3 mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre perl png postgres ppds pppd python qt-static qt3 readline reflection samba sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff tk truetype unicode vorbis win32codecs wma x86 xcomposite xinerama xorg xscreensaver xterm 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 mmap_emul 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="it" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Thanks for reading.