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

Bug 102718

Summary: matplotlib-0.80-r1: "GTK requires pygtk
Product: Gentoo Linux Reporter: Peter Bienstman (RETIRED) <pbienst>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Bienstman (RETIRED) gentoo-dev 2005-08-16 08:38:24 UTC
When emerging matplotlib-0.80-r1, I get the following error, regardless of  
whether I have set or unset the gtk USE flag: 
  
>>> Unpacking matplotlib-0.80.tar.gz  
to /mnt/backup/portage/tmp/portage/matplotlib-0.80-r1/work  
>>> Source unpacked.  
GTK requires pygtk  
X Error of failed request:  BadAtom (invalid Atom parameter)  
  Major opcode of failed request:  18 (X_ChangeProperty)  
  Atom id in failed request:  0x3d6  
  Serial number of failed request:  11  
  Current serial number in output stream:  14  
!!! ERROR: dev-python/matplotlib-0.80-r1 failed.  
!!! Function distutils_src_compile, Line 35, Exitcode 1  
!!! compilation failed  
!!! If you need support, post the topmost build error, NOT this status  
message.  
  
  

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.5-r0, 2.4.26 i686) 
================================================================= 
System uname: 2.4.26 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.2.3-r5, 2.3.5 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.4.19-r1, 2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops 
-fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops 
-fomit-frame-pointer" 
DISTDIR="/mnt/backup/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mnt/backup/portage/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X apache2 apm avi bash-completion berkdb bitmap-fonts crypt cups eds 
emboss encode f77 fam foomaticdb fortran gd gd_external gdbm gif gpm gstreamer 
gtk gtk2 guile imagemagick imlib innodb ipv6 jpeg kde libg++ libwww mad mikmod 
motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png 
python qt quicktime readline samba sdl sendmail slang spell ssl svga tcltk 
tcpd tetex tiff truetype truetype-fonts type1-fonts vhosts vorbis xml xml2 
xmms xv zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Peter Bienstman (RETIRED) gentoo-dev 2005-08-17 02:23:48 UTC
The result of some more debugging: the install script fails because 
'import gtk' gives the following error: 
 
Traceback (most recent call last): 
  File "<stdin>", line 1, in ? 
  File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 33, 
in ? 
    import gobject as _gobject 
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/gobject.so: undefined 
symbol: PyGILState_Ensure 
 
This probably is because I recompiled python without thread support, so I'm 
not sure if this is supported. 
Comment 2 Fernando Serboncini (RETIRED) gentoo-dev 2005-10-01 11:06:30 UTC
Can you please test de ~x86 versions of the package (matplotlib-0.82) ?
Comment 3 Fernando Serboncini (RETIRED) gentoo-dev 2006-04-10 17:34:25 UTC
Well, since I got no reply since, I'm closing this one.