Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openal-soft] build failure on <any>-android with ndk 27 #40266

Closed
bwrsandman opened this issue Aug 3, 2024 · 0 comments · Fixed by #40267
Closed

[openal-soft] build failure on <any>-android with ndk 27 #40266

bwrsandman opened this issue Aug 3, 2024 · 0 comments · Fixed by #40267
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@bwrsandman
Copy link
Contributor

bwrsandman commented Aug 3, 2024

Operating system

Linux

Compiler

Clang

Steps to reproduce the behavior

# Download android ndk r27 from https://developer.android.com/ndk/downloads
export ANDROID_NDK_HOME=$HOME/Downloads/android-ndk-r27/
run `vcpkg install openal-soft:arm64-android`

Failure logs

CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 18.0.1
-- The CXX compiler identification is Clang 18.0.1
CMake Warning (dev) at Downloads/android-ndk-r27/build/cmake/flags.cmake:46 (if):
  Policy CMP0057 is not set: Support new IN_LIST if() operator.  Run "cmake
  --help-policy CMP0057" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  IN_LIST will be interpreted as an operator when the policy is set to NEW.
  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Platform/Android-Clang.cmake:23 (include)
  /usr/share/cmake/Modules/Platform/Android-Clang-C.cmake:1 (include)
  /usr/share/cmake/Modules/CMakeCInformation.cmake:48 (include)
  CMakeLists.txt:65 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at Downloads/android-ndk-r27/build/cmake/flags.cmake:46 (if):
  if given arguments:

    "hwaddress" "IN_LIST" "ANDROID_SANITIZE"

  Unknown arguments specified
Call Stack (most recent call first):
  /usr/share/cmake/Modules/Platform/Android-Clang.cmake:23 (include)
  /usr/share/cmake/Modules/Platform/Android-Clang-C.cmake:1 (include)
  /usr/share/cmake/Modules/CMakeCInformation.cmake:48 (include)
  CMakeLists.txt:65 (project)

Additional context

android/ndk#2032

@bwrsandman bwrsandman added the category:port-bug The issue is with a library, which is something the port should already support label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants