Skip Menu |

This queue is for tickets about the Tk-Pod CPAN distribution.

Report information
The Basics
Id: 41320
Status: resolved
Priority: 0/
Queue: Tk-Pod

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.9939_54
Fixed in: 0.9939_55



Subject: Cleaning up temporary directory
Test output: t/cmdline.........cannot remove path when cwd is /tmp/tkpod_KWFyHBOT for /tmp/tkpod_KWFyHBOT: at /usr/local/perl-5.10/lib/5.10.0/File/Temp.pm line 902 ok This is caused (I think) by File::Path 2.07 not removing the directory anymore that it is in. Downgrading to File::Path 2.04 fixes this. A different issue seems to be the second file. Leftovers after the test: drwx------ 3 sand sand 4096 2008-11-30 18:31:56 tkpod_KWFyHBOT/ -rw-r--r-- 1 sand sand 14 2008-11-30 18:32:20 pods_5_010000_x86_64_linux_1001 On the smoke box I found several larger files: # ls -l /tmp/pods_* -rw-rw-r-- 1 sand sand 14 Nov 2 12:37 /tmp/pods_5_008007_i686_linux_thread_multi_64int_1005 -rw-rw-r-- 1 sand sand 521946 Nov 5 20:39 /tmp/pods_5_008008_i686_linux_64int_1005 -rw-rw-r-- 1 sand sand 940729 Nov 22 06:35 /tmp/pods_5_008009_i686_linux_64int_1005 -rw-rw-r-- 1 sand sand 917189 Nov 29 03:32 /tmp/pods_5_010000_i686_linux_64int_1005 -rw-rw-r-- 1 sand sand 1438515 Nov 28 10:01 /tmp/pods_5_011000_i686_linux_64int_1005 Should they also be cleaned up?
On Sun Nov 30 12:51:51 2008, ANDK wrote: Show quoted text
> Test output: > > t/cmdline.........cannot remove path when cwd is /tmp/tkpod_KWFyHBOT for > /tmp/tkpod_KWFyHBOT: at /usr/local/perl-5.10/lib/5.10.0/File/Temp.pm > line 902 > ok > > This is caused (I think) by File::Path 2.07 not removing the directory > anymore that it is in. Downgrading to File::Path 2.04 fixes this. > > A different issue seems to be the second file. > Leftovers after the test: > > drwx------ 3 sand sand 4096 2008-11-30 18:31:56 tkpod_KWFyHBOT/ > -rw-r--r-- 1 sand sand 14 2008-11-30 18:32:20 > pods_5_010000_x86_64_linux_1001 > > On the smoke box I found several larger files: > # ls -l /tmp/pods_* > -rw-rw-r-- 1 sand sand 14 Nov 2 12:37 > /tmp/pods_5_008007_i686_linux_thread_multi_64int_1005 > -rw-rw-r-- 1 sand sand 521946 Nov 5 20:39 > /tmp/pods_5_008008_i686_linux_64int_1005 > -rw-rw-r-- 1 sand sand 940729 Nov 22 06:35 > /tmp/pods_5_008009_i686_linux_64int_1005 > -rw-rw-r-- 1 sand sand 917189 Nov 29 03:32 > /tmp/pods_5_010000_i686_linux_64int_1005 > -rw-rw-r-- 1 sand sand 1438515 Nov 28 10:01 > /tmp/pods_5_011000_i686_linux_64int_1005 > > > Should they also be cleaned up?
No, the cache files should be permanent, as it's expensive to create them. But it's probably not a good idea to put them into /tmp, with predictable names. So I think they will end in $ENV{HOME}/.cache/tk-pod or so. Regards, Slaven