Friday, February 19, 2010

[nslu2-linux] BUG in perl_5.8.8-23_armeb.ipk, Unslung 6.10

 

Greetings,

It's been a long time since I've had any software issue with my NSLU2 but today I decided to "ipkg upgrade" and run into a broken perl.

Symptom: awstats (a perl script) stopped working with mysterious errors such as below (recorded for posterity to help the next searching soul):

"Warning: Can't read file "status_http.pm" (status http detection will not work correctly)."

After checking the script, I determined that the perl built-in "-s", which returns the size of a file in bytes, is broken and returns always 0. Therefore:

$ ls -l lib/status_http.pm
-rwxr-xr-x 1 u u 2083 Jun 21 2009 lib/status_http.pm
$ perl -e 'print -s "lib/status_http.pm"'
0

(should have been 2083 bytes, not 0).

The issue is in package perl_5.8.8-23_armeb.ipk from the source cross/stable, located at http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/perl_5.8.8-23_armeb.ipk

I did try removing and then force-install the perl packages again to no avail.

__._,_.___
.

__,_._,___

No comments:

Post a Comment