Red Hat Bugzilla – Bug 117835
mailman 2.1.4 update compiled against Python 2.3?
Last modified: 2007-11-30 17:10:38 EST
Description of problem:
Since upgrading to the 2.1.4-1 package released as an FC1 update, I
get the following email from Cron each day:
From: firstname.lastname@example.org (Cron Daemon)
Subject: Cron <mailman@quoll> /usr/bin/python -S
Python C API version mismatch for module _japanese_codecs: This Python
has API version 1011, module _japanese_codecs has version 1012.
import codecs, japanese.c._japanese_codecs
Judging by the Python headers, API version 1011 corresponds to Python
2.2.x, and 1012 to 2.3.x.
Additionally, running "rpm --verify mailman" shows that all the byte
compiled .pyc have changed, which I assume is because the .pyc files
distributed with the package were 2.3 byte code.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Install mailman-2.1.4-1 update
Warning raised when japanese codec imported
All bytecode overwritten on first run.
Package should have been compiled against Python 2.2
Other than the warnings, Mailman appears to be functioning correctly.
It would be nice to get rid of the warnings though.
After a bit of investigation I'm sorry to say I can't explain the
version mismatch. It appears as though somehow when the
mailman-2.1.4-1 package was built in our build system it picked up a
2.3 python when it should have been a 2.2. Mysterious to me. The
lastest FC1 update for mailman is mailman-2.1.5-6 which I just checked
and the module appears to be correctly built against 2.2.
I don't think this is causing you any trouble and the latest update
seems fine so I'm going to close this with the recommendation that if
you want to get rid of the warning upgrading to the latest mailman
package should work.