[tz] 2017c zdump outputs "No such file or directory"

大山俊成 ohyamat at citizen.co.jp
Fri Oct 27 00:35:48 UTC 2017


Hi, Paul.

Thank you for your information.

My platform is Ubuntu 14.04 64bit (on VirtualBox).

And $HOME is  my home directory(/home/ohyamat).

/tmp/tr is like the followings 
------------------------------------------------------------------------------
open("./tzdir/etc/zoneinfo/UTC0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tzdir/etc/zoneinfo/posixrules", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./tzdir/etc/zoneinfo/America/Los_Angeles", O_RDONLY) = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcea0ad4000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(3, "America/Los_Angeles: No such fil"..., 47) = 47
close(3)                                = 0
munmap(0x7fcea0ad4000, 4096)            = 0
exit_group(1)                           = ?
+++ exited with 1 +++
------------------------------------------------------------------------------


I guess I  misunderstand something basic. I tried 2 cases.
case1:
 use tzcode-latest.tar.gz  tzdata-latest.tar.gz   --> Don't work.
case2:
 use tzdb-latest.tar.lz --> Woks GOOD!


In case1, there are not  America,Asia,Africa ... folders in etc/zoneinfo/

Ohyama


More information about the tz mailing list