[Bug 1212008] Re: Perl fix needed

Robie Basak 1212008 at bugs.launchpad.net
Fri Aug 16 09:53:12 UTC 2013


OK, thanks. I guess we'll need to leave this for 13.04 unless someone
else is affected by this bug and is willing to volunteer to see it
through being fixed in the archive. In the meantime, I guess the fix is
trivial enough that others will be able to find this bug and modify
their affected systems manually, so I appreciate you documenting this
issue in this bug.

** Description changed:

+ [Status]
+ 
+ Believed to affect 13.04 only. Fixed in the development version and thus
+ in subsequent releases, as fixed in upstream 7.1.1.
+ 
+ 13.04 status: can be fixed with SRU as a trivial patch is available, but
+ this bug currently lacks a volunteer to take the fix through the SRU
+ procedure. If you'd like to do this, please go through the steps
+ documented at https://wiki.ubuntu.com/StableReleaseUpdates#Procedure and
+ do ask in the bug if you need any help.
+ 
+ [Original Description]
+ 
  The currently shipping awstats is incompatible with perl 5.14.  A fix
  was applied (correctly) in awstats 7.1.1.
  
  http://www.howtoforge.com/forums/showthread.php?p=297288#post297288
  
  http://sourceforge.net/p/awstats/discussion/43430/thread/474fdb3e/
  
  I manually applied the change (adding a caret in the expression) and now
  am getting all the expected data rather than having the majority
  missing.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: awstats 7.1~dfsg-1 [modified: usr/share/awstats/tools/update.sh]
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Tue Aug 13 15:20:25 2013
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: awstats
  UpgradeStatus: Upgraded to raring on 2013-05-19 (86 days ago)

** Description changed:

  [Status]
  
  Believed to affect 13.04 only. Fixed in the development version and thus
  in subsequent releases, as fixed in upstream 7.1.1.
  
  13.04 status: can be fixed with SRU as a trivial patch is available, but
  this bug currently lacks a volunteer to take the fix through the SRU
  procedure. If you'd like to do this, please go through the steps
  documented at https://wiki.ubuntu.com/StableReleaseUpdates#Procedure and
  do ask in the bug if you need any help.
+ 
+ [Workaround for 13.04]
+ Edit /usr/lib/cgi-bin/awstats.pl and add a ^ caret as follows:
+ 
+ --- orig.pl 2013-03-08 11:48:39.000000000 -0500
+ +++ awstats.pl 2013-03-08 11:49:49.541337000 -0500
+ @@ -7817,7 +7817,7 @@
+ # Return: standardregex
+ #------------------------------------------------------------------------------
+ sub UnCompileRegex {
+ - shift =~ /(\?[-\w]:(.))/;
+ + shift =~ /(\?[-^\w]:(.))/;
+ return $1;
+ }
  
  [Original Description]
  
  The currently shipping awstats is incompatible with perl 5.14.  A fix
  was applied (correctly) in awstats 7.1.1.
  
  http://www.howtoforge.com/forums/showthread.php?p=297288#post297288
  
  http://sourceforge.net/p/awstats/discussion/43430/thread/474fdb3e/
  
  I manually applied the change (adding a caret in the expression) and now
  am getting all the expected data rather than having the majority
  missing.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: awstats 7.1~dfsg-1 [modified: usr/share/awstats/tools/update.sh]
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Tue Aug 13 15:20:25 2013
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: awstats
  UpgradeStatus: Upgraded to raring on 2013-05-19 (86 days ago)

** Description changed:

  [Status]
  
  Believed to affect 13.04 only. Fixed in the development version and thus
  in subsequent releases, as fixed in upstream 7.1.1.
  
  13.04 status: can be fixed with SRU as a trivial patch is available, but
  this bug currently lacks a volunteer to take the fix through the SRU
  procedure. If you'd like to do this, please go through the steps
  documented at https://wiki.ubuntu.com/StableReleaseUpdates#Procedure and
  do ask in the bug if you need any help.
  
  [Workaround for 13.04]
- Edit /usr/lib/cgi-bin/awstats.pl and add a ^ caret as follows:
+ Edit /usr/lib/cgi-bin/awstats.pl and add a ^ (caret character) as follows:
  
  --- orig.pl 2013-03-08 11:48:39.000000000 -0500
  +++ awstats.pl 2013-03-08 11:49:49.541337000 -0500
  @@ -7817,7 +7817,7 @@
  # Return: standardregex
  #------------------------------------------------------------------------------
  sub UnCompileRegex {
  - shift =~ /(\?[-\w]:(.))/;
  + shift =~ /(\?[-^\w]:(.))/;
  return $1;
  }
  
  [Original Description]
  
  The currently shipping awstats is incompatible with perl 5.14.  A fix
  was applied (correctly) in awstats 7.1.1.
  
  http://www.howtoforge.com/forums/showthread.php?p=297288#post297288
  
  http://sourceforge.net/p/awstats/discussion/43430/thread/474fdb3e/
  
  I manually applied the change (adding a caret in the expression) and now
  am getting all the expected data rather than having the majority
  missing.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: awstats 7.1~dfsg-1 [modified: usr/share/awstats/tools/update.sh]
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Tue Aug 13 15:20:25 2013
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: awstats
  UpgradeStatus: Upgraded to raring on 2013-05-19 (86 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to awstats in Ubuntu.
https://bugs.launchpad.net/bugs/1212008

Title:
  Perl fix needed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/1212008/+subscriptions



More information about the Ubuntu-server-bugs mailing list