Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266084 - net-mail/mailman-2.1.11 fails w/ python-2.6 ( 2.1.12 works )
Summary: net-mail/mailman-2.1.11 fails w/ python-2.6 ( 2.1.12 works )
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL: https://sourceforge.net/project/shown...
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2009-04-14 08:14 UTC by Tobias Klausmann (RETIRED)
Modified: 2009-08-15 22:37 UTC (History)
8 users (show)

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


Attachments
trace 2.1.12 for moderated maillist (error.txt,1.15 KB, text/plain)
2009-08-11 19:33 UTC, Benny Pedersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2009-04-14 08:14:27 UTC
Mailman is broken rather completely with Python 2.6 which went into ~ a few days ago. WebUI doesn't work, commandline-tools throw rather interesting tracebacks. ML forwarding *seems* to work, but I can't be sure.
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-20 19:20:06 UTC
See url for Release notes for 2.1.12
Comment 2 Craig Hughes 2009-05-03 18:16:56 UTC
I tried making an ebuild for 2.1.12, and after tweaking the directory-check patch so it'll apply to the new code, I'm running into some access violation issues while it's building the "misc" directory:


--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-18682.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: unlinkat
S: deny
P: /usr/lib64/mailman/pythonlib/email
A: /usr/lib64/mailman/pythonlib/email
R: /usr/lib64/mailman/pythonlib/email
C: rm -rf /usr/lib64/mailman/pythonlib/email /usr/lib64/mailman/pythonlib/email-2.5.8-py2.6.egg-info

......


A whole bunch of those, where for some reason inside the sandbox it's trying to break out and delete the existing mailman install.  Any thoughts?
Comment 3 Alexander Sulfrian 2009-08-08 15:57:49 UTC
Is it possible to update the deps of the current mailman ebuild to require python2.5 so that depclean does not remove it?
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2009-08-09 10:10:24 UTC
FWIW, the in-tree 2.1.12 has been working fine with 2.6 for a while on my productive system.
Comment 5 Federico Cuello 2009-08-09 18:42:10 UTC
I think it should be fixed with something like this, as the reqs for mailman are python version between 2.4 and 2.6.

Version 2.3 is no longer in the tree, and we could drop the ">=dev-lang/python-2.3" dep as it will always be satisfied.


--- mailman-2.1.11.ebuild.orig  2009-08-09 15:36:34.853047790 -0300
+++ mailman-2.1.11.ebuild       2009-08-09 15:37:13.739705630 -0300
@@ -13,7 +13,8 @@
 KEYWORDS="amd64 ppc sparc x86"
 IUSE=""

-DEPEND=">=dev-lang/python-2.3
+DEPEND=">=dev-lang/python:2.4
+       <=dev-lang/python:2.6
        virtual/mta
        virtual/cron
        virtual/httpd-cgi"


Comment 6 Benny Pedersen 2009-08-11 19:27:47 UTC
2.1.12 works for un moderated maillist here with python 2.6
Comment 7 Benny Pedersen 2009-08-11 19:33:20 UTC
Created attachment 200961 [details]
trace 2.1.12 for moderated maillist
Comment 8 Walter Gull 2009-08-15 18:07:06 UTC
See discussion here:
Problem:
http://www.mail-archive.com/mailman-users@python.org/msg51841.html
suggestions to resolve:
http://www.mail-archive.com/mailman-users@python.org/msg51844.html
Comment 9 Hanno Böck gentoo-dev 2009-08-15 18:24:34 UTC
2.1.12 is now stable, so we're done.
Comment 10 Federico Cuello 2009-08-15 22:37:31 UTC
This bug is not fixed. It should be really fixed or resolved as WONTFIX or something.