Bug#1005964: spamassassin: sa-update fails due to Perl experimental feature in regex

2022-02-18 Thread Noah Meyerhans
Control: tags -1 + pending

On Fri, Feb 18, 2022 at 10:16:23AM +0100, Vincent Lefevre wrote:
> I got the following mail due to sa-update error via /etc/cron.daily:
> 
> 
> /etc/cron.daily/spamassassin:
> config: invalid regexp for __URI_TRY_3LD 
> 'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?  Variable length lookbehind is experimental in regex; marked by <-- HERE in 
> m/(?i)^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?  <-- HERE /
> 
> channel 'updates.spamassassin.org': lint check of update failed, channel 
> failed
> sa-update failed for unknown reasons
> 
> 
> Is the version of Perl too old in Debian 11 (bullseye)?

This was a bug in the spamassassin rules distributed via the sa-update
channels.  Upstream has resolved the associated bug, but it'd be nice to
get confirmation from people who have been impacted.

noah



Bug#1005964: spamassassin: sa-update fails due to Perl experimental feature in regex

2022-02-18 Thread Vincent Lefevre
Package: spamassassin
Version: 3.4.6-1
Severity: important

I got the following mail due to sa-update error via /etc/cron.daily:


/etc/cron.daily/spamassassin:
config: invalid regexp for __URI_TRY_3LD 
'm,^https?://(?:try(?!r\.codeschool)|start|get(?!\.adobe)|save|check(?!out)|act|compare|join|learn(?!ing)|request|visit(?!or|\.vermont)|my(?!sub|turbotax|news\.apple|a\.godaddy|account|support|build|blob)\w)[^.]*\.[^/]+\.(?
pn  libdbi-perl   
pn  libencode-detect-perl 
pn  libgeoip2-perl
ii  libio-socket-ssl-perl 2.069-1
pn  libnet-patricia-perl  
ii  perl [libcompress-zlib-perl]  5.32.1-4+deb11u2
pn  pyzor 
pn  razor 

-- Configuration Files:
/etc/default/spamassassin changed [not included]
/etc/spamassassin/local.cf changed [not included]
/etc/spamassassin/v310.pre changed [not included]

-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)