m2049r / xmrwallet

monerujo: An Android Monero Wallet
https://www.monerujo.io/
Apache License 2.0
618 stars 274 forks source link

Make Error: `make: *** No rule to make target 'release-static-android-armv8-wallet_api'. Stop.` #941

Closed detherminal closed 7 months ago

detherminal commented 7 months ago

I get the make: *** No rule to make target 'release-static-android-armv8-wallet_api'. Stop. error when trying to build the external-libs. I followed all steps in docs.

Log:

user@device ~/m/c/x/external-libs (accessibility-work)> make
rm -rf arm64-v8a
docker container rm monero-android-arm64 -f
Error response from daemon: No such container: monero-android-arm64
docker build -f android64.Dockerfile -t monero-android-arm64 monero
[+] Building 1.8s (25/26)                                               docker:rootless
 => [internal] load build definition from android64.Dockerfile                     0.0s
 => => transferring dockerfile: 7.88kB                                             0.0s
 => [internal] load metadata for docker.io/library/debian:stable                   1.2s
 => [internal] load .dockerignore                                                  0.0s
 => => transferring context: 2B                                                    0.0s
 => [internal] load build context                                                  0.0s
 => => transferring context: 621B                                                  0.0s
 => [ 1/22] FROM docker.io/library/debian:stable@sha256:84725fb1debbf461f54a23030  0.0s
 => CACHED [ 2/22] RUN set -x && apt-get update && apt-get install -y unzip autom  0.0s
 => CACHED [ 3/22] WORKDIR /opt/android                                            0.0s
 => CACHED [ 4/22] RUN set -x     && curl -O https://dl.google.com/android/reposi  0.0s
 => CACHED [ 5/22] RUN set -x     && curl -O https://dl.google.com/android/reposi  0.0s
 => CACHED [ 6/22] RUN set -x     && /opt/android/android-ndk-r17c/build/tools/ma  0.0s
 => CACHED [ 7/22] RUN set -x     && cd /usr     && curl -L -O https://github.com  0.0s
 => CACHED [ 8/22] RUN set -x     && curl -L -o  boost_1_70_0.tar.bz2 https://boo  0.0s
 => CACHED [ 9/22] RUN set -x     && curl -O http://ftp.gnu.org/pub/gnu/libiconv/  0.0s
 => CACHED [10/22] RUN set -x     && cd boost_1_70_0     && ./b2 --build-type=min  0.0s
 => CACHED [11/22] RUN set -x     && curl -O https://zlib.net/zlib-1.3.1.tar.gz    0.0s
 => CACHED [12/22] RUN set -x     && curl -O https://www.openssl.org/source/opens  0.0s
 => CACHED [13/22] RUN set -x     && git clone https://github.com/zeromq/libzmq.g  0.0s
 => CACHED [14/22] RUN set -x     && git clone https://github.com/jedisct1/libsod  0.0s
 => CACHED [15/22] RUN set -x     && git clone https://github.com/libexpat/libexp  0.0s
 => CACHED [16/22] RUN git clone https://github.com/NLnetLabs/unbound.git -b rele  0.0s
 => CACHED [17/22] RUN apt-get install bison -y                                    0.0s
 => CACHED [18/22] RUN apt-get install byacc -y                                    0.0s
 => CACHED [19/22] RUN set -x     && cd unbound     && test `git rev-parse HEAD`   0.0s
 => CACHED [20/22] COPY . /src                                                     0.0s
 => ERROR [21/22] RUN set -x     && cd /src     && CMAKE_INCLUDE_PATH="/opt/andro  0.3s
------
 > [21/22] RUN set -x     && cd /src     && CMAKE_INCLUDE_PATH="/opt/android/prefix/include"        CMAKE_LIBRARY_PATH="/opt/android/prefix/lib"        ANDROID_STANDALONE_TOOLCHAIN_PATH=/opt/android/toolchain        USE_SINGLE_BUILDDIR=1        PATH=/usr/cmake-3.14.6-Linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin make release-static-android-armv8-wallet_api -j4:
0.233 + cd /src
0.233 + CMAKE_INCLUDE_PATH=/opt/android/prefix/include CMAKE_LIBRARY_PATH=/opt/android/prefix/lib ANDROID_STANDALONE_TOOLCHAIN_PATH=/opt/android/toolchain USE_SINGLE_BUILDDIR=1 PATH=/usr/cmake-3.14.6-Linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin make release-static-android-armv8-wallet_api -j4
0.236 make: *** No rule to make target 'release-static-android-armv8-wallet_api'.  Stop.
------
android64.Dockerfile:164
--------------------
 163 |     COPY . /src
 164 | >>> RUN set -x \
 165 | >>>     && cd /src \
 166 | >>>     && CMAKE_INCLUDE_PATH="${PREFIX}/include" \
 167 | >>>        CMAKE_LIBRARY_PATH="${PREFIX}/lib" \
 168 | >>>        ANDROID_STANDALONE_TOOLCHAIN_PATH=${TOOLCHAIN_DIR} \
 169 | >>>        USE_SINGLE_BUILDDIR=1 \
 170 | >>>        PATH=${HOST_PATH} make release-static-android-armv8-wallet_api -j${NPROC}
 171 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -x     && cd /src     && CMAKE_INCLUDE_PATH=\"${PREFIX}/include\"        CMAKE_LIBRARY_PATH=\"${PREFIX}/lib\"        ANDROID_STANDALONE_TOOLCHAIN_PATH=${TOOLCHAIN_DIR}        USE_SINGLE_BUILDDIR=1        PATH=${HOST_PATH} make release-static-android-armv8-wallet_api -j${NPROC}" did not complete successfully: exit code: 2
make: *** [Makefile:8: arm64-v8a] Error 1

I am almost sure this is a problem in the build docs because it hasn't been updated since 3 years ago.

detherminal commented 7 months ago

Wrong alert, sorry for inconvenience.