Skip to content
  • aguestuser's avatar
    [ag] Fix native build step with revised dockerfile · e79058d8
    aguestuser authored
    * PROBLEM:
      * most recent version (r14b) of `android-ndk` uses `clang` for cross-compilation
      * BUT: `openssl` cannot compile successfully w/ `clang`
      * AND: we depend on `openssl` transitively through `ics-openvpn`
        while trying to use `android-ndk` r14b
    
    * FIX:
      * downgrade to `android-ndk` (12b) (most recent versoin that still
        uses `gcc` instead of `clang`)
      * modify some of the default
    
    * REMAINING PROBLEMS:
      * some string translations for Jamaica now break the build (unclear
        why -- outdated country abbreviation? ja for jm???)
      * we are now using a version of ndk that is 2 versions old and a
        version of ics-openvpn (pinned to a 3.1.2016 commit via submodule)
        that depends on an outdated version of `openssl`, which raises
        security concerns. updating to the most recent version will force
        us to wade into all the dependency problems amongst `ics-openvpn`/`openssl`/`ndk`
    
    * REFERENCES:
      * on `openssl` incompatibility w/ clang: https://github.com/openssl/openssl/pull/2229
      * on `ics-openvpn` problems with `ndk`: https://github.com/android-ndk/ndk/issues/144
    e79058d8
Validating GitLab CI configuration… Learn more