libphonenumber fails to build on arm64

Bug #1366685 reported by Matthias Klose on 2014-09-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libphonenumber (Ubuntu)
High
billhuey
Utopic
High
billhuey
openjdk-7 (Ubuntu)
Undecided
Unassigned
Utopic
Undecided
Unassigned

Bug Description

https://launchpad.net/ubuntu/+source/libphonenumber/6.0+r655-0ubuntu5/+build/6322832

fails in the junit tests:

junit:
    [mkdir] Created dir: /build/buildd/libphonenumber-6.0+r655/java/build/junitreport
    [junit] Running com.google.i18n.phonenumbers.AsYouTypeFormatterTest
    [junit] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 sec
    [junit] Running com.google.i18n.phonenumbers.ExampleNumbersTest
    [junit] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.074 sec
    [junit] Running com.google.i18n.phonenumbers.MetadataManagerTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
    [junit] Running com.google.i18n.phonenumbers.PhoneNumberMatchTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
    [junit] Running com.google.i18n.phonenumbers.PhoneNumberMatcherTest
    [junit] Tests run: 46, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 5.161 sec
    [junit] Running com.google.i18n.phonenumbers.PhoneNumberUtilTest
    [junit] Tests run: 92, Failures: 2, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.135 sec
    [junit] Test com.google.i18n.phonenumbers.PhoneNumberUtilTest FAILED
    [junit] Running com.google.i18n.phonenumbers.PhonenumberTest
    [junit] Tests run: 7, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.005 sec
    [junit] Running com.google.i18n.phonenumbers.RegexCacheTest
    [junit] Tests run: 1, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.008 sec
    [junit] Running com.google.i18n.phonenumbers.ShortNumberInfoTest
    [junit] Tests run: 26, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.009 sec
    [junit] Running com.google.i18n.phonenumbers.ShortNumberUtilTest
    [junit] Tests run: 16, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.006 sec
    [junit] Running com.google.i18n.phonenumbers.PhoneNumberToCarrierMapperTest
    [junit] Tests run: 8, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.02 sec
    [junit] Running com.google.i18n.phonenumbers.PhoneNumberToTimeZonesMapperTest
    [junit] Tests run: 3, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.008 sec
    [junit] Running com.google.i18n.phonenumbers.geocoding.PhoneNumberOfflineGeocoderTest
    [junit] Tests run: 8, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.042 sec
    [junit] Running com.google.i18n.phonenumbers.prefixmapper.FlyweightMapStorageTest
    [junit] Tests run: 4, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.011 sec
    [junit] Running com.google.i18n.phonenumbers.prefixmapper.MappingFileProviderTest
    [junit] Tests run: 2, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.003 sec
    [junit] Running com.google.i18n.phonenumbers.prefixmapper.PhonePrefixMapTest
    [junit] Tests run: 13, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.007 sec
    [junit] Running com.google.i18n.phonenumbers.prefixmapper.PrefixFileReaderTest
    [junit] Tests run: 5, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.004 sec
    [junit] Running com.google.i18n.phonenumbers.prefixmapper.PrefixTimeZonesMapTest
    [junit] Tests run: 7, Failures: -9223372036854775808, Errors: -9223372036854775808, Skipped: -9223372036854775808, Time elapsed: 0.004 sec

BUILD FAILED
/build/buildd/libphonenumber-6.0+r655/java/build.xml:272: Tests failed. Run 'ant junitreport' for more info.

Total time: 19 seconds
debian/rules:44: recipe for target 'override_dh_auto_test' failed

Steve Langasek (vorlon) wrote :

This is likely to be an ARM64-specific JIT problem. Bill, please plan to look at this for resolution before the utopic release.

Changed in libphonenumber (Ubuntu):
assignee: nobody → billhuey (bill-huey)
importance: Undecided → High
billhuey (bill-huey) wrote :

Matthias, can you give some simple instructions on how to run the junit tests ? The environment is set up and the binary compiled cleanly

Steve Langasek (vorlon) wrote :

The libphonenumber package has successfully built on arm64 with the latest openjdk-7 packages. Marking this bug as resolved.

Changed in libphonenumber (Ubuntu Utopic):
status: Confirmed → Invalid
Changed in openjdk-7 (Ubuntu Utopic):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers