[Bug 2023917] Re: tzdata_2023c-0ubuntu0.20.04.2 does not build on focal

Benjamin Drung 2023917 at bugs.launchpad.net
Thu Jun 15 08:30:10 UTC 2023


** Changed in: tzdata (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  Incomplete

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




More information about the foundations-bugs mailing list