Public bug reported:

I'm trying to build the latest version of tzdata on focal and the build fails 
with the below error:
Test all zones to load, have a name, and have a reasonable offset. ... skipped 
'Needs https://launchpad.net/bugs/207604'                                  
[12/12540]                                                                      
            
======================================================================          
                                                                                
    
ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Europe/Uzhgorod -> Europe/Kyiv]                                                
                 
Test that post-1970 symlinks are consistent with pre-1970 timezones.            
                                                                                
    
----------------------------------------------------------------------
Traceback (most recent call last):                                              
                                                                                
    
  File "debian/tests/python", line 136, in test_post_1970_symlinks_consistency
    tz_target = pytz.timezone(target)                                           
                                                                                
    
  File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in timezone
    raise UnknownTimeZoneError(zone)                                            
                                                                                
    
pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'                             
                                                                                
    
                                                                                
                                                                                
    
======================================================================
ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Europe/Zaporozhye -> Europe/Kyiv]  
Test that post-1970 symlinks are consistent with pre-1970 timezones.            
----------------------------------------------------------------------          
                                                                                
    
Traceback (most recent call last):                                              
  
  File "debian/tests/python", line 136, in test_post_1970_symlinks_consistency  
                                                                                
    
    tz_target = pytz.timezone(target)                                           
  
  File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in timezone 
  
    raise UnknownTimeZoneError(zone)                                            
  
pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'                             
  
                                         
======================================================================          
  
ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Pacific/Enderbury -> Pacific/Kanton]                                           
                 
Test that post-1970 symlinks are consistent with pre-1970 timezones.
----------------------------------------------------------------------
Traceback (most recent call last):                                              
                                                                                
    
  File "debian/tests/python", line 136, in test_post_1970_symlinks_consistency  
  
    tz_target = pytz.timezone(target)
  File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in timezone 
                                                                                
    
    raise UnknownTimeZoneError(zone)                                            
  
pytz.exceptions.UnknownTimeZoneError: 'Pacific/Kanton'                     
                                                                                
  
======================================================================    
ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[America/Godthab -> America/Nuuk]                                               
                 
Test that post-1970 symlinks are consistent with pre-1970 timezones.            
                                                                                
    
----------------------------------------------------------------------          
  
Traceback (most recent call last):
  File "debian/tests/python", line 136, in test_post_1970_symlinks_consistency  
                                                                                
    
    tz_target = pytz.timezone(target)
  File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in timezone
    raise UnknownTimeZoneError(zone)
pytz.exceptions.UnknownTimeZoneError: 'America/Nuuk'                            
  
                                         
======================================================================          
  
ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) [Europe/Kiev 
-> Europe/Kyiv]                                                                 
    
Test that post-1970 symlinks are consistent with pre-1970 timezones.
----------------------------------------------------------------------          
                                                                                
    
Traceback (most recent call last):                                              
                                                                                
    
  File "debian/tests/python", line 136, in test_post_1970_symlinks_consistency  
  
    tz_target = pytz.timezone(target)                                           
  
  File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in timezone 
  
    raise UnknownTimeZoneError(zone)                                            
  
pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'                             
  
                                                                                
  
----------------------------------------------------------------------          
  
Ran 8 tests in 0.110s
                                                                                
  
FAILED (errors=5, skipped=2)                                                    
  
make[1]: *** [debian/rules:96: override_dh_auto_test] Error 1                   
  
make[1]: Leaving directory '/build/tzdata-2023c'                                
  
make: *** [debian/rules:27: binary] Error 2                                     
  
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration       
E: Failed autobuilding of package                                               
  
I: unmounting dev/ptmx filesystem                                               
  
I: unmounting dev/pts filesystem  
I: unmounting dev/shm filesystem                                                
                                                                                
    
I: unmounting proc filesystem     
I: unmounting sys filesystem                                                    
  
I: cleaning the build env         
I: removing directory /var/cache/pbuilder/build/2704397 and its subdirectories

This was built via pbuilder-dist.

** Affects: tzdata (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/2023917

Title:
  tzdata_2023c-0ubuntu0.20.04.2 does not build on focal

Status in tzdata package in Ubuntu:
  New

Bug description:
  I'm trying to build the latest version of tzdata on focal and the build fails 
with the below error:
  Test all zones to load, have a name, and have a reasonable offset. ... 
skipped 'Needs https://launchpad.net/bugs/207604'                               
   [12/12540]                                                                   
               
  ======================================================================        
                                                                                
      
  ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Europe/Uzhgorod -> Europe/Kyiv]                                                
                 
  Test that post-1970 symlinks are consistent with pre-1970 timezones.          
                                                                                
      
  ----------------------------------------------------------------------
  Traceback (most recent call last):                                            
                                                                                
      
    File "debian/tests/python", line 136, in test_post_1970_symlinks_consistency
      tz_target = pytz.timezone(target)                                         
                                                                                
      
    File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in 
timezone
      raise UnknownTimeZoneError(zone)                                          
                                                                                
      
  pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'                           
                                                                                
      
                                                                                
                                                                                
      
  ======================================================================
  ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Europe/Zaporozhye -> Europe/Kyiv]  
  Test that post-1970 symlinks are consistent with pre-1970 timezones.          
  
  ----------------------------------------------------------------------        
                                                                                
      
  Traceback (most recent call last):                                            
    
    File "debian/tests/python", line 136, in 
test_post_1970_symlinks_consistency                                             
                                         
      tz_target = pytz.timezone(target)                                         
    
    File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in 
timezone   
      raise UnknownTimeZoneError(zone)                                          
    
  pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'                           
    
                                           
  ======================================================================        
    
  ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Pacific/Enderbury -> Pacific/Kanton]                                           
                 
  Test that post-1970 symlinks are consistent with pre-1970 timezones.
  ----------------------------------------------------------------------
  Traceback (most recent call last):                                            
                                                                                
      
    File "debian/tests/python", line 136, in 
test_post_1970_symlinks_consistency    
      tz_target = pytz.timezone(target)
    File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in 
timezone                                                                        
             
      raise UnknownTimeZoneError(zone)                                          
    
  pytz.exceptions.UnknownTimeZoneError: 'Pacific/Kanton'                     
                                                                                
    
  ======================================================================    
  ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[America/Godthab -> America/Nuuk]                                               
                 
  Test that post-1970 symlinks are consistent with pre-1970 timezones.          
                                                                                
      
  ----------------------------------------------------------------------        
    
  Traceback (most recent call last):
    File "debian/tests/python", line 136, in 
test_post_1970_symlinks_consistency                                             
                                         
      tz_target = pytz.timezone(target)
    File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in 
timezone
      raise UnknownTimeZoneError(zone)
  pytz.exceptions.UnknownTimeZoneError: 'America/Nuuk'                          
    
                                           
  ======================================================================        
    
  ERROR: test_post_1970_symlinks_consistency (__main__.TestZoneinfo) 
[Europe/Kiev -> Europe/Kyiv]                                                    
                 
  Test that post-1970 symlinks are consistent with pre-1970 timezones.
  ----------------------------------------------------------------------        
                                                                                
      
  Traceback (most recent call last):                                            
                                                                                
      
    File "debian/tests/python", line 136, in 
test_post_1970_symlinks_consistency    
      tz_target = pytz.timezone(target)                                         
    
    File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 181, in 
timezone   
      raise UnknownTimeZoneError(zone)                                          
    
  pytz.exceptions.UnknownTimeZoneError: 'Europe/Kyiv'                           
    
                                                                                
    
  ----------------------------------------------------------------------        
    
  Ran 8 tests in 0.110s
                                                                                
    
  FAILED (errors=5, skipped=2)                                                  
    
  make[1]: *** [debian/rules:96: override_dh_auto_test] Error 1                 
    
  make[1]: Leaving directory '/build/tzdata-2023c'                              
    
  make: *** [debian/rules:27: binary] Error 2                                   
    
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2
  I: copying local configuration       
  E: Failed autobuilding of package                                             
    
  I: unmounting dev/ptmx filesystem                                             
    
  I: unmounting dev/pts filesystem  
  I: unmounting dev/shm filesystem                                              
                                                                                
      
  I: unmounting proc filesystem     
  I: unmounting sys filesystem                                                  
    
  I: cleaning the build env         
  I: removing directory /var/cache/pbuilder/build/2704397 and its subdirectories

  This was built via pbuilder-dist.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2023917/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to