Bug#760899: libphonenumber: FTBFS on hppa: some tests fail

John David Anglin dave.anglin at bell.net
Tue Sep 9 01:31:06 UTC 2014


Package: libphonenumber
Version: 6.3~svn698-3
Severity: normal

Failed tests:   testGlobalNetworkNumbers(com.google.i18n.phonenumbers.ExampleNumbersTest): No example phone number for calling code 878
  testIsEmergencyNumberWithPlusSign_US(com.google.i18n.phonenumbers.ShortNumberUtilTest)
  testConnectsToEmergencyNumberWithPlusSign_US(com.google.i18n.phonenumbers.ShortNumberUtilTest)
  testParseNonAscii(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 1 National Number: 6502530000> but was:<Country Code: 65 National Number: 16502530000>
  testMaybeExtractCountryCode(com.google.i18n.phonenumbers.PhoneNumberUtilTest): Did not extract country calling code 64 correctly. expected:<64> but was:<0>
  testIsNumberMatchShortNsnMatches(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<SHORT_NSN_MATCH> but was:<NO_MATCH>
  testIsPossibleNumberWithReason(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<TOO_LONG> but was:<TOO_SHORT>
  testIsNumberMatchNonMatches(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<NO_MATCH> but was:<SHORT_NSN_MATCH>
  testParseAndKeepRaw(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 1 National Number: 80074935247 Country Code Source: FROM_DEFAULT_COUNTRY Preferred Domestic Carrier Code: > but was:<Country Code: 1 National Number: 80074935247 Country Code Source: FROM_DEFAULT_COUNTRY>
  testFormatInOriginalFormat(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<+44[ 20 8765 ]4321> but was:<+44[208765]4321>
  testParseWithLeadingZero(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 39 National Number: 236618300 Leading Zero(s): true> but was:<Country Code: 64 National Number: 390236618300>
  testFailedParseOnInvalidNumbers(com.google.i18n.phonenumbers.PhoneNumberUtilTest): This should not parse without throwing an exception +49 0
  testGetExampleNumberForNonGeoEntity(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 800 National Number: 12345678> but was:<null>
  testIsNumberMatchNsnMatches(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<NSN_MATCH> but was:<SHORT_NSN_MATCH>
  testIsNumberMatchMatches(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<EXACT_MATCH> but was:<NO_MATCH>
  testIsPossibleNumber(com.google.i18n.phonenumbers.PhoneNumberUtilTest)
  testParseWithInternationalPrefixes(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 1 National Number: 6502530000> but was:<Country Code: 64 National Number: 16502530000>
  testFormatNumberForMobileDialing(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<[+1]65025300001> but was:<[]65025300001>
  testTruncateTooLongNumber(com.google.i18n.phonenumbers.PhoneNumberUtilTest)
  testParseExtensions(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 1 National Number: 80074935247> but was:<Country Code: 1 National Number: 180074935247>
  testMaybeStripInternationalPrefix(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<FROM_NUMBER_WITH_PLUS_SIGN> but was:<FROM_DEFAULT_COUNTRY>
  testParseNationalNumber(com.google.i18n.phonenumbers.PhoneNumberUtilTest): expected:<Country Code: 64 National Number: 33316005> but was:<Country Code: 1 National Number: 6433316005>

Tests in error: 
  testAYTF_MX(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFAndRememberPositionUS(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFNumberPatternsBecomingInvalidShouldNotResultInDigitLoss(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTF_International_Toll_Free(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFNoNationalPrefixFormattingRule(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFLongIDD_AU(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFLongIDD_KR(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFLongNDD_KR(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFLongNDD_SG(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFNoNationalPrefix(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFGBFixedLine(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testTooLongNumberMatchingMultipleLeadingDigits(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFMultipleLeadingDigitPatterns(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testCountryWithSpaceInNationalPrefixFormattingRule(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFShortNumberFormattingFix_AU(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFShortNumberFormattingFix_KR(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFShortNumberFormattingFix_MX(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testInvalidRegion(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFGBTollFree(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testInvalidPlusSign(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFUSFullWidthCharacters(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFAR(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFDE(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFKR(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFUS(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testCountryWithSpaceInNationalPrefixFormattingRuleAndLongNdd(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFGBPremiumRate(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFNZMobile(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFUSVanityNumber(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFClearNDDAfterIDDExtraction(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testAYTFARMobile(com.google.i18n.phonenumbers.AsYouTypeFormatterTest)
  testParseNumbersWithPlusWithNoRegion(com.google.i18n.phonenumbers.PhoneNumberUtilTest): Missing or invalid default region.

Tests run: 242, Failures: 22, Errors: 32, Skipped: 0

Full log:
http://buildd.debian-ports.org/status/fetch.php?pkg=libphonenumber&arch=hppa&ver=6.3%7Esvn698-3&stamp=1409766742


-- System Information:
Debian Release: jessie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.16.1+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-java-maintainers mailing list