[Bug 1212008] Re: Perl fix needed

2013-08-16 Thread Robie Basak
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.0 -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.0 -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 

[Bug 1212008] Re: Perl fix needed

2013-08-15 Thread Roger Binns
I have no idea on the other Ubuntu versions as I only use 13.04.  I did
use awstats on the past, but had been using Google Analytics for over a
year.  In the comments linked from the report there is another user
reporting only coming across the problem on upgrade to 13.04.

I didn't provide a patch.  It is the diff between awstats 7.1 and 7.1.1
showing what the changes were in addition to fixing this specific issue.
ie it is information to help decide between adding a single caret or
just updating to 7.1.1.

It doesn't matter to me what you do.  My setup is working because I
edited awstats.pl and added the caret.

I don't have a test reproduction for you because the issue is regarded
as a bug and experienced by others.  That is why there are links in the
description and the awstats team made a 7.1.1 release.

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1212008] Re: Perl fix needed

2013-08-14 Thread Robie Basak
Thank you for reporting this bug and helping to make Ubuntu better.

Saucy (the development version) is now on 7.1.1~dfsg-1 so I presume the
problem is fixed.

If you need a fix for an existing stable release, please see the steps
in https://wiki.ubuntu.com/StableReleaseUpdates#Procedure. Am I right in
understanding that this bug makes awstats largely unusable in 13.04?

** Changed in: awstats (Ubuntu)
   Status: New = Fix Released

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1212008] Re: Perl fix needed

2013-08-14 Thread Roger Binns
What happens is that awstats ignores over 99% of your log entries.  Note
that this is done silently - ie there are no log messages or error
codes.  It is only after human inspection that you notice it doesn't
look right.  Even after you get it working again it skips old entries
and I don't know how to make it reconsider the ones from the period of
ignoring.

So it makes awstats dangerous and the output useless.  In my case it
also deleted the logs because I have PurgeLogFile=1

You should either fix this or remove the package - it is that bad.

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1212008] Re: Perl fix needed

2013-08-14 Thread Roger Binns
The only thing needed to fix the bug is the caret in the regular
expression.

I've attached the diff between 7.1. and 7.1.1 which includes that
change, and adds detection of Windows 8.  I'd be happy with either
change (just the caret or bump to 7.1.1)

** Patch added: Diff between awstats 7.1 and 7.1.1
   
https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/1212008/+attachment/3772352/+files/awstats-7.1-to-7.1.1.diff

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1212008] Re: Perl fix needed

2013-08-14 Thread Robie Basak
Perl 5.14 is used in 12.04, 12.10 and 13.04. You've said that 13.04 is
affected. Do we know if 12.04 and 12.10 are affected also?

We can of course fix the package, and I appreciate you having provided a
patch. But we must follow the steps in the SRU procedure I linked, in
order to reduce the likelyhood of breaking existing users. I appreciate
that you believe that the package is severely broken; the procedure
helps us to validate that claim.

Are you able to provide a step-by-step test case that demonstrates the
problem, please, so that we can test when the problem is fixed? In this
case I imagine something like a sample log line that fails to get
detected, and step by step instructions to get awstats running against
that sample log file, and a grep on the output to check if it has worked
correctly would do.

-- 
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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs