Date: Tue, 20 Jan 2004 20:29:42 +0100 From: Mathieu Arnold <mat@mat.cc> To: Paul Mather <paul@gromit.dlib.vt.edu>, Scott McWhirter <scott-freebsd-perl@kungfuftr.com>, perl@freebsd.org Subject: Re: p5-Mail-SpamAssassin-2.62 fails with 4.9-STABLE base Perl. Message-ID: <91246843.1074630582@pouet.in.mat.cc> In-Reply-To: <20040120181037.GA38293@gromit.dlib.vt.edu> <20040120185925.GA53852@jadis.narnia.org.uk> References: <20040120181037.GA38293@gromit.dlib.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
It was fixed earlier today. +-Le 20/01/2004 13:10 -0500, Paul Mather écrivait : | I just portupgraded my installed (working) mail/p5-Mail-SpamAssassin | port today to the latest version (2.61->2.62) and it appears to have | broken in the process. Does SpamAssassin no longer work with the base | Perl that is part of 4.9-STABLE? | | Here is what I get when I try to run spamassassin: | | gromit# spamassassin --version | Can't use subscript on split at | /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin.pm line 100, near | "1]" gromit# | | The same happens with other spamassassin utilities: | | gromit# sa-learn --version | Can't use subscript on split at | /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin.pm line 100, near | "1]" BEGIN failed--compilation aborted at | /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/CmdLearn.pm line 6. | gromit# | | I don't know much about Perl, but the error message suggests an | unsupported language feature is being used, leading me to believe that | 5.005 is just too old to hack it for SpamAssassin any more. | | My installed Perl is as follows: | |>>>>> | gromit# perl -v | | This is perl, version 5.005_03 built for i386-freebsd | | Copyright 1987-1999, Larry Wall | | Perl may be copied only under the terms of either the Artistic License or | the GNU General Public License, which may be found in the Perl 5.0 source | kit. | | Complete documentation for Perl, including FAQ lists, should be found on | this system using `man perl' or `perldoc perl'. If you have access to the | Internet, point your browser at http://www.perl.com/, the Perl Home Page. | | gromit# perl -V | Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: | Platform: | osname=freebsd, osvers=4.0-current, archname=i386-freebsd | uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current | #0: $Date$' hint=recommended, useposix=true, d_sigaction=define | usethreads=undef useperlio=undef d_sfio=undef | Compiler: | cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release) | cppflags='' | ccflags ='' | stdchar='char', d_stdstdio=undef, usevfork=true | intsize=4, longsize=4, ptrsize=4, doublesize=8 | d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 | alignbytes=4, usemymalloc=n, prototype=define | Linker and Libraries: | ld='cc', ldflags ='-Wl,-E -lperl -lm ' | libpth=/usr/lib | libs=-lm -lc -lcrypt | libc=, so=so, useshrplib=true, libperl=libperl.so.3 | Dynamic Linking: | dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' | -Wl,-R/usr/lib' cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared | -lperl -lm ' | | | Characteristics of this binary (from libperl): | Built under freebsd | Compiled at Dec 1 2003 09:44:15 | @INC: | /usr/local/lib/perl5/site_perl/5.005/i386-freebsd | /usr/local/lib/perl5/site_perl/5.005 | . | /usr/libdata/perl/5.00503/mach | /usr/libdata/perl/5.00503 | gromit# | <<<<< | | I did a forced portupgrade of SpamAssassin and all of its components | (portupgrade -fRr mail/p5-Mail-SpamAssassin), but that didn't cure the | problem. | | Is the only solution to the problem to downgrade SpamAssassin or to | upgrade to a ports version of Perl. If the latter, is there a FAQ for | doing so and ensuring all the installed Perl ports get updated, too? | | Cheers, | | Paul. | | e-mail: paul@gromit.dlib.vt.edu | | "Without music to decorate it, time is just a bunch of boring production | deadlines or dates by which bills must be paid." | --- Frank Vincent Zappa | _______________________________________________ | freebsd-perl@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-perl | To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org" +-Le 20/01/2004 18:59 +0000, Scott McWhirter écrivait : | On Tue, Jan 20, 2004 at 01:10:37PM -0500, Paul Mather wrote: |> I just portupgraded my installed (working) mail/p5-Mail-SpamAssassin |> port today to the latest version (2.61->2.62) and it appears to have |> broken in the process. Does SpamAssassin no longer work with the base |> Perl that is part of 4.9-STABLE? |> |> Here is what I get when I try to run spamassassin: |> |> gromit# spamassassin --version |> Can't use subscript on split at |> /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin.pm line 100, near |> "1]" gromit# | | I think it's a bug in spamassassin actually... | try this in line 100: | - push(@EXTRA_VERSION, ( 'r' . qw{$LastChangedRevision: 6141 $ updated | by SVN}[1] )); + push(@EXTRA_VERSION, ( 'r' . (qw{$LastChangedRevision: | 6141 $ updated by SVN})[1] )); | | I would try to test, but don't have access to that particular version of | perl. -- Mathieu Arnold
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91246843.1074630582>
