tzdb-2018b does not work after make clean
Hello, I'm Ohyama. I downloaded tzdb-2018b.tar.lz and did as followings make TOPDIR=$HOME/tzdir install $HOME/tzdir/usr/bin/zdump -v America/Los_Angeles it works good ! But once I do clean by make clean And again make TOPDIR=$HOME/tzdir install $HOME/tzdir/usr/bin/zdump -v America/Los_Angeles it does not works.(error message "America/Los_Angeles: No such file or directory") Something wrong with me?
Thanks for reporting the problem. Unfortunately, I could not reproduce it. Please see the attached transcript, which I got on Ubuntu 16.04.3 x86-64. Please try the commands that I used and see what happens. If you're still seeing the problem, please run 'strace -o tr $HOME/tzdir/usr/bin/zdump -v America/Los_Angeles' on the failing zdump, and inspect 'tr' to see which files zdump is actually looking for. I say "strace" because I assume you have a platform that has it; if not, please try "truss" or whatever other command your platform uses. What platform are you using, by the way? One wild guess: are you using a parallel 'make'? I don't think the build procedure has ever been fully debugged for parallel makes. Try using 'make' without parallelism.
Thank you for your useful information. I realized tzdata.zi was not correct( it contained just 2 comment lines). So, I upgraded awk that generate tzdata.zi ( mawk 1.3.3 -> gawk 4.0.1). It works good! Thank you
大山俊成 wrote:
I realized tzdata.zi was not correct( it contained just 2 comment lines). So, I upgraded awk that generate tzdata.zi ( mawk 1.3.3 -> gawk 4.0.1).
Thanks for the info; it helped me reproduce the portability problem, which is that mawk 1.3.3 does not support regular expressions like [[:alpha:]], even though POSIX requires support. The workaround is simple and straightforward, so I installed the attached patch into the development version, and it should appear in the next tzdb release.
participants (2)
-
Paul Eggert -
大山俊成