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

Build error #2

Open
jQrgen opened this issue Jan 17, 2022 · 0 comments
Open

Build error #2

jQrgen opened this issue Jan 17, 2022 · 0 comments

Comments

@jQrgen
Copy link
Owner

jQrgen commented Jan 17, 2022

Could be something with mac m1?

ci-android-ndk-rust % docker build .
[+] Building 5.9s (6/6) FINISHED                                                                                                                                                           
 => [internal] load build definition from Dockerfile                                                                                                                                  0.0s
 => => transferring dockerfile: 37B                                                                                                                                                   0.0s
 => [internal] load .dockerignore                                                                                                                                                     0.0s
 => => transferring context: 2B                                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/openjdk:11                                                                                                                         2.2s
 => [auth] library/openjdk:pull token for registry-1.docker.io                                                                                                                        0.0s
 => CACHED [1/2] FROM docker.io/library/openjdk:11@sha256:f305ff95f58d6567dc6c9c9fac8868ce6fc3d90fd051a000fc301500b4a4e904                                                            0.0s
 => ERROR [2/2] RUN     echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf &&     echo 'APT::Install-Recommends "false";' >> /etc/apt/apt.conf &&     apt-get --quiet update  3.6s
------                                                                                                                                                                                     
 > [2/2] RUN     echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf &&     echo 'APT::Install-Recommends "false";' >> /etc/apt/apt.conf &&     apt-get --quiet update --yes &&     apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 cmake python3 build-essential libtool automake ninja-build curl xxd ruby ruby-dev &&     apt-get clean &&     wget --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip &&     unzip -d /android-sdk-linux android-sdk.zip &&     rm android-sdk.zip &&     wget -N --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip &&     unzip -x android-sdk.zip &&     mkdir -p /android-sdk-linux/cmdline-tools &&     mv cmdline-tools /android-sdk-linux/cmdline-tools/latest &&     echo y | /android-sdk-linux/cmdline-tools/latest/bin/sdkmanager "platforms;android-30" >/dev/null &&     echo y | /android-sdk-linux/cmdline-tools/latest/bin/sdkmanager "platform-tools" >/dev/null &&     echo y | /android-sdk-linux/cmdline-tools/latest/bin/sdkmanager "build-tools;30.0.2" >/dev/null &&     wget --quiet -N --output-document=android-ndk.zip https://dl.google.com/android/repository/android-ndk-r21b-linux-x86_64.zip &&     mkdir /android-ndk-linux &&     unzip -d /android-ndk-linux android-ndk.zip &&     rm android-ndk.zip &&     gem install rake &&     gem install fastlane -NV &&     gem install fastlane-plugin-firebase_app_distribution -NV &&     gem sources -c &&     curl https://sh.rustup.rs -sSf | sh -s -- -y &&     cargo install cbindgen &&     cargo install cargo-cache &&     rustup target add          aarch64-linux-android          armv7-linux-androideabi          i686-linux-android          x86_64-linux-android &&     cargo cache -a:
#6 0.402 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
#6 0.473 Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
#6 0.582 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
#6 0.652 Get:4 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [105 kB]
#6 0.724 Get:5 http://deb.debian.org/debian bullseye/main arm64 Packages [8070 kB]
#6 2.338 Get:6 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [2600 B]
#6 2.941 Fetched 8377 kB in 3s (3065 kB/s)
#6 2.941 Reading package lists...
#6 3.208 Reading package lists...
#6 3.458 Building dependency tree...
#6 3.520 Reading state information...
#6 3.586 E: Unable to locate package lib32stdc++6
#6 3.586 E: Couldn't find any package by regex 'lib32stdc++6'
#6 3.586 E: Unable to locate package lib32z1
------
executor failed running [/bin/bash -c echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf &&     echo 'APT::Install-Recommends "false";' >> /etc/apt/apt.conf &&     apt-get --quiet update --yes &&     apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 cmake python3 build-essential libtool automake ninja-build curl xxd ruby ruby-dev &&     apt-get clean &&     wget --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS}_latest.zip &&     unzip -d $ANDROID_HOME android-sdk.zip &&     rm android-sdk.zip &&     wget -N --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS}_latest.zip &&     unzip -x android-sdk.zip &&     mkdir -p ${ANDROID_HOME}/cmdline-tools &&     mv cmdline-tools ${ANDROID_HOME}/cmdline-tools/latest &&     echo y | $SDKMANAGER "platforms;android-${ANDROID_COMPILE_SDK}" >/dev/null &&     echo y | $SDKMANAGER "platform-tools" >/dev/null &&     echo y | $SDKMANAGER "build-tools;${ANDROID_BUILD_TOOLS}" >/dev/null &&     wget --quiet -N --output-document=android-ndk.zip https://dl.google.com/android/repository/android-ndk-${ANDROID_NDK_VERSION}-linux-x86_64.zip &&     mkdir $ANDROID_NDK_FOLDER &&     unzip -d $ANDROID_NDK_FOLDER android-ndk.zip &&     rm android-ndk.zip &&     gem install rake &&     gem install fastlane -NV &&     gem install fastlane-plugin-firebase_app_distribution -NV &&     gem sources -c &&     curl https://sh.rustup.rs -sSf | sh -s -- -y &&     cargo install cbindgen &&     cargo install cargo-cache &&     rustup target add          aarch64-linux-android          armv7-linux-androideabi          i686-linux-android          x86_64-linux-android &&     cargo cache -a]: exit code: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant