Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79877 - [TRACKER] python-2.4 package.mask
Summary: [TRACKER] python-2.4 package.mask
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: Tracker
: 80765 (view as bug list)
Depends on: 79635 83109 85721 86950 90545
Blocks: 91876
  Show dependency tree
 
Reported: 2005-01-28 10:55 UTC by Rob Cakebread (RETIRED)
Modified: 2017-01-19 18:46 UTC (History)
9 users (show)

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 Rob Cakebread (RETIRED) gentoo-dev 2005-01-28 10:55:12 UTC
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
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2005-02-04 12:24:15 UTC
*** Bug 80765 has been marked as a duplicate of this bug. ***
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2005-02-09 00:27:22 UTC
getmail fixed in unstable
Comment 3 Albert Hopkins (RETIRED) gentoo-dev 2005-02-10 06:07:24 UTC
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?
Comment 4 Rob Cakebread (RETIRED) gentoo-dev 2005-02-10 08:49:18 UTC
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']}
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-17 01:19:00 UTC
any status?
Comment 6 Charles Moad 2005-03-24 14:51:17 UTC
biopython would not successfully emerge when I upgraded.  I can get a specific error if anyone is interested.
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2005-03-24 15:13:36 UTC
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.
Comment 8 Heiko Wundram 2005-03-25 15:06:00 UTC
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.
Comment 9 Rob Cakebread (RETIRED) gentoo-dev 2005-03-27 22:35:10 UTC
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.
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 16:15:30 UTC
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
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 16:16:23 UTC
btw. python-2.4.1 is out ;)
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-01 08:55:19 UTC
all deps are fixed now, seems that we can unmask finally 
Comment 13 Bryan Østergaard (RETIRED) gentoo-dev 2005-06-01 10:39:44 UTC
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 :)
Comment 14 Bryan Østergaard (RETIRED) gentoo-dev 2005-07-05 09:09:41 UTC
Closing as 2.4 has been unmasked for a while now.
Comment 15 Toon Verstraelen 2005-08-05 07:58:47 UTC
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.
Comment 16 Toon Verstraelen 2005-08-08 04:49:26 UTC
Ignore my previous comment pleasse. Some manual changes to the permissions on my
system caused the problem.