GoogleContainerTools / skaffold

Easy and Repeatable Kubernetes Development
https://skaffold.dev/
Apache License 2.0
14.92k stars 1.62k forks source link

`skaffold dev` fails but `docker-compose up --build` works #7023

Closed GrantBirki closed 2 years ago

GrantBirki commented 2 years ago

Expected behavior

I expect skaffold dev to start and correctly launch a process in minikube

Actual behavior

skaffold dev fails when trying to build PyNaCl

Information

apiVersion: skaffold/v2beta26
kind: Config
metadata:
  name: errbot
build:
  artifacts:
  - image: errbot
    context: src/errbot
deploy:
  kubectl:
    manifests:
    - deployment.yaml
    - namespace.yaml
    - network.yaml
    - secret.yaml

Steps to reproduce the behavior

I have the following Dockerfile:

FROM python:3.9-alpine

WORKDIR /app

# install alpine dependencies
RUN apk add gcc musl-dev libffi-dev make libffi-dev libsodium-dev opus-dev ffmpeg zlib-dev jpeg-dev

# setup selenium
RUN echo "http://dl-4.alpinelinux.org/alpine/v3.14/main" >> /etc/apk/repositories && \
    echo "http://dl-4.alpinelinux.org/alpine/v3.14/community" >> /etc/apk/repositories
RUN apk update
RUN apk add chromium chromium-chromedriver xvfb

# install python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt

# create nonroot errbot user and switch to it
RUN adduser -D errbot
RUN chown -R errbot:errbot /app
RUN chown -R errbot:errbot /usr/local/lib/python3.9/site-packages/errbot
USER errbot

# init errbot
RUN errbot --init

# for discord / other backends
COPY --chown=errbot:errbot backend /app/backend
RUN pip install -r /app/backend/err-backend-discord/requirements.txt

# copy local files
COPY --chown=errbot:errbot config.py /app/config.py
COPY --chown=errbot:errbot plugins /app/plugins

ENTRYPOINT ["errbot", "-c", "/app/config.py"]

Logs from: skaffold dev -vdebug

Raw Logs ```console $ skaffold dev -vdebug DEBU[0000] skaffold API not starting as it's not requested subtask=-1 task=DevLoop INFO[0000] Skaffold &{Version:v1.35.2 ConfigVersion:skaffold/v2beta26 GitVersion: GitCommit:f8ae4e65bafdcfd39e4de67329b185432899c7ad BuildDate:2022-01-13T16:13:49Z GoVersion:go1.17 Compiler:gc Platform:linux/amd64 User:} subtask=-1 task=DevLoop INFO[0000] Loaded Skaffold defaults from "/home/birki/.skaffold/config" subtask=-1 task=DevLoop DEBU[0000] parsed 1 configs from configuration file /mnt/c/Code/errbot/skaffold.yaml subtask=-1 task=DevLoop DEBU[0000] Defaulting build type to local build subtask=-1 task=DevLoop INFO[0000] Using kubectl context: minikube subtask=-1 task=DevLoop INFO[0000] Using local-cluster=true from config subtask=-1 task=DevLoop DEBU[0000] Running command: [minikube version --output=json] subtask=-1 task=DevLoop DEBU[0000] Command output: [{"commit":"76b94fb3c4e8ac5062daf70d60cf03ddcc0a741b","minikubeVersion":"v1.24.0"} ] subtask=-1 task=DevLoop DEBU[0000] Running command: [/usr/local/bin/minikube docker-env --shell none -p minikube --user=skaffold] subtask=-1 task=DevLoop DEBU[0000] Command output: [DOCKER_TLS_VERIFY=1 DOCKER_HOST=tcp://127.0.0.1:24420 DOCKER_CERT_PATH=/home/birki/.minikube/certs MINIKUBE_ACTIVE_DOCKERD=minikube ] subtask=-1 task=DevLoop DEBU[0000] setting Docker user agent to skaffold-v1.35.2 subtask=-1 task=DevLoop INFO[0000] Using minikube docker daemon at tcp://127.0.0.1:24420 subtask=-1 task=DevLoop DEBU[0000] Using builder: local subtask=-1 task=DevLoop DEBU[0000] push value not present in NewBuilder, defaulting to false because cluster.PushImages is false subtask=-1 task=DevLoop INFO[0000] build concurrency first set to 1 parsed from *local.Builder[0] subtask=-1 task=DevLoop INFO[0000] final build concurrency value is 1 subtask=-1 task=DevLoop Listing files to watch... - errbot DEBU[0000] Found dependencies for dockerfile: [{requirements.txt /app true 15 15} {backend /app/backend false 38 38} {config.py /app/config.py false 42 42} {plugins /app/plugins false 43 43}] subtask=-1 task=DevLoop INFO[0001] List generated in 116.675ms subtask=-1 task=DevLoop Generating tags... - errbot -> DEBU[0001] Running command: [git describe --tags --always] subtask=-1 task=Build DEBU[0001] Command output: [v0.2.0-6-g710634b ] subtask=-1 task=Build DEBU[0001] Running command: [git status . --porcelain] subtask=-1 task=Build DEBU[0001] Command output: [] subtask=-1 task=Build errbot:v0.2.0-6-g710634b INFO[0001] Tags generated in 269.8184ms subtask=-1 task=Build Checking cache... DEBU[0001] Could not import artifact from Docker, building instead (import of missing images disabled) subtask=-1 task=Build - errbot: Not found. Building INFO[0001] Cache check completed in 184.7401ms subtask=-1 task=Build Starting build... Found [minikube] context, using local docker daemon. Building [errbot]... DEBU[0001] Running docker build: context: src/errbot, dockerfile: Dockerfile subtask=errbot task=Build DEBU[0001] Skipping credential configuration because docker-credential-gcloud is not on PATH. subtask=-1 task=DevLoop Sending build context to Docker daemon 3.279MB Step 1/19 : FROM python:3.9-alpine ---> e49e2f1d4108 Step 2/19 : WORKDIR /app ---> Using cache ---> 99cf95adf3be Step 3/19 : RUN apk add gcc musl-dev libffi-dev make libffi-dev libsodium-dev opus-dev ffmpeg zlib-dev jpeg-dev ---> Using cache ---> 5d6cbe9ad8d8 Step 4/19 : RUN echo "http://dl-4.alpinelinux.org/alpine/v3.14/main" >> /etc/apk/repositories && echo "http://dl-4.alpinelinux.org/alpine/v3.14/community" >> /etc/apk/repositories ---> Using cache ---> 564b1cb011ce Step 5/19 : RUN apk update ---> Using cache ---> edcb05e95cfc Step 6/19 : RUN apk add chromium chromium-chromedriver xvfb ---> Using cache ---> d7532c1a136a Step 7/19 : COPY requirements.txt . ---> Using cache ---> a268032fd8d5 Step 8/19 : RUN pip install -r requirements.txt ---> Running in 88b00b615476 Collecting errbot==6.1.8 Downloading errbot-6.1.8-py3-none-any.whl (201 kB) Collecting riotwatcher==3.1.3 Downloading riotwatcher-3.1.3-py3-none-any.whl (55 kB) Collecting PyNaCl==1.4.0 Downloading PyNaCl-1.4.0.tar.gz (3.4 MB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting pynamodb==5.1.0 Downloading pynamodb-5.1.0-py3-none-any.whl (56 kB) Collecting boto3==1.18.29 Downloading boto3-1.18.29-py3-none-any.whl (131 kB) Collecting yt-dlp==2021.11.10.1 Downloading yt_dlp-2021.11.10.1-py2.py3-none-any.whl (2.4 MB) Collecting youtube-search-python==1.5.1 Downloading youtube_search_python-1.5.1-py3-none-any.whl (72 kB) Collecting spotipy==2.19.0 Downloading spotipy-2.19.0-py3-none-any.whl (27 kB) Collecting gTTS==2.2.3 Downloading gTTS-2.2.3-py3-none-any.whl (25 kB) Collecting validators==0.18.2 Downloading validators-0.18.2-py3-none-any.whl (19 kB) Collecting psutil==5.8.0 Downloading psutil-5.8.0.tar.gz (470 kB) Collecting sentry-sdk==1.5.0 Downloading sentry_sdk-1.5.0-py2.py3-none-any.whl (140 kB) Collecting selenium==4.1.0 Downloading selenium-4.1.0-py3-none-any.whl (958 kB) Collecting PyVirtualDisplay==2.2 Downloading PyVirtualDisplay-2.2-py3-none-any.whl (15 kB) Collecting Pillow==9.0.0 Downloading Pillow-9.0.0.tar.gz (49.5 MB) Collecting deepmerge>=0.1.0 Downloading deepmerge-1.0.1-py3-none-any.whl (8.0 kB) Collecting Pygments>=2.0.2 Downloading Pygments-2.11.2-py3-none-any.whl (1.1 MB) Collecting webtest Downloading WebTest-3.0.0-py3-none-any.whl (31 kB) Collecting colorlog Downloading colorlog-6.6.0-py2.py3-none-any.whl (11 kB) Collecting dulwich>=0.19.16 Downloading dulwich-0.20.30.tar.gz (417 kB) Collecting markdown>=3.3 Downloading Markdown-3.3.6-py3-none-any.whl (97 kB) Collecting jinja2 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) Collecting pygments-markdown-lexer>=0.1.0.dev39 Downloading pygments-markdown-lexer-0.1.0.dev39.zip (28 kB) Collecting daemonize Downloading daemonize-2.5.0-py2.py3-none-any.whl (5.2 kB) Collecting flask Downloading Flask-2.0.2-py3-none-any.whl (95 kB) Collecting requests Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) Collecting pyOpenSSL Downloading pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB) Collecting ansi Downloading ansi-0.2.0.tar.gz (4.8 kB) Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (from errbot==6.1.8->-r requirements.txt (line 2)) (57.5.0) Collecting cffi>=1.4.1 Using cached cffi-1.15.0-cp39-cp39-linux_x86_64.whl Collecting six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting botocore>=1.12.54 Downloading botocore-1.23.38-py3-none-any.whl (8.5 MB) Downloading botocore-1.21.65-py3-none-any.whl (8.0 MB) Collecting s3transfer<0.6.0,>=0.5.0 Downloading s3transfer-0.5.0-py3-none-any.whl (79 kB) Collecting jmespath<1.0.0,>=0.7.1 Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB) Collecting pycryptodomex Downloading pycryptodomex-3.12.0.zip (3.7 MB) Collecting mutagen Downloading mutagen-1.45.1-py3-none-any.whl (218 kB) Collecting websockets Downloading websockets-10.1-cp39-cp39-musllinux_1_1_x86_64.whl (109 kB) Collecting httpx Downloading httpx-0.21.3-py3-none-any.whl (83 kB) Collecting urllib3>=1.26.0 Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB) Collecting click Downloading click-8.0.3-py3-none-any.whl (97 kB) Collecting decorator>=3.4.0 Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting certifi Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) Collecting trio~=0.17 Downloading trio-0.19.0-py3-none-any.whl (356 kB) Collecting trio-websocket~=0.9 Downloading trio_websocket-0.9.2-py3-none-any.whl (16 kB) Collecting EasyProcess Downloading EasyProcess-1.1-py3-none-any.whl (8.7 kB) Collecting python-dateutil<3.0.0,>=2.1 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.10.1-py3-none-any.whl (17 kB) Collecting zipp>=0.5 Downloading zipp-3.7.0-py3-none-any.whl (5.3 kB) Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.10-py3-none-any.whl (39 kB) Collecting sortedcontainers Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB) Collecting outcome Downloading outcome-1.1.0-py2.py3-none-any.whl (9.7 kB) Collecting attrs>=19.2.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) Collecting sniffio Downloading sniffio-1.2.0-py3-none-any.whl (10 kB) Collecting async-generator>=1.9 Downloading async_generator-1.10-py3-none-any.whl (18 kB) Collecting wsproto>=0.14 Downloading wsproto-1.0.0-py3-none-any.whl (24 kB) Collecting cryptography>=1.3.4 Downloading cryptography-36.0.1-cp36-abi3-musllinux_1_1_x86_64.whl (3.8 MB) Collecting h11<1,>=0.9.0 Downloading h11-0.12.0-py3-none-any.whl (54 kB) Collecting Werkzeug>=2.0 Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB) Collecting itsdangerous>=2.0 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (30 kB) Collecting rfc3986[idna2008]<2,>=1.3 Downloading rfc3986-1.5.0-py2.py3-none-any.whl (31 kB) Collecting httpcore<0.15.0,>=0.14.0 Downloading httpcore-0.14.5-py3-none-any.whl (67 kB) Collecting anyio==3.* Downloading anyio-3.5.0-py3-none-any.whl (79 kB) Collecting beautifulsoup4 Downloading beautifulsoup4-4.10.0-py3-none-any.whl (97 kB) Collecting waitress>=0.8.5 Downloading waitress-2.0.0-py3-none-any.whl (56 kB) Collecting WebOb>=1.2 Downloading WebOb-1.8.7-py2.py3-none-any.whl (114 kB) Collecting soupsieve>1.2 Downloading soupsieve-2.3.1-py3-none-any.whl (37 kB) Building wheels for collected packages: PyNaCl, psutil, Pillow, dulwich, pygments-markdown-lexer, ansi, pycryptodomex Building wheel for PyNaCl (PEP 517): started Building wheel for PyNaCl (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/local/bin/python /usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp9iriu9fh cwd: /tmp/pip-install-zymud_io/pynacl_75c735f588a94904962aae53677bf7a7 Complete output (323 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/nacl copying src/nacl/utils.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/public.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/signing.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/exceptions.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/hash.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/secret.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/__init__.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/encoding.py -> build/lib.linux-x86_64-3.9/nacl copying src/nacl/hashlib.py -> build/lib.linux-x86_64-3.9/nacl creating build/lib.linux-x86_64-3.9/nacl/pwhash copying src/nacl/pwhash/argon2id.py -> build/lib.linux-x86_64-3.9/nacl/pwhash copying src/nacl/pwhash/scrypt.py -> build/lib.linux-x86_64-3.9/nacl/pwhash copying src/nacl/pwhash/argon2i.py -> build/lib.linux-x86_64-3.9/nacl/pwhash copying src/nacl/pwhash/_argon2.py -> build/lib.linux-x86_64-3.9/nacl/pwhash copying src/nacl/pwhash/__init__.py -> build/lib.linux-x86_64-3.9/nacl/pwhash creating build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_secretstream.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/utils.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/randombytes.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_box.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_kx.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_core.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_aead.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/sodium_core.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/__init__.py -> build/lib.linux-x86_64-3.9/nacl/bindings copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-x86_64-3.9/nacl/bindings running build_clib checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /tmp/pip-install-zymud_io/pynacl_75c735f588a94904962aae53677bf7a7/src/libsodium/build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking whether make supports nested variables... no checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... none checking whether make supports nested variables... (cached) no checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /bin/sed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for gcc option to accept ISO C99... none needed checking dependency style of gcc... none checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for variable-length arrays... yes checking for __wasi__ defined... no checking for _FORTIFY_SOURCE defined... yes checking whether C compiler accepts -fvisibility=hidden... yes checking whether C compiler accepts -fPIC... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -fno-strict-overflow... yes checking whether C compiler accepts -fstack-protector... yes checking whether the linker accepts -fstack-protector... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wall... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra... yes checking for clang... no checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wshorten-64-to-32... no checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wsometimes-uninitialized... no checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wstrict-prototypes... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wstrict-prototypes -Wswitch-enum... yes checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no checking whether C compiler accepts -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict -Wstrict-prototypes -Wswitch-enum -Wwrite-strings... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether segmentation violations can be caught when using the C compiler... yes checking whether SIGABRT can be caught when using the C compiler... no configure: WARNING: On this platform, SIGABRT cannot be caught using signal handlers. checking for thread local storage (TLS) class... _Thread_local thread local storage is supported checking whether C compiler accepts -ftls-model=local-dynamic... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-pc-linux-musl file names to x86_64-pc-linux-musl format... func_convert_file_noop checking how to convert x86_64-pc-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 /tmp/pip-install-zymud_io/pynacl_75c735f588a94904962aae53677bf7a7/src/libsodium/configure: line 1: /usr/bin/file: not found checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ar... (cached) ar checking whether C compiler accepts -mmmx... yes checking for MMX instructions set... yes checking whether C compiler accepts -mmmx... (cached) yes checking whether C compiler accepts -msse2... yes checking for SSE2 instructions set... yes checking whether C compiler accepts -msse2... (cached) yes checking whether C compiler accepts -msse3... yes checking for SSE3 instructions set... yes checking whether C compiler accepts -msse3... (cached) yes checking whether C compiler accepts -mssse3... yes checking for SSSE3 instructions set... yes checking whether C compiler accepts -mssse3... (cached) yes checking whether C compiler accepts -msse4.1... yes checking for SSE4.1 instructions set... yes checking whether C compiler accepts -msse4.1... (cached) yes checking whether C compiler accepts -mavx... yes checking for AVX instructions set... yes checking whether C compiler accepts -mavx... (cached) yes checking whether C compiler accepts -mavx2... yes checking for AVX2 instructions set... yes checking whether C compiler accepts -mavx2... (cached) yes checking if _mm256_broadcastsi128_si256 is correctly defined... yes checking whether C compiler accepts -mavx512f... yes checking for AVX512F instructions set... yes checking whether C compiler accepts -mavx512f... (cached) yes checking whether C compiler accepts -maes... yes checking whether C compiler accepts -mpclmul... yes checking for AESNI instructions set and PCLMULQDQ... yes checking whether C compiler accepts -maes... (cached) yes checking whether C compiler accepts -mpclmul... (cached) yes checking whether C compiler accepts -mrdrnd... yes checking for RDRAND... yes checking whether C compiler accepts -mrdrnd... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking intrin.h usability... no checking intrin.h presence... no checking for intrin.h... no checking if _xgetbv() is available... no checking for inline... inline checking whether byte ordering is bigendian... (cached) no checking whether __STDC_LIMIT_MACROS is required... no checking whether we can use inline asm code... yes no checking whether we can use x86_64 asm code... yes checking whether we can assemble AVX opcodes... yes checking for 128-bit arithmetic... yes checking for cpuid instruction... yes checking if the .private_extern asm directive is supported... no checking if the .hidden asm directive is supported... yes checking if weak symbols are supported... yes checking if data alignment is required... no checking if atomic operations are supported... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for arc4random... no checking for arc4random_buf... no checking for mmap... yes checking for mlock... yes checking for madvise... yes checking for mprotect... yes checking for getrandom with a standard API... yes checking for getrandom... yes checking for getentropy with a standard API... yes checking for getentropy... yes checking for posix_memalign... yes checking for getpid... yes checking for nanosleep... yes checking for memset_s... no checking for explicit_bzero... yes checking for explicit_memset... no checking if gcc/ld supports -Wl,--output-def... not needed, shared libraries are disabled checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating builds/Makefile config.status: creating contrib/Makefile config.status: creating dist-build/Makefile config.status: creating libsodium.pc config.status: creating libsodium-uninstalled.pc config.status: creating msvc-scripts/Makefile config.status: creating src/Makefile config.status: creating src/libsodium/Makefile config.status: creating src/libsodium/include/Makefile config.status: creating src/libsodium/include/sodium/version.h config.status: creating test/default/Makefile config.status: creating test/Makefile config.status: executing depfiles commands config.status: executing libtool commands make: /bin/sh: Operation not permitted make: *** [Makefile:514: all-recursive] Error 127 Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in main() File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 248, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 230, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 216, in setup( File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 155, in setup return distutils.core.setup(**attrs) File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-ejvoqnli/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 184, in run subprocess.check_call(["make"] + make_args, cwd=build_temp) File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2. ---------------------------------------- ERROR: Failed building wheel for PyNaCl Building wheel for psutil (setup.py): started Building wheel for psutil (setup.py): finished with status 'done' Created wheel for psutil: filename=psutil-5.8.0-cp39-cp39-linux_x86_64.whl size=227211 sha256=616de6f0e0b040bfd3decfd6a059a92f892c3d69465fdff2f4fd3047ed0fa851 Stored in directory: /root/.cache/pip/wheels/ee/66/e6/aecfd75e0bd554fc1b4dd982e9088dbdc79d10c3601cf3d7f3 Building wheel for Pillow (setup.py): started Building wheel for Pillow (setup.py): finished with status 'done' Created wheel for Pillow: filename=Pillow-9.0.0-cp39-cp39-linux_x86_64.whl size=558896 sha256=7d677c2907bc447e47022b4253adc6ab84afe2779f79ebbe0361e3a05df36535 Stored in directory: /root/.cache/pip/wheels/84/8a/d3/34bdf98c0b83d98ef2511afdfd3f522849934226ae12d2714b Building wheel for dulwich (setup.py): started Building wheel for dulwich (setup.py): finished with status 'done' Created wheel for dulwich: filename=dulwich-0.20.30-cp39-cp39-linux_x86_64.whl size=482305 sha256=49494c491b1740bea369536fc944ed90e4373cceeb412b17a332d2ad38a10289 Stored in directory: /root/.cache/pip/wheels/06/22/53/2b55a08b8959e10ece37e39edd96c3cf31a7f21375d75957fe Building wheel for pygments-markdown-lexer (setup.py): started Building wheel for pygments-markdown-lexer (setup.py): finished with status 'done' Created wheel for pygments-markdown-lexer: filename=pygments_markdown_lexer-0.1.0.dev39-py2.py3-none-any.whl size=17885 sha256=df964e7659e3136ff1be97ba258da2b25d0b5514d1f21f1d729d082180260751 Stored in directory: /root/.cache/pip/wheels/7e/73/9e/d0de1cfb53306b556e4a2c4c5a5f8511e3d6d1539d828bc189 Building wheel for ansi (setup.py): started Building wheel for ansi (setup.py): finished with status 'done' Created wheel for ansi: filename=ansi-0.2.0-py3-none-any.whl size=7709 sha256=9896c9bfd7147f439e1d8688df0dc736b125ecf02f372921ea5781a59dd797dd Stored in directory: /root/.cache/pip/wheels/6d/eb/3c/7e51753a2b0d457c09a72cbd6d72913c73951e487a5750f5d6 Building wheel for pycryptodomex (setup.py): started Building wheel for pycryptodomex (setup.py): finished with status 'done' Created wheel for pycryptodomex: filename=pycryptodomex-3.12.0-cp35-abi3-linux_x86_64.whl size=1513425 sha256=8c8b6331749db9d60fdacb710636d9b9bbe71c27c0a123303bad0884cd13f754 Stored in directory: /root/.cache/pip/wheels/46/b1/75/e337228f644989ababb272dcc92164cbf627e1d5bf69958b9e Successfully built psutil Pillow dulwich pygments-markdown-lexer ansi pycryptodomex Failed to build PyNaCl ERROR: Could not build wheels for PyNaCl which use PEP 517 and cannot be installed directly WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. DEBU[0061] Running command: [tput colors] subtask=-1 task=DevLoop DEBU[0061] Command output: [256 ] subtask=-1 task=DevLoop unable to stream build output: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1. Please fix the Dockerfile and try again.. DEBU[0061] exporting metrics subtask=-1 task=DevLoop ```

Summary

When running docker-compose up --build for my project it works as expected. When running skaffold dev it fails to build the PyNaCl Python library. This is my first time using Skaffold and wanted to include it in an existing project and I am running into this error.

Any help would be super appreciated!! 🙏

GrantBirki commented 2 years ago

Update:

Running the same command on my same repo works when on a Linux system and NOT using Windows + WSL. Still confused as to why its failing on WSL so hopefully this info can help with debugging

tejal29 commented 2 years ago

decreasing priority due to low bandwidth.