[tz] make rearguard_tarballs fails creates tzdataunknown-rearguard.tar.gz file with latest tzdata lzip

Carlos Jimenez Carlos.Jimenez at servicenow.com
Mon Oct 19 22:47:57 UTC 2020

I've found something that seems to work around the issue.  Before I execute "make tarballs" or "make rearguard_tarballs" the version file has the 2020c value in it.  When I run either of those commands I get the  tzdataunknown-rearguard.tar.gz file which doesn't seem correct.  When I check the version file it has the value "unknown" in it.  If I update that version file and run "make tarballs" again it generates the tzdata2020c-rearguard.tar.gz file.  This seems to also be a valid file as I was able to confirm it updated the Fiji time zone DST move.  However, this seems like a hack and I'm not sure if it is reliable.


On 10/19/20, 3:03 PM, "Carlos Jimenez" <Carlos.Jimenez at servicenow.com> wrote:


    I've encountered two issues with the two latest files for the tz changes:



    1) The touch command for the new pacificnew empty file won't work on centos6 or centos7.  The date format syntax is generating an error:

    I noticed this was already fixed here:


    How long before that makes it to the /tzdb-2020c.tar.lz file?

    2) Upon manually fixing the touch issue by replacing the touch command with the fixed version, I am now getting the wrong filenames for the rearguard file and tzcode and tzdata:


    [root at centos7 tzdb-2020c]# lzip -d tzdb-latest.tar.lz

    [root at centos7 tzdb-2020c]# mkdir tzdata-latest && tar xf tzdb-latest.tar -C tzdata-latest 

    [root at centos7 tzdb-2020c]# pwd

    [root at centos7 tzdb-2020c]# make rearguard_tarballs

    I get the following file as a result


    I have reproduced this on centos6, centos7 and Mac OS 10.15.6.

    I get the following errors as well when I execute it:

    [root at centos6 tzdb-2020c]# make rearguard_tarballs >> ../../makeoutput.txt
    fatal: Not a git repository (or any of the parent directories): .git
    fatal: Not a git repository (or any of the parent directories): .git
    fatal: Not a git repository (or any of the parent directories): .git

    Attached is the make output.  

    This impacts us directly since we have customers in Fiji.  I'm trying to reverse engineer and review what may be going wrong but any help would be great.  


More information about the tz mailing list