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 failing #146

Open
BenBlumer opened this issue Nov 11, 2023 · 2 comments
Open

Build failing #146

BenBlumer opened this issue Nov 11, 2023 · 2 comments

Comments

@BenBlumer
Copy link

BenBlumer commented Nov 11, 2023

It looks like the build is failing again in the Actions for certain architectures.

It's also failing on my local machine (WSL2 - Ubuntu 22.04 x86_64):

$ git clone [email protected]:zmkfirmware/zmk-docker.git
$ cd zmk-docker
$ docker build .

...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for ca-certificates (20230311ubuntu0.20.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
ERROR: Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v/scripts/requirements-base.txt

The command '/bin/sh -c apt-get -y update   && if [ "$(uname -m)" = "x86_64" ]; then gcc_multilib="gcc-multilib"; else gcc_multilib=""; fi   && apt-get -y install --no-install-recommends   ccache   file   gcc   "${gcc_multilib}"   git   gperf   make   ninja-build   python3   python3-dev   python3-pip   python3-setuptools   python3-wheel   ssh   && pip3 install   -r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v${ZEPHYR_VERSION}/scripts/requirements-base.txt   && pip3 install cmake   && apt-get remove -y --purge   python3-dev   python3-pip   python3-setuptools   python3-wheel   && apt-get clean   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
@BenBlumer
Copy link
Author

Ah, ok. So it requires a bunch of mandatory build arguments.

e.g.:

docker build \
    --build-arg ZEPHYR_VERSION=3.2.0 \
    --build-arg ARCHITECTURE=x86_64 \
    --build-arg ZEPHYR_SDK_VERSION=0.15.2 \
    -t zmkfirmware/zmk-docker .
    

Worth adding to the readme?

@petejohanson
Copy link
Collaborator

Ah, ok. So it requires a bunch of mandatory build arguments.

e.g.:

docker build \
    --build-arg ZEPHYR_VERSION=3.2.0 \
    --build-arg ARCHITECTURE=x86_64 \
    --build-arg ZEPHYR_SDK_VERSION=0.15.2 \
    -t zmkfirmware/zmk-docker .
    

Worth adding to the readme?

Definitely would be nice to flesh that out in the README. You up for creating a PR with those details?

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

2 participants