Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352575 - dev-lang/python-2.6.6-r1 MemoryError on 'import ctypes'
Summary: dev-lang/python-2.6.6-r1 MemoryError on 'import ctypes'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 09:15 UTC by Nikoli
Modified: 2011-06-27 11:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2011-01-24 09:15:37 UTC
gajim and gramps work fine with python-2.6.5-r3, but are broken with 2.6.6-r1:

$ python -c "import ctypes"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.6/ctypes/__init__.py", line 546, in <module>
    CFUNCTYPE(c_int)(lambda: None)
MemoryError

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3,
2.6.36-gentoo-r5 x86_64)
=================================================================
Timestamp of tree: Sun, 23 Jan 2011 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa
/usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages
news parallel-fetch protect-owned sandbox sfperms strict test
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="7zip X a52 aac acl acpi akonadi alsa amd64 amr ares atm audiofile
bash-completion bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr celt cli
consolekit cracklib crypt css cups cxx dbus djvu dri dts dv dvd dvdr emboss
encode exif ffmpeg firefox flac fluidsynth fontconfig fortran gd gdu geoip gif
gimp glitz gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk hal handbook iconv
id3tag idn ieee1394 ilbc imagemagick imap imlib iphone ipod ipv6 jbig jpeg
jpeg2k kde kipi kontact ladspa lame laptop lcms libproxy libsamplerate libwww
lm_sensors lzma lzo mad matroska mikmod mmx mmxext mng modplug modules mp3 mp4
mpeg mtp mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs
nvidia obex ogg openal openexr opengl openmp pam pango pcre pdf perl
pg-intdatetime phonon plasma pm-utils png policykit ppds pppd qt3support qt4
quicktime rar raw readline reiserfs rtmp sasl scanner schroedinger
semantic-desktop session smp sndfile socks5 speex spell sqlite sse sse2 sse3
ssl ssse3 startup-notification svg symlink sysfs taglib theora threads
thumbnail tiff truetype tta udev unicode upnp usb v4l v4l2 vaapi vcd vdpau
vorbis vpx wavpack webkit wifi wma wmf wps x264 xcb xcomposite xface xml xmp
xorg xpm xscreensaver xulrunner xv xvid zip 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 authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool
swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore
fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt
ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633
glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en"
NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite"
PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386
x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv nvidia
vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account"


P.S. Not sure if this bug is duplicate of bug 342893 or bug 324555
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-27 10:24:45 UTC
Can you try with something more recent, like 2.7.2?
Comment 2 Nikoli 2011-06-27 10:43:32 UTC
python -c "import ctypes" , gajim and gramps works fine with dev-lang/python-2.7.1-r1
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-27 11:01:10 UTC
Then I'll just close this as fixed, thanks for reporting back!