(myenv) ruslan@radar-prod1:/sda/android-tools/android-tools/build$ cmake ..
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Applying patches for: adb
error: pairing_auth/include/adb/pairing/pairing_auth.h: does not exist in index
error: pairing_connection/include/adb/pairing/pairing_connection.h: does not exist in index
error: pairing_connection/include/adb/pairing/pairing_server.h: does not exist in index
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Applying: Don't use the internal glibc header sys/cdefs.h
Patch failed at 0001 Don't use the internal glibc header sys/cdefs.h
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
CMake Error at vendor/CMakeLists.txt:58 (message):
Couldn't apply patches for adb
-- Configuring incomplete, errors occurred!
(myenv) ruslan@radar-prod1:/sda/android-tools/android-tools/build$
host system:
Linux radar-prod1 6.5.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) x86_64 GNU/Linux
unable to apply patches.
git clone https://github.com/nmeum/android-tools cd android-tools mkdir build && cd build cmake ..