This bug is for tracking any packages that need fixing to work with python-2.4 or need to depend on <dev-lang/python-2.4 etc before we can remove 2.4 from package.mask
*** Bug 80765 has been marked as a duplicate of this bug. ***
getmail fixed in unstable
pyvorbis seems to be screwed with 2.4 Probably an upstream problem as it worked fine with 2.3. Specifically: [~]$ python Python 2.4 (#2, Feb 7 2005, 21:55:58) [GCC 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7 on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from ogg import vorbis >>> myoggfile = "Music/A Perfect Circle/Mer de Noms/A Perfect Circle - Magdalena.ogg" >>> mydata = vorbis.VorbisFile(myoggfile).comment().as_dict() *** glibc detected *** double free or corruption (!prev): 0x080a3ee8 *** Aborted Ouch.. however: [~]$ python Python 2.4 (#2, Feb 7 2005, 21:55:58) [GCC 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7 on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> myoggfile = "Music/A Perfect Circle/Mer de Noms/A Perfect Circle - Magdalena.ogg" >>> from ogg import vorbis >>> vfile = vorbis.VorbisFile(myoggfile) >>> comment = vfile.comment() >>> mydict = comment.as_dict() >>> mydict {'ALBUM': [u'Mer de Noms'], 'COMMENT': [u'Ripped with Sound Juicer'], 'VENDOR': ['Xiph.Org libVorbis I 20030909'], 'ARTIST': [u'A Perfect Circle'], 'TITLE': [u'Magdalena'], 'TRACKTOTAL': [u'12'], 'TRACKNUMBER': [u'2']} works... weird.. eh?
Version 1.3 works with python 2.4 for me. The homepage says its now unmaintained and there are known problems with 1.4, so maybe 1.4 should be package masked until he finds a new maintainer. In [1]: from ogg import vorbis In [2]: myoggfile = "Exploding_Hearts-Sniffin_Glue.ogg" In [3]: print vorbis.VorbisFile(myoggfile).comment().as_dict() {'VENDOR': ['Xiph.Org libVorbis I 20040629']}
any status?
biopython would not successfully emerge when I upgraded. I can get a specific error if anyone is interested.
Charles if you confirm it works with 2.3 but not 2.4 please open a separate bug for biopython with specific error info and then change that bug so it blocks this bug# please.
Python 2.4 has problems with my setup. I guess it is related to having the machine in question run on hardened. The errors I get are the following: root@baldurs-gate bin # python2.4 Python 2.4 (#1, Mar 2 2005, 09:30:31) [GCC 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import cPickle Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined symbol: PyUnicodeUCS4_AsUTF8String I've not seen this error mentioned anywhere on bugs.gentoo.org, and the symbol which cPickle complains about is present in /usr/lib/libpython2.4.so.1.0 and also used by other lib-dynload libraries, and they work. I'll try and investigate what the problem actually is; rebooting the machine, ldconfig and env-update haven't helped, and I've checked that python2.4's sys.path is correctly referring to /usr/lib/python2.4/lib-dynload/cPickle.so. emerge info: Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-mm4 i686) ================================================================= System uname: 2.6.11-mm4 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.4-r3,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 21 2005, 06:42:58)] dev-lang/python: 2.4-r3, 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" LANG="de_DE@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X acl apache2 apm arts avi berkdb bitmap-fonts crypt cups curl dhcp doc emboss encode esd fam flash font-server foomaticdb fortran gd gdbm gif gmp gpm gtk gtk2 hardened imap imlib innodb ipv6 java jpeg ldap libg++ libwww mad maildir mcal mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls nptl oggvorbis oss pam pdflib perl php pic pie png python quicktime readline sasl sdl socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml2 xmms zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Python is unmaked using the following settings: root@baldurs-gate bin # cat /etc/portage/package.unmask # Unmask Python 2.4 >=dev-lang/python-2.4 >=dev-python/python-docs-2.4 root@baldurs-gate bin # cat /etc/portage/package.keywords # Make sure Python comes from ~x86, so that we get 2.4. dev-lang/python ~x86 dev-python/python-docs ~x86 emerge bombs out when the symlink at /usr/bin/python points to 2.4, so the above results of emerge info are seen after I've relinked python2.3 to python.
Heiko, please open a separate bug and have it block this one. Please add any other info you have found that might help. Did you do a manual install of Python at one time? Did you emerge python with USE='ucs2'? And for anyone else who finds new bugs, please open a separate bug and make it block this one.
69322: is only an ehancement, no bug report 90270: CFLAGS problem i think python-2.4 is ready to unmask, running it since it hit portage
btw. python-2.4.1 is out ;)
all deps are fixed now, seems that we can unmask finally
I'll unmask 2.4.x as soon as I get an unmask notice in GWN. I've been trying to do that for almost a month now but due to plate being sick and other unfortunate events this haven't happened yet. I'm doing everything I can to get the notice in next weeks GWN so I can finally unmask python 2.4 without giving the (gentoo) world a collective hard attack :)
Closing as 2.4 has been unmasked for a while now.
matplotlib and lcms don't compile against python 2.4.1-r1. For lcms I get this error: i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"lcms\" -DPACKAGE_TARNAME=\"lcms\" -DPACKAGE_VERSION=\"1.13\" "-DPACKAGE_STRING=\"lcms 1.13\"" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 -DHAVE_TIFFCONF_H=1 -I. -I. -I/usr/include/python2.4 -I/usr/include/python2.4 -I/usr/local/include/python2.4 -I../include -I../include -march=pentium4 -O3 -pipe -fomit-frame-pointer -c lcms_wrap.cxx -fPIC -DPIC -o .libs/_lcms_la-lcms_wrap.o cc1plus: /usr/local/include/python2.4: Permission denied Even when I creat this directory, the problem persists. For matplotlib, there is a similar problem with /usr/local/include/freetype2.
Ignore my previous comment pleasse. Some manual changes to the permissions on my system caused the problem.