[Bug 1951432] [NEW] fail to build from source

Rodrigo Figueiredo Zaiden 1951432 at bugs.launchpad.net
Thu Nov 18 14:21:50 UTC 2021


Public bug reported:

When building ICU package from source, Time Zones tests are failing, leading to a build failure.
This is happening because for Ubuntu, ICU uses tzdata package to retrieve Time Zone information
And, tzdata is updated but ICU tests are not.

The tests that are failing are:
1)TestAliasedNames, TestCanonicalID:
         TestAliasedNames {
         different at 8
         
      
         } ERRORS (1) in TestAliasedNames
      
         TestCanonicalID {
         FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
         FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
         FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
      
         } ERRORS (3) in TestCanonicalID

-- These does not have a fix in upstream and need to be fixed (hirsute
and focal).

There are other issues that have fixes in upstream and need to be patched:
2) TestGenericAPI
         TestGenericAPI {
         FAIL: getTZDataVersion returned 2021a3
      
         } ERRORS (1) in TestGenericAPI

-- https://github.com/unicode-org/icu/commit/7561cb28 need to be patched
(hirsute and focal)

3) TestCanonicalID
         TestCanonicalID {
         FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
         FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
         FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
         FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
         FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
         FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
      
         } ERRORS (6) in TestCanonicalID

-- https://github.com/unicode-org/icu/commit/25eb1510 need to be patched
(focal)

** Affects: icu (Ubuntu)
     Importance: Undecided
     Assignee: Rodrigo Figueiredo Zaiden (rodrigo-zaiden)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to icu in Ubuntu.
https://bugs.launchpad.net/bugs/1951432

Title:
  fail to build from source

Status in icu package in Ubuntu:
  In Progress

Bug description:
  When building ICU package from source, Time Zones tests are failing, leading to a build failure.
  This is happening because for Ubuntu, ICU uses tzdata package to retrieve Time Zone information
  And, tzdata is updated but ICU tests are not.

  The tests that are failing are:
  1)TestAliasedNames, TestCanonicalID:
           TestAliasedNames {
           different at 8
           
        
           } ERRORS (1) in TestAliasedNames
        
           TestCanonicalID {
           FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
           FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
           FAIL: getCanonicalID(America/Coral_Harbour) returned America/Coral_Harbour expected:America/Cayman
        
           } ERRORS (3) in TestCanonicalID

  -- These does not have a fix in upstream and need to be fixed (hirsute
  and focal).

  There are other issues that have fixes in upstream and need to be patched:
  2) TestGenericAPI
           TestGenericAPI {
           FAIL: getTZDataVersion returned 2021a3
        
           } ERRORS (1) in TestGenericAPI

  -- https://github.com/unicode-org/icu/commit/7561cb28 need to be
  patched (hirsute and focal)

  3) TestCanonicalID
           TestCanonicalID {
           FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
           FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
           FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
           FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
           FAIL: getCanonicalID(Australia/Hobart) returned Australia/Hobart expected:Australia/Currie
           FAIL: getCanonicalID(Australia/Tasmania) returned Australia/Hobart expected:Australia/Currie
        
           } ERRORS (6) in TestCanonicalID

  -- https://github.com/unicode-org/icu/commit/25eb1510 need to be
  patched (focal)

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




More information about the foundations-bugs mailing list