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

Bug 101442

Summary: dev-util/spe is masked by keyword on amd64
Product: Gentoo Linux Reporter: Brian O'Reilly <fade>
Component: [OLD] DevelopmentAssignee: Bryan Østergaard (RETIRED) <kloeri>
Status: RESOLVED FIXED    
Severity: enhancement CC: amd64
Priority: High Keywords: TESTED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New ebuild with >=dev-python/wxpython-2.6.0.0-r1 in RDEPEND

Description Brian O'Reilly 2005-08-05 07:34:29 UTC
I manually unmasked the SPE python ide on my amd64 box, and it 
built cleanly, and works as advertised. Please add ~amd64 to the keywords 
for the build. 
 
*  dev-util/spe  
      Latest version available: 0.7.3a  
      Latest version installed: 0.7.3a  
      Size of downloaded files: 1,669 kB  
      Homepage:    http://spe.pycs.net/  
      Description: Python IDE with Blender support  
      License:     GPL-2  
  

Reproducible: Always
Steps to Reproduce:
1.unmask dev-util/spe 
2.build 
3.use 
 
Actual Results:  
program built and functions as advertised 

Expected Results:  
functioned normally  

infiltrator dev-util # emerge --info 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r6 x86_64) 
================================================================= 
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -pipe -O2" 
CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -pipe -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aalib adns alsa arts avi berkdb bitmap-fonts bonobo cdparanoia 
cdr crypt cups curl directfb dvd dvdread eds encode fam flac foomaticdb 
fortran gcj gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile 
imagemagick imlib ipv6 jabber jack java jpeg junit kde lame ldap libwww lzw 
lzw-tiff mad maildir mikmod motif mozilla mp3 mpeg nas ncurses network nls 
nvidia objc ogg opengl oss pam pda pdflib perl pic png postgres python qt 
quicktime readline ruby samba sdl slang speex spell ssl tcltk tcpd tetex 
theora tiff truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml 
xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 
 
infiltrator dev-util # gcc -v 
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/specs 
Configured with: /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/configure 
--enable-version-specific-runtime-libs --prefix=/usr 
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4 
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include 
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4 
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man 
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info 
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3 
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec 
--enable-nls --without-included-gettext --with-system-zlib --disable-checking 
--disable-werror --disable-libunwind-exceptions --enable-multilib 
--enable-java-awt=gtk --enable-languages=c,c++,objc,java,f77 --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu 
Thread model: posix 
gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
Comment 1 Jim Laflin 2005-08-10 16:38:21 UTC
Doesn't work for me

I get this when starting spe

Starting Spe v0.7.3.a ...

If spe fails to start:
        - type "python SPE_.py --debug > debug.txt" at the command prompt
        - send debug.txt with some info to s_t_a_n_i@yahoo.com

(c)www.stani.be

Importing modules...
Traceback (most recent call last):
  File "/usr/bin/spe", line 4, in ?
    _spe.SPE.main()
  File "/usr/lib64/python2.3/site-packages/_spe/SPE.py", line 26, in main
    import Menu,Parent,Child
  File "/usr/lib64/python2.3/site-packages/_spe/Parent.py", line 26, in ?
    import Child
  File "/usr/lib64/python2.3/site-packages/_spe/Child.py", line 17, in ?
    import sm, sm.uml, sm.wxp
  File "/usr/lib64/python2.3/site-packages/sm/uml.py", line 3, in ?
    import wx, wx.lib.ogl as ogl
ImportError: No module named ogl



Will investigate when I have more time

Jim

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     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.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amarok amd64 avi berkdb bitmap-fonts browserplugin cdb cdr crypt
cups curl directfb dvd dvdr dvdread eds encode esd fam foomaticdb fortran gdbm
gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit
kde kdeenablefinal lzw lzw-tiff mad mikmod mozilla mp3 mpeg mplayer msn ncurses
nls nocd nvidia ogg oggvorbis opengl pam pdflib perl pic png python qt quicktime
readline real samba sdl spell ssl symlink tcltk tcpd theora tiff truetype
truetype-fonts type1-fonts usb userlocales v4l vcd vorbis xine xml2 xpm xv zlib
linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 2 Brian O'Reilly 2005-08-10 21:08:54 UTC
looks like you don't have wxpython installed. Also looks like your default 
python interp is 2.3.5. also, you aren't tracking ~amd64. Install wxpython (is 
it installable if you aren't tracking ~amd64?) and the import error should go 
away... 
 
guess spe package should be calling it in. perhaps there's a problem with 
wxpython in the stable track? at any rate, I asked that the ~amd64 (unstable) 
keyword be added, so it wouldn't affect your case. This keyword should still 
be added. 
Comment 3 Jim Laflin 2005-08-11 06:25:16 UTC
"Not affecting my case" isn't exactly true. What if somebody wants to install it
on its own on a stable system :)

Installed versions:
dev-python/wxpython-2.4.2.4 
dev-lang/python-2.3.5 

Please confirm what I should upgrade to to get this to work

Cheers
Jim
Comment 4 Mike Cvet 2005-08-11 06:45:24 UTC
I get the same error starting spe.

Installed versions:
dev-python/wxpython-2.4.2.4 
dev-lang/python-2.3.5 
dev-util/wxglade-0.3.5.1


Importing modules...
Traceback (most recent call last):
  File "/usr/bin/spe", line 4, in ?
    _spe.SPE.main()
  File "/usr/lib64/python2.3/site-packages/_spe/SPE.py", line 26, in main
    import Menu,Parent,Child
  File "/usr/lib64/python2.3/site-packages/_spe/Parent.py", line 26, in ?
    import Child
  File "/usr/lib64/python2.3/site-packages/_spe/Child.py", line 17, in ?
    import sm, sm.uml, sm.wxp
  File "/usr/lib64/python2.3/site-packages/sm/uml.py", line 3, in ?
    import wx, wx.lib.ogl as ogl
ImportError: No module named ogl



Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     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.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-O2 -march=k8 -pipe -ftracer -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups curl eds encode esd fam
firefox foomaticdb fortran gd gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6
jpeg junit libwww lzw lzw-tiff motif mp3 mpeg ncurses nls nptl ogg opengl pam
pdflib perl png python qt quicktime readline sdl spell ssl tcpd tetex tiff
truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Mike Cvet 2005-08-11 07:22:32 UTC
Spe will work properly with wxpython-2.6.1.0 installed.
Comment 6 Mike Cvet 2005-08-11 07:43:24 UTC
Created attachment 65666 [details, diff]
New ebuild with >=dev-python/wxpython-2.6.0.0-r1 in RDEPEND

Also works with wxpython-2.6.0.0-r1, fixed the ebuild RDEPEND.
Comment 7 Mike Cvet 2005-08-11 07:59:37 UTC
Keywording TESTED
Comment 8 Jim Laflin 2005-08-11 20:03:49 UTC
Not in portage.. reopening so somebody does it ...

Still marked TESTED

Jim
Comment 9 Jim Laflin 2005-08-12 09:41:38 UTC
Just to confirm I have tested the patch as well. Please add patch and mark ~amd64

Jim
Comment 10 Luis Medinas (RETIRED) gentoo-dev 2005-08-12 10:48:09 UTC
ok kloeri in cc because he is the maintainer.
Comment 11 Bryan Østergaard (RETIRED) gentoo-dev 2005-08-12 12:00:12 UTC
I expect to bump SPE to latest version during the weekend and I'll make sure to
test it on amd64 as part of that.
Comment 12 Mike Cvet 2005-09-01 22:12:43 UTC
What's happening with this?
Comment 13 Jim Laflin 2005-09-14 12:45:31 UTC
Fixed typo in bug summary, also serving as another "What's going on with this
one?" bump :)

Jimbo
Comment 14 Bryan Østergaard (RETIRED) gentoo-dev 2005-09-29 13:51:10 UTC
Latest version is in cvs (0.7.5.c) but I'm not currently able to test on amd64.
If the amd64 devs doesn't get around to it before monday I should be able to add
the ~amd64 keyword by then.
Comment 15 Jim Laflin 2005-09-29 15:52:45 UTC
0.7.5.c works fine here, please mark ~amd64 :-)
Comment 16 Homer Parker (RETIRED) gentoo-dev 2005-09-29 16:36:39 UTC
Fixed in cvs, thanks for all of the work and testing!