Micah Anderson a écrit :
Package: sympa
Version: 5.3.4-5.2
Severity: grave
Justification: renders package unusable
After installation of sympa, it tries to start the daemons, and the
following errors are printed out for each of the daemons:
Setting up sympa (5.3.4-5.2) ...
Starting Sympa mailing list manager: sympaPrototype mismatch: sub Lock::LOCK_SH
() vs none at /usr/lib/sympa/bin/Lock.pm line 38.
Constant subroutine LOCK_SH redefined at /usr/lib/sympa/bin/Lock.pm line 38.
Prototype mismatch: sub Lock::LOCK_EX () vs none at /usr/lib/sympa/bin/Lock.pm
line 39.
Constant subroutine LOCK_EX redefined at /usr/lib/sympa/bin/Lock.pm line 39.
Prototype mismatch: sub Lock::LOCK_NB () vs none at /usr/lib/sympa/bin/Lock.pm
line 40.
Constant subroutine LOCK_NB redefined at /usr/lib/sympa/bin/Lock.pm line 40.
$* is no longer supported at /usr/lib/sympa/bin/sympa.pl line 162.
I made these go away by commenting out:
#sub LOCK_SH {1};
#sub LOCK_EX {2};
#sub LOCK_NB {4};
in Lock.pm on line 38, I dont know if this causes any problems
The first problem (Constant subroutine LOCK_XX redefined) has already
been fixed *4 months ago* in the development trunk as well as in the 5.4
stable branch, see
<http://sourcesup.cru.fr/cgi/viewvc.cgi/branches/sympa-5.4-branch/src/Lock.pm?r1=4922&r2=5048>
The other error:
$* is no longer supported at /usr/lib/sympa/bin/parser.pl line 63.
Is not something I know how to fix, however I believe that this was
deprecated by perl 5.10 as perldoc perlvar says:
$* Set to a non-zero integer value to do multi-line matching
within a string, 0 (or undefined) to tell Perl that it can assume that
strings
contain a single line, for the purpose of optimizing pattern
matches. Pattern matches on strings con taining multiple newlines can
produce confusing results when $* is 0 or undefined. Default is
undefined. (Mnemonic: * matches multiple things.) This variable
influences the interpretation of only "^" and "$". A literal newline can
be searched for even when "$* == 0".
Use of $* is deprecated in modern Perl, supplanted by the "/s" and "/m"
modifiers on pattern matching.
Assigning a non-numerical value to $* triggers a warning (and makes
$* act if "$* == 0"), while assigning a numerical value to $* makes
that an implicit "int" is applied on the value.
Which makes me think that maybe this should be changed to use the /m
modifier, but I dont know what this particular function in sympa does.
You're right, we had already fixed similar code earlier but obviously
forgot this one. We'll fix the problem ASAP in both trunk and 5.4 branch.
If you don't mind, could you add an entry in Sympa's own tracking system
: <https://sourcesup.cru.fr/tracker/?group_id=23>
Thanks.
Due to the fact that the four daemons all produce these errors when
sympa is started, and the effects of running code with unsupported
perlisms and unresolved prototype mismatches makes me think that this
version of sympa should not be released with Debian.
Micah
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sympa depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.23 Debian configuration management sy
ii dsyslog [system-log-daemon] 0.4.0 advanced modular syslog daemon
pn libarchive-zip-perl <none> (no description available)
ii libc6 2.7-13 GNU C Library: Shared libraries
pn libcgi-fast-perl <none> (no description available)
pn libcrypt-ciphersaber-perl <none> (no description available)
ii libdbd-mysql-perl 4.008-1 A Perl5 database interface to the
ii libdbi-perl 1.607-1 Perl5 database interface by Tim Bu
ii libfcgi-perl 0.67-2.1+b1 FastCGI Perl module
pn libintl-perl <none> (no description available)
ii libio-stringy-perl 2.110-4 Perl modules for IO from scalars a
ii libmailtools-perl 2.04-1 Manipulate email in perl programs
pn libmd5-perl <none> (no description available)
ii libmime-perl 5.427-1 transitional dummy package
ii libmime-tools-perl [libmime- 5.427-1 Perl5 modules for MIME-compliant m
pn libmsgcat-perl <none> (no description available)
pn libnet-ldap-perl <none> (no description available)
pn libtemplate-perl <none> (no description available)
ii libxml-libxml-perl 1.66-1+b1 Perl module for using the GNOME li
pn mhonarc <none> (no description available)
ii perl [libmime-base64-perl] 5.10.0-15 Larry Wall's Practical Extraction
pn perl-suid <none> (no description available)
ii postfix [mail-transport-agen 2.5.5-1.1 High-performance mail transport ag
Versions of packages sympa recommends:
ii doc-base 0.8.16 utilities to manage online documen
ii logrotate 3.7.1-4 Log rotation utility
Versions of packages sympa suggests:
ii apache2-mpm-prefork [httpd] 2.2.9-10 Apache HTTP Server - traditional n
pn libapache-mod-fastcgi <none> (no description available)
ii mysql-server 5.0.51a-15 MySQL database server (metapackage
ii mysql-server-5.0 [mysql-serve 5.0.51a-15 MySQL database server binaries
ii openssl 0.9.8g-13 Secure Socket Layer (SSL) binary a
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]