Thursday, February 25, 2010

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

 

In message <hlngi7+119ad@eGroups.com>, pxquim <pxquim@fastmail.fm>
writes

>
>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.
>
Another user also reported this problem about 4 weeks ago, not too sure
which forum the message thread is in. The file size function returns 0
rather than the correct file size. I think to date no one has tried to
fix this fault.
--
Robert Hammond
PGP:0x154144DA
592B 0199 2D7F FC05 C4B1 0404 2258 4471 1541 44DA

__._,_.___
Recent Activity:
.

__,_._,___

No comments:

Post a Comment