Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Mapbox GL Native v1.5.2 #16436

Merged
merged 2 commits into from
Apr 27, 2020
Merged

Mapbox GL Native v1.5.2 #16436

merged 2 commits into from
Apr 27, 2020

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Apr 25, 2020

Cherry-picked #16412, #16421 and updated the changelog for v1.5.2.

/cc @chloekraw @captainbarbosa

@1ec5 1ec5 added build macOS Mapbox Maps SDK for macOS labels Apr 25, 2020
@1ec5 1ec5 added this to the release-water milestone Apr 25, 2020
@1ec5 1ec5 self-assigned this Apr 25, 2020
@1ec5 1ec5 changed the base branch from master to release-v1.5.0 April 25, 2020 01:47
@1ec5
Copy link
Contributor Author

1ec5 commented Apr 25, 2020

Not sure what’s up with the Android and Linux build bots, but this change has nothing to do with those platforms.

@1ec5
Copy link
Contributor Author

1ec5 commented Apr 25, 2020

ios-unit-test-runner fails with:

<failure message="/Users/distiller/project/test/storage/online_file_source.test.cpp:388 Expected: (util::now()) < (res.error->retryAfter), actual: 8-byte object <71-A6 A3-5E 00-00 00-00> vs 16-byte object <01-79 4C-6F 61-64 73-00 71-A6 A3-5E 00-00 00-00>" type="">
/Users/distiller/project/test/storage/online_file_source.test.cpp:388 Expected: (util::now()) < (res.error->retryAfter), actual: 8-byte object <71-A6 A3-5E 00-00 00-00> vs 16-byte object <01-79 4C-6F 61-64 73-00 71-A6 A3-5E 00-00 00-00>
</failure>

Linux builds are failing with:

[538/577] Building C object CMakeFiles/mbgl-vendor-sqlite.dir/vendor/sqlite/src/sqlite3.c.o

ninja: build stopped: subcommand failed.


Exited with code exit status 1

CircleCI received exit code 1

The android-api-breakage build has been failing since v1.5.1:

android-api-breakage
Configuration failed.



> Task :MapboxGLAndroidSDK:parseReleaseLibraryResources

> Task :MapboxGLAndroidSDK:processReleaseManifest



FAILURE: Build completed with 2 failures.



1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':MapboxGLAndroidSDKTestApp:generateJsonModelRelease'.

> com.android.ide.common.process.ProcessException: Error configuring CMake server (/opt/android/cmake/3.10.2.4988404/bin).
  Check for working C compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang

  Check for working C compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works

  Detecting C compiler ABI info

  Detecting C compiler ABI info - done

  Detecting C compile features

  Detecting C compile features - done

  Check for working CXX compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++

  Check for working CXX compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works

  Detecting CXX compiler ABI info

  Detecting CXX compiler ABI info - done

  Detecting CXX compile features

  Detecting CXX compile features - done

  -- Configuring GL-Native with OpenGL renderer backend

  Looking for strerror_r

  Looking for strerror_r - found

  Target platform does not support HTTP tests or dependencies not found.

  CMake Error at CMakeLists.txt:5 (add_library):

    add_library cannot create target "******-gl" because another target with

    the same name already exists.  The existing target is a shared library

    created in source directory "/src/vendor/******-gl-native".  See

    documentation for policy CMP0002 for more details.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "mbgl-compiler-options" to target "******-gl"

    which is not built in this directory.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "Mapbox::Base::jni.hpp" to target "******-gl"

    which is not built in this directory.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "mbgl-core" to target "******-gl" which is not

    built in this directory.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "mbgl-vendor-unique_resource" to target

    "******-gl" which is not built in this directory.

  

  

  CMake Error at CMakeLists.txt:208 (install):

    install TARGETS given target "******-gl" which does not exist in this

    directory.

  

  

  Configuring incomplete, errors occurred!

  See also "/src/MapboxGLAndroidSDKTestApp/.cxx/cmake/release/arm64-v8a/CMakeFiles/CMakeOutput.log".





* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

==============================================================================



2: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':MapboxGLAndroidSDK:generateJsonModelRelease'.

> com.android.ide.common.process.ProcessException: Error configuring CMake server (/opt/android/cmake/3.10.2.4988404/bin).
  Check for working C compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang

  Check for working C compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works

  Detecting C compiler ABI info

  Detecting C compiler ABI info - done

  Detecting C compile features

  Detecting C compile features - done

  Check for working CXX compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++

  Check for working CXX compiler: /opt/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works

  Detecting CXX compiler ABI info

  Detecting CXX compiler ABI info - done

  Detecting CXX compile features

  Detecting CXX compile features - done

  -- Configuring GL-Native with OpenGL renderer backend

  Looking for strerror_r

  Looking for strerror_r - found

  Target platform does not support HTTP tests or dependencies not found.

  CMake Error at CMakeLists.txt:5 (add_library):

    add_library cannot create target "******-gl" because another target with

    the same name already exists.  The existing target is a shared library

    created in source directory "/src/vendor/******-gl-native".  See

    documentation for policy CMP0002 for more details.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "mbgl-compiler-options" to target "******-gl"

    which is not built in this directory.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "Mapbox::Base::jni.hpp" to target "******-gl"

    which is not built in this directory.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "mbgl-core" to target "******-gl" which is not

    built in this directory.

  

  

  CMake Error at CMakeLists.txt:198 (target_link_libraries):

    Attempt to add link library "mbgl-vendor-unique_resource" to target

    "******-gl" which is not built in this directory.

  

  

  CMake Error at CMakeLists.txt:208 (install):

    install TARGETS given target "******-gl" which does not exist in this

    directory.

  

  

  Configuring incomplete, errors occurred!

  See also "/src/MapboxGLAndroidSDK/.cxx/cmake/release/arm64-v8a/CMakeFiles/CMakeOutput.log".





* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

==============================================================================



* Get more help at https://help.gradle.org



BUILD FAILED in 11s

14 actionable tasks: 14 executed

make: *** [Makefile:197: android-arm-v8] Error 1


Exited with code exit status 2

CircleCI received exit code 2

None of these builds are related to the changes in this PR.

/cc @mapbox/gl-native

Not supported at the moment
@1ec5 1ec5 merged commit 19da0ab into release-v1.5.0 Apr 27, 2020
@1ec5 1ec5 deleted the 1ec5-maps-v1.5.2 branch April 27, 2020 14:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants