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 =E9crivait : | 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? |=20 | Here is what I get when I try to run spamassassin: |=20 | 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#=20 |=20 | The same happens with other spamassassin utilities: |=20 | 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#=20 |=20 | 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. |=20 | My installed Perl is as follows: |=20 |>>>>>=20 | gromit# perl -v |=20 | This is perl, version 5.005_03 built for i386-freebsd |=20 | Copyright 1987-1999, Larry Wall |=20 | 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. |=20 | 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. |=20 | gromit# perl -V | Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: | Platform: | osname=3Dfreebsd, osvers=3D4.0-current, archname=3Di386-freebsd | uname=3D'FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current | #0: $Date$' hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine | usethreads=3Dundef useperlio=3Dundef d_sfio=3Dundef | Compiler: | cc=3D'cc', optimize=3D'undef', gccversion=3D2.95.2 19991024 (release) | cppflags=3D'' | ccflags =3D'' | stdchar=3D'char', d_stdstdio=3Dundef, usevfork=3Dtrue | intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8 | d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, = longdblsize=3D12 | alignbytes=3D4, usemymalloc=3Dn, prototype=3Ddefine | Linker and Libraries: | ld=3D'cc', ldflags =3D'-Wl,-E -lperl -lm ' | libpth=3D/usr/lib | libs=3D-lm -lc -lcrypt | libc=3D, so=3Dso, useshrplib=3Dtrue, libperl=3Dlibperl.so.3 | Dynamic Linking: | dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' | -Wl,-R/usr/lib' cccdlflags=3D'-DPIC -fpic', lddlflags=3D'-Wl,-E = -shared | -lperl -lm ' |=20 |=20 | Characteristics of this binary (from libperl):=20 | 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#=20 | <<<<< |=20 | 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. |=20 | 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? |=20 | Cheers, |=20 | Paul. |=20 | e-mail: paul@gromit.dlib.vt.edu |=20 | "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 =E9crivait : | 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? |>=20 |> Here is what I get when I try to run spamassassin: |>=20 |> 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#=20 |=20 | 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] )); |=20 | I would try to test, but don't have access to that particular version of | perl. --=20 Mathieu Arnold
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91246843.1074630582>