# -rw-r--r-- 4.2 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
              Snetry-  While I am here, I just read the notice for distro          
                       distribution                                                
              Snetry-  the file hare uses for leap seconds,                        
                       `/usr/share/zoneinfo/leap-seconds.list` is debian specific  
13:09        ddevault  it's not                                                    
             ddevault  that's the name of the file in the tzdata distribution      
             ddevault  why the hell would distros rename it for kicks              
              Snetry-  It differs on most notably Fedora and Arch                  
              Snetry-  there it is `/usr/share/zoneinfo/leapseconds`               
             ddevault  you can patch it at time/chrono/leapsec.ha                  
             ddevault  but this is dumb                                            
             ddevault  why is the name arbitrarily different                       
13:11  unmatched-par…  hm, that's the name on guix too                             
       unmatched-par…  /gnu/store/...-tzdata-.../share/zoneinfo/leapseconds        
             ddevault  I would advise seeking an explanation as to why the name was
                       changed, and adding a symlink                               
13:13         Snetry-  So                                                          
              Snetry-  looking at the upstream tzdata tarball                      
              Snetry-  it has both a leap-seconds.list and a leapseconds file      
              Snetry-  both of which have a different format                       
              Snetry-  thus a simple symlink or replacing the path will not solve  
                       this                                                        
13:14  unmatched-par…  Looks like leapseconds is generated from leap-seconds.list? 
13:15  unmatched-par…  # This file is generated automatically from the data in the 
                       public-domain                                               
       unmatched-par…  # leap-seconds.list file available from most NIST time      
                       servers.                                                    
       unmatched-par…  So i wonder whether Guix, Fedora, and Arch are doing it     
                       right... hmm.                                               
13:18  unmatched-par…  yeah, tzdata's makefile uses an awk script to generate      
                       leapseconds                                                 
13:21        smlavine  On arch I have both files, and they are in different formats
13:22  unmatched-par…  Yes, looks as if the makefile is supposed to install both
                    *  unmatched-paren does `guix edit tzdata`                     
13:26  unmatched-par…  aargh, tzdata.tar.gz is a tar bomb >:(             
              nikola`  Really??                                                    
13:28         Snetry-  Going through old bugzilla entries it seems the rationale on
                       Fedoras end was that                                        
              Snetry-  1. leap-seconds.list is not in the release tarball yet (this
                       was in 2016)                                                
              Snetry-  2. in 2017 they provide tzdata.zi (with no more context     
13:29         nikola`  Can confirm that on arch, both files are present            
13:30         nikola`  arch/artix                                                  
13:32         Snetry-  One interesting fact: Arch only recently started shipping   
                       this file                                                   
              Snetry-  I'll talk to the Fedora people                              
13:33  unmatched-par…  It may take a while to solve this issue on Guix's end...    
       unmatched-par…  since changing tzdata would rebuild the world               
       unmatched-par…  as glibc depends on it                                      
13:34  unmatched-par…  Although we may be able to use grafts. I'll mention it in   
                       #guix.