Skip to content

Broken dependency #23

@joshhubert-dsp

Description

@joshhubert-dsp

Hi, I liked the simplicity of this action, but it appears to be broken because the version of cffi needed doesn't have access to gcc for some reason. Maybe it's an easy version bump fix?

Here's the error spew:

Build container for action use: '/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0/Dockerfile'.
  /usr/bin/docker build -t 704a1d:2816f50680e04daa8efb462b9ea2fe6a -f "/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0/Dockerfile" "/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 337B done
  #1 DONE 0.0s
  
  #2 [internal] load metadata for docker.io/library/python:3.7-alpine
  #2 ...
  
  #3 [auth] library/python:pull token for registry-1.docker.io
  #3 DONE 0.0s
  
  #2 [internal] load metadata for docker.io/library/python:3.7-alpine
  #2 DONE 0.8s
  
  #4 [internal] load .dockerignore
  #4 transferring context: 51B done
  #4 DONE 0.0s
  
  #5 [internal] load build context
  #5 transferring context: 4.68kB done
  #5 DONE 0.0s
  
  #6 [1/6] FROM docker.io/library/python:3.7-alpine@sha256:f3d31c8677d03f0b3c724446077f229a6ce9d3ac430f5c08cd7dff00292048c3
  #6 resolve docker.io/library/python:3.7-alpine@sha256:f3d31c8677d03f0b3c724446077f229a6ce9d3ac430f5c08cd7dff00292048c3 done
  #6 sha256:4819c95424fc4a94767c9329b02238ebcce0bc682384cb671379bc1fb8a12b55 0B / 10.94MB 0.1s
  #6 sha256:f3d31c8677d03f0b3c724446077f229a6ce9d3ac430f5c08cd7dff00292048c3 1.65kB / 1.65kB done
  #6 sha256:e6da3ee9bb64dd12b98fa609487f112fe1e365522e6e8345309db15c22a80a51 1.37kB / 1.37kB done
  #6 sha256:1bac8ae77e4af0b868b62a75115616a20e025e0451eeed05d94a4cfc4523e58a 6.87kB / 6.87kB done
  #6 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0B / 3.40MB 0.1s
  #6 sha256:9875af95546db78168a6761b7fa205ed1cd0c153cd89356c1512e551c12b2d5c 0B / 622.29kB 0.1s
  #6 sha256:4819c95424fc4a94767c9329b02238ebcce0bc682384cb671379bc1fb8a12b55 3.15MB / 10.94MB 0.2s
  #6 sha256:4819c95424fc4a94767c9329b02238ebcce0bc682384cb671379bc1fb8a12b55 10.94MB / 10.94MB 0.2s done
  #6 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 1.05MB / 3.40MB 0.3s
  #6 sha256:148762f75a1f92cc9857e9c488bf95d5aac61e9905ec47a7408025b2dd5c3b7a 0B / 240B 0.3s
  #6 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.3s done
  #6 sha256:9875af95546db78168a6761b7fa205ed1cd0c153cd89356c1512e551c12b2d5c 622.29kB / 622.29kB 0.3s done
  #6 sha256:148762f75a1f92cc9857e9c488bf95d5aac61e9905ec47a7408025b2dd5c3b7a 240B / 240B 0.3s done
  #6 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done
  #6 sha256:ea1518237b3753b3fe40ee773d77651704178d9baa72ae5012e13a992cfa6c63 0B / 2.85MB 0.4s
  #6 extracting sha256:9875af95546db78168a6761b7fa205ed1cd0c153cd89356c1512e551c12b2d5c
  #6 sha256:ea1518237b3753b3fe40ee773d77651704178d9baa72ae5012e13a992cfa6c63 2.85MB / 2.85MB 0.4s done
  #6 extracting sha256:9875af95546db78168a6761b7fa205ed1cd0c153cd89356c1512e551c12b2d5c 0.2s done
  #6 extracting sha256:4819c95424fc4a94767c9329b02238ebcce0bc682384cb671379bc1fb8a12b55
  #6 extracting sha256:4819c95424fc4a94767c9329b02238ebcce0bc682384cb671379bc1fb8a12b55 0.4s done
  #6 extracting sha256:148762f75a1f92cc9857e9c488bf95d5aac61e9905ec47a7408025b2dd5c3b7a
  #6 extracting sha256:148762f75a1f92cc9857e9c488bf95d5aac61e9905ec47a7408025b2dd5c3b7a done
  #6 extracting sha256:ea1518237b3753b3fe40ee773d77651704178d9baa72ae5012e13a992cfa6c63 0.1s
  #6 extracting sha256:ea1518237b3753b3fe40ee773d77651704178d9baa72ae5012e13a992cfa6c63 0.2s done
  #6 DONE 4.2s
  
  #7 [2/6] RUN apk update && apk --no-cache add git
  #7 0.133 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
  #7 0.447 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
  #7 0.791 v3.18.12-143-gef09cc17ad9 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
  #7 0.791 v3.18.12-132-ge2ea6f61358 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
  #7 0.791 OK: 20086 distinct packages available
  #7 0.842 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
  #7 1.003 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
  #7 1.215 (1/8) Installing brotli-libs (1.0.9-r14)
  #7 1.240 (2/8) Installing libunistring (1.1-r1)
  #7 1.268 (3/8) Installing libidn2 (2.3.4-r1)
  #7 1.287 (4/8) Installing nghttp2-libs (1.57.0-r0)
  #7 1.307 (5/8) Installing libpsl (0.21.5-r0)
  #7 1.326 (6/8) Installing libcurl (8.12.1-r0)
  #7 1.350 (7/8) Installing pcre2 (10.42-r1)
  #7 1.373 (8/8) Installing git (2.40.4-r0)
  #7 1.448 Executing busybox-1.36.1-r2.trigger
  #7 1.455 OK: 26 MiB in 46 packages
  #7 DONE 1.5s
  
  #8 [3/6] COPY ./requirements.txt /app/requirements.txt
  #8 DONE 0.0s
  
  #9 [4/6] RUN pip install --no-cache -r /app/requirements.txt
  #9 1.595 Collecting marko>=0.9.1
  #9 1.671   Downloading marko-2.0.3-py3-none-any.whl (42 kB)
  #9 1.688      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.9/42.9 kB 2.3 MB/s eta 0:00:00
  #9 1.957 Collecting pydantic<1.7.0,>=1.6.1
  #9 1.977   Downloading pydantic-1.6.2-py36.py37.py38-none-any.whl (99 kB)
  #9 1.996      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.3/99.3 kB 5.6 MB/s eta 0:00:00
  #9 2.041 Collecting PyGithub
  #9 2.060   Downloading PyGithub-2.3.0-py3-none-any.whl (354 kB)
  #9 2.083      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 354.4/354.4 kB 16.9 MB/s eta 0:00:00
  #9 2.145 Collecting pyjwt[crypto]>=2.4.0
  #9 2.164   Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB)
  #9 2.203 Collecting typing-extensions>=4.0.0
  #9 2.223   Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
  #9 2.261 Collecting Deprecated
  #9 2.281   Downloading deprecated-1.3.1-py2.py3-none-any.whl (11 kB)
  #9 2.326 Collecting pynacl>=1.4.0
  #9 2.346   Downloading PyNaCl-1.5.0-cp36-abi3-musllinux_1_1_x86_64.whl (1.1 MB)
  #9 2.370      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 51.7 MB/s eta 0:00:00
  #9 2.429 Collecting requests>=2.14.0
  #9 2.449   Downloading requests-2.31.0-py3-none-any.whl (62 kB)
  #9 2.451      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 149.0 MB/s eta 0:00:00
  #9 2.519 Collecting urllib3>=1.26.0
  #9 2.538   Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
  #9 2.542      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 207.0 MB/s eta 0:00:00
  #9 2.901 Collecting cryptography>=3.4.0
  #9 2.922   Downloading cryptography-45.0.7-cp37-abi3-musllinux_1_2_x86_64.whl (4.6 MB)
  #9 2.956      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 148.8 MB/s eta 0:00:00
  #9 3.147 Collecting cffi>=1.4.1
  #9 3.168   Downloading cffi-1.15.1.tar.gz (508 kB)
  #9 3.174      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 kB 174.4 MB/s eta 0:00:00
  #9 3.259   Preparing metadata (setup.py): started
  #9 3.625   Preparing metadata (setup.py): finished with status 'done'
  #9 3.667 Collecting idna<4,>=2.5
  #9 3.686   Downloading idna-3.10-py3-none-any.whl (70 kB)
  #9 3.689      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 143.3 MB/s eta 0:00:00
  #9 3.839 Collecting charset-normalizer<4,>=2
  #9 3.859   Downloading charset_normalizer-3.4.4-py3-none-any.whl (53 kB)
  #9 3.861      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.4/53.4 kB 144.1 MB/s eta 0:00:00
  #9 3.915 Collecting certifi>=2017.4.17
  #9 3.934   Downloading certifi-2025.11.12-py3-none-any.whl (159 kB)
  #9 3.937      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.4/159.4 kB 221.9 MB/s eta 0:00:00
  #9 4.223 Collecting wrapt<3,>=1.10
  #9 4.243   Downloading wrapt-1.16.0-cp37-cp37m-musllinux_1_1_x86_64.whl (82 kB)
  #9 4.246      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.9/82.9 kB 124.5 MB/s eta 0:00:00
  #9 4.276 Collecting pycparser
  #9 4.296   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  #9 4.299      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 135.5 MB/s eta 0:00:00
  #9 4.355 Building wheels for collected packages: cffi
  #9 4.355   Building wheel for cffi (setup.py): started
  #9 4.645   Building wheel for cffi (setup.py): finished with status 'error'
  #9 4.653   error: subprocess-exited-with-error
  #9 4.653   
  #9 4.653   × python setup.py bdist_wheel did not run successfully.
  #9 4.653   │ exit code: 1
  #9 4.653   ╰─> [48 lines of output]
  #9 4.653       unable to execute 'gcc': No such file or directory
  #9 4.653       unable to execute 'gcc': No such file or directory
  #9 4.653       
  #9 4.653           No working compiler found, or bogus compiler options passed to
  #9 4.653           the compiler from Python's standard "distutils" module.  See
  #9 4.653           the error messages above.  Likely, the problem is not related
  #9 4.653           to CFFI but generic to the setup.py of any Python package that
  #9 4.653           tries to compile C code.  (Hints: on OS/X 10.8, for errors about
  #9 4.653           -mno-fused-madd see http://stackoverflow.com/questions/22313407/
  #9 4.653           Otherwise, see https://wiki.python.org/moin/CompLangPython or
  #9 4.653           the IRC channel #python on irc.libera.chat.)
  #9 4.653       
  #9 4.653           Trying to continue anyway.  If you are trying to install CFFI from
  #9 4.653           a build done in a different context, you can ignore this warning.
  #9 4.653       
  #9 4.653       running bdist_wheel
  #9 4.653       running build
  #9 4.653       running build_py
  #9 4.653       creating build
  #9 4.653       creating build/lib.linux-x86_64-3.7
  #9 4.653       creating build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
  #9 4.653       running build_ext
  #9 4.653       building '_cffi_backend' extension
  #9 4.653       creating build/temp.linux-x86_64-3.7
  #9 4.653       creating build/temp.linux-x86_64-3.7/c
  #9 4.653       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
  #9 4.653       unable to execute 'gcc': No such file or directory
  #9 4.653       error: command 'gcc' failed with exit status 1
  #9 4.653       [end of output]
  #9 4.653   
  #9 4.653   note: This error originates from a subprocess, and is likely not a problem with pip.
  #9 4.654   ERROR: Failed building wheel for cffi
  #9 4.655   Running setup.py clean for cffi
  #9 4.846 Failed to build cffi
  #9 4.969 Installing collected packages: wrapt, urllib3, typing-extensions, pydantic, pycparser, marko, idna, charset-normalizer, certifi, requests, pyjwt, Deprecated, cffi, pynacl, cryptography, PyGithub
  #9 5.475   Running setup.py install for cffi: started
  #9 5.690   Running setup.py install for cffi: finished with status 'error'
  #9 5.695   error: subprocess-exited-with-error
  #9 5.695   
  #9 5.695   × Running setup.py install for cffi did not run successfully.
  #9 5.695   │ exit code: 1
  #9 5.695   ╰─> [48 lines of output]
  #9 5.695       unable to execute 'gcc': No such file or directory
  #9 5.695       unable to execute 'gcc': No such file or directory
  #9 5.695       
  #9 5.695           No working compiler found, or bogus compiler options passed to
  #9 5.695           the compiler from Python's standard "distutils" module.  See
  #9 5.695           the error messages above.  Likely, the problem is not related
  #9 5.695           to CFFI but generic to the setup.py of any Python package that
  #9 5.695           tries to compile C code.  (Hints: on OS/X 10.8, for errors about
  #9 5.695           -mno-fused-madd see http://stackoverflow.com/questions/22313407/
  #9 5.695           Otherwise, see https://wiki.python.org/moin/CompLangPython or
  #9 5.695           the IRC channel #python on irc.libera.chat.)
  #9 5.695       
  #9 5.695           Trying to continue anyway.  If you are trying to install CFFI from
  #9 5.695           a build done in a different context, you can ignore this warning.
  #9 5.695       
  #9 5.695       running install
  #9 5.695       running build
  #9 5.695       running build_py
  #9 5.695       creating build
  #9 5.695       creating build/lib.linux-x86_64-3.7
  #9 5.695       creating build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
  #9 5.695       running build_ext
  #9 5.695       building '_cffi_backend' extension
  #9 5.695       creating build/temp.linux-x86_64-3.7
  #9 5.695       creating build/temp.linux-x86_64-3.7/c
  #9 5.695       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
  #9 5.695       unable to execute 'gcc': No such file or directory
  #9 5.695       error: command 'gcc' failed with exit status 1
  #9 5.695       [end of output]
  #9 5.695   
  #9 5.695   note: This error originates from a subprocess, and is likely not a problem with pip.
  #9 5.698 error: legacy-install-failure
  #9 5.698 
  #9 5.698 × Encountered error while trying to install package.
  #9 5.698 ╰─> cffi
  #9 5.698 
  #9 5.698 note: This is an issue with the package mentioned above, not pip.
  #9 5.698 hint: See above for output from the failure.
  #9 5.838 
  #9 5.838 [notice] A new release of pip is available: 23.0.1 -> 24.0
  #9 5.838 [notice] To update, run: pip install --upgrade pip
  #9 ERROR: process "/bin/sh -c pip install --no-cache -r /app/requirements.txt" did not complete successfully: exit code: 1
  ------
   > [4/6] RUN pip install --no-cache -r /app/requirements.txt:
  5.698 error: legacy-install-failure
  5.698 
  5.698 × Encountered error while trying to install package.
  5.698 ╰─> cffi
  5.698 
  5.698 note: This is an issue with the package mentioned above, not pip.
  5.698 hint: See above for output from the failure.
  5.838 
  Notice: 5.838 [notice] A new release of pip is available: 23.0.1 -> 24.0
  Notice: 5.838 [notice] To update, run: pip install --upgrade pip
  ------
  Dockerfile:7
  --------------------
     5 |     COPY ./requirements.txt /app/requirements.txt
     6 |     
     7 | >>> RUN pip install --no-cache -r /app/requirements.txt
     8 |     
     9 |     COPY ./markdown_embed_code /app/markdown_embed_code
  --------------------
  ERROR: failed to build: failed to solve: process "/bin/sh -c pip install --no-cache -r /app/requirements.txt" did not complete successfully: exit code: 1
  Warning: Docker build failed with exit code 1, back off 2.017 seconds before retry.
  /usr/bin/docker build -t 704a1d:2816f50680e04daa8efb462b9ea2fe6a -f "/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0/Dockerfile" "/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 337B done
  #1 DONE 0.0s
  
  #2 [internal] load metadata for docker.io/library/python:3.7-alpine
  #2 DONE 0.1s
  
  #3 [internal] load .dockerignore
  #3 transferring context: 51B done
  #3 DONE 0.0s
  
  #4 [1/6] FROM docker.io/library/python:3.7-alpine@sha256:f3d31c8677d03f0b3c724446077f229a6ce9d3ac430f5c08cd7dff00292048c3
  #4 DONE 0.0s
  
  #5 [internal] load build context
  #5 transferring context: 178B done
  #5 DONE 0.0s
  
  #6 [2/6] RUN apk update && apk --no-cache add git
  #6 CACHED
  
  #7 [3/6] COPY ./requirements.txt /app/requirements.txt
  #7 CACHED
  
  #8 [4/6] RUN pip install --no-cache -r /app/requirements.txt
  #8 1.575 Collecting marko>=0.9.1
  #8 1.652   Downloading marko-2.0.3-py3-none-any.whl (42 kB)
  #8 1.669      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.9/42.9 kB 2.3 MB/s eta 0:00:00
  #8 1.937 Collecting pydantic<1.7.0,>=1.6.1
  #8 1.959   Downloading pydantic-1.6.2-py36.py37.py38-none-any.whl (99 kB)
  #8 1.976      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.3/99.3 kB 6.0 MB/s eta 0:00:00
  #8 2.025 Collecting PyGithub
  #8 2.045   Downloading PyGithub-2.3.0-py3-none-any.whl (354 kB)
  #8 2.068      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 354.4/354.4 kB 17.6 MB/s eta 0:00:00
  #8 2.131 Collecting pynacl>=1.4.0
  #8 2.151   Downloading PyNaCl-1.5.0-cp36-abi3-musllinux_1_1_x86_64.whl (1.1 MB)
  #8 2.175      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 52.2 MB/s eta 0:00:00
  #8 2.215 Collecting Deprecated
  #8 2.234   Downloading deprecated-1.3.1-py2.py3-none-any.whl (11 kB)
  #8 2.272 Collecting pyjwt[crypto]>=2.4.0
  #8 2.291   Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB)
  #8 2.330 Collecting typing-extensions>=4.0.0
  #8 2.350   Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
  #8 2.417 Collecting urllib3>=1.26.0
  #8 2.437   Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
  #8 2.440      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 190.2 MB/s eta 0:00:00
  #8 2.498 Collecting requests>=2.14.0
  #8 2.518   Downloading requests-2.31.0-py3-none-any.whl (62 kB)
  #8 2.521      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 166.1 MB/s eta 0:00:00
  #8 2.893 Collecting cryptography>=3.4.0
  #8 2.916   Downloading cryptography-45.0.7-cp37-abi3-musllinux_1_2_x86_64.whl (4.6 MB)
  #8 2.949      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 148.7 MB/s eta 0:00:00
  #8 3.144 Collecting cffi>=1.4.1
  #8 3.165   Downloading cffi-1.15.1.tar.gz (508 kB)
  #8 3.171      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 kB 172.1 MB/s eta 0:00:00
  #8 3.255   Preparing metadata (setup.py): started
  #8 3.626   Preparing metadata (setup.py): finished with status 'done'
  #8 3.677 Collecting certifi>=2017.4.17
  #8 3.697   Downloading certifi-2025.11.12-py3-none-any.whl (159 kB)
  #8 3.701      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.4/159.4 kB 155.6 MB/s eta 0:00:00
  #8 3.746 Collecting idna<4,>=2.5
  #8 3.766   Downloading idna-3.10-py3-none-any.whl (70 kB)
  #8 3.769      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 142.0 MB/s eta 0:00:00
  #8 3.921 Collecting charset-normalizer<4,>=2
  #8 3.942   Downloading charset_normalizer-3.4.4-py3-none-any.whl (53 kB)
  #8 3.945      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.4/53.4 kB 146.1 MB/s eta 0:00:00
  #8 4.205 Collecting wrapt<3,>=1.10
  #8 4.225   Downloading wrapt-1.16.0-cp37-cp37m-musllinux_1_1_x86_64.whl (82 kB)
  #8 4.266      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.9/82.9 kB 111.4 MB/s eta 0:00:00
  #8 4.297 Collecting pycparser
  #8 4.316   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  #8 4.320      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 124.1 MB/s eta 0:00:00
  #8 4.375 Building wheels for collected packages: cffi
  #8 4.376   Building wheel for cffi (setup.py): started
  #8 4.673   Building wheel for cffi (setup.py): finished with status 'error'
  #8 4.682   error: subprocess-exited-with-error
  #8 4.682   
  #8 4.682   × python setup.py bdist_wheel did not run successfully.
  #8 4.682   │ exit code: 1
  #8 4.682   ╰─> [48 lines of output]
  #8 4.682       unable to execute 'gcc': No such file or directory
  #8 4.682       unable to execute 'gcc': No such file or directory
  #8 4.682       
  #8 4.682           No working compiler found, or bogus compiler options passed to
  #8 4.682           the compiler from Python's standard "distutils" module.  See
  #8 4.682           the error messages above.  Likely, the problem is not related
  #8 4.682           to CFFI but generic to the setup.py of any Python package that
  #8 4.682           tries to compile C code.  (Hints: on OS/X 10.8, for errors about
  #8 4.682           -mno-fused-madd see http://stackoverflow.com/questions/22313407/
  #8 4.682           Otherwise, see https://wiki.python.org/moin/CompLangPython or
  #8 4.682           the IRC channel #python on irc.libera.chat.)
  #8 4.682       
  #8 4.682           Trying to continue anyway.  If you are trying to install CFFI from
  #8 4.682           a build done in a different context, you can ignore this warning.
  #8 4.682       
  #8 4.682       running bdist_wheel
  #8 4.682       running build
  #8 4.682       running build_py
  #8 4.682       creating build
  #8 4.682       creating build/lib.linux-x86_64-3.7
  #8 4.682       creating build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.682       running build_ext
  #8 4.682       building '_cffi_backend' extension
  #8 4.682       creating build/temp.linux-x86_64-3.7
  #8 4.682       creating build/temp.linux-x86_64-3.7/c
  #8 4.682       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
  #8 4.682       unable to execute 'gcc': No such file or directory
  #8 4.682       error: command 'gcc' failed with exit status 1
  #8 4.682       [end of output]
  #8 4.682   
  #8 4.682   note: This error originates from a subprocess, and is likely not a problem with pip.
  #8 4.682   ERROR: Failed building wheel for cffi
  #8 4.683   Running setup.py clean for cffi
  #8 4.880 Failed to build cffi
  #8 5.005 Installing collected packages: wrapt, urllib3, typing-extensions, pydantic, pycparser, marko, idna, charset-normalizer, certifi, requests, pyjwt, Deprecated, cffi, pynacl, cryptography, PyGithub
  #8 5.504   Running setup.py install for cffi: started
  #8 5.726   Running setup.py install for cffi: finished with status 'error'
  #8 5.731   error: subprocess-exited-with-error
  #8 5.731   
  #8 5.731   × Running setup.py install for cffi did not run successfully.
  #8 5.731   │ exit code: 1
  #8 5.731   ╰─> [48 lines of output]
  #8 5.731       unable to execute 'gcc': No such file or directory
  #8 5.731       unable to execute 'gcc': No such file or directory
  #8 5.731       
  #8 5.731           No working compiler found, or bogus compiler options passed to
  #8 5.731           the compiler from Python's standard "distutils" module.  See
  #8 5.731           the error messages above.  Likely, the problem is not related
  #8 5.731           to CFFI but generic to the setup.py of any Python package that
  #8 5.731           tries to compile C code.  (Hints: on OS/X 10.8, for errors about
  #8 5.731           -mno-fused-madd see http://stackoverflow.com/questions/22313407/
  #8 5.731           Otherwise, see https://wiki.python.org/moin/CompLangPython or
  #8 5.731           the IRC channel #python on irc.libera.chat.)
  #8 5.731       
  #8 5.731           Trying to continue anyway.  If you are trying to install CFFI from
  #8 5.731           a build done in a different context, you can ignore this warning.
  #8 5.731       
  #8 5.731       running install
  #8 5.731       running build
  #8 5.731       running build_py
  #8 5.731       creating build
  #8 5.731       creating build/lib.linux-x86_64-3.7
  #8 5.731       creating build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.731       running build_ext
  #8 5.731       building '_cffi_backend' extension
  #8 5.731       creating build/temp.linux-x86_64-3.7
  #8 5.731       creating build/temp.linux-x86_64-3.7/c
  #8 5.731       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
  #8 5.731       unable to execute 'gcc': No such file or directory
  #8 5.731       error: command 'gcc' failed with exit status 1
  #8 5.731       [end of output]
  #8 5.731   
  #8 5.731   note: This error originates from a subprocess, and is likely not a problem with pip.
  #8 5.733 error: legacy-install-failure
  #8 5.733 
  #8 5.733 × Encountered error while trying to install package.
  #8 5.733 ╰─> cffi
  #8 5.733 
  #8 5.733 note: This is an issue with the package mentioned above, not pip.
  #8 5.733 hint: See above for output from the failure.
  #8 5.877 
  #8 5.877 [notice] A new release of pip is available: 23.0.1 -> 24.0
  #8 5.877 [notice] To update, run: pip install --upgrade pip
  #8 ERROR: process "/bin/sh -c pip install --no-cache -r /app/requirements.txt" did not complete successfully: exit code: 1
  ------
   > [4/6] RUN pip install --no-cache -r /app/requirements.txt:
  5.733 error: legacy-install-failure
  5.733 
  5.733 × Encountered error while trying to install package.
  5.733 ╰─> cffi
  5.733 
  5.733 note: This is an issue with the package mentioned above, not pip.
  5.733 hint: See above for output from the failure.
  5.877 
  Notice: 5.877 [notice] A new release of pip is available: 23.0.1 -> 24.0
  Notice: 5.877 [notice] To update, run: pip install --upgrade pip
  ------
  Dockerfile:7
  --------------------
     5 |     COPY ./requirements.txt /app/requirements.txt
     6 |     
     7 | >>> RUN pip install --no-cache -r /app/requirements.txt
     8 |     
     9 |     COPY ./markdown_embed_code /app/markdown_embed_code
  --------------------
  ERROR: failed to build: failed to solve: process "/bin/sh -c pip install --no-cache -r /app/requirements.txt" did not complete successfully: exit code: 1
  Warning: Docker build failed with exit code 1, back off 9.124 seconds before retry.
  /usr/bin/docker build -t 704a1d:2816f50680e04daa8efb462b9ea2fe6a -f "/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0/Dockerfile" "/home/runner/work/_actions/tokusumi/markdown-embed-code/v1.0.0"
  #0 building with "default" instance using docker driver
  
  #1 [internal] load build definition from Dockerfile
  #1 transferring dockerfile: 337B done
  #1 DONE 0.0s
  
  #2 [internal] load metadata for docker.io/library/python:3.7-alpine
  #2 DONE 0.1s
  
  #3 [internal] load .dockerignore
  #3 transferring context: 51B done
  #3 DONE 0.0s
  
  #4 [1/6] FROM docker.io/library/python:3.7-alpine@sha256:f3d31c8677d03f0b3c724446077f229a6ce9d3ac430f5c08cd7dff00292048c3
  #4 DONE 0.0s
  
  #5 [internal] load build context
  #5 transferring context: 178B done
  #5 DONE 0.0s
  
  #6 [2/6] RUN apk update && apk --no-cache add git
  #6 CACHED
  
  #7 [3/6] COPY ./requirements.txt /app/requirements.txt
  #7 CACHED
  
  #8 [4/6] RUN pip install --no-cache -r /app/requirements.txt
  #8 1.601 Collecting marko>=0.9.1
  #8 1.677   Downloading marko-2.0.3-py3-none-any.whl (42 kB)
  #8 1.696      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.9/42.9 kB 2.1 MB/s eta 0:00:00
  #8 1.962 Collecting pydantic<1.7.0,>=1.6.1
  #8 1.983   Downloading pydantic-1.6.2-py36.py37.py38-none-any.whl (99 kB)
  #8 2.001      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.3/99.3 kB 5.9 MB/s eta 0:00:00
  #8 2.051 Collecting PyGithub
  #8 2.070   Downloading PyGithub-2.3.0-py3-none-any.whl (354 kB)
  #8 2.094      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 354.4/354.4 kB 16.4 MB/s eta 0:00:00
  #8 2.154 Collecting pyjwt[crypto]>=2.4.0
  #8 2.173   Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB)
  #8 2.218 Collecting pynacl>=1.4.0
  #8 2.239   Downloading PyNaCl-1.5.0-cp36-abi3-musllinux_1_1_x86_64.whl (1.1 MB)
  #8 2.276      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 32.4 MB/s eta 0:00:00
  #8 2.318 Collecting typing-extensions>=4.0.0
  #8 2.337   Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
  #8 2.395 Collecting requests>=2.14.0
  #8 2.414   Downloading requests-2.31.0-py3-none-any.whl (62 kB)
  #8 2.417      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 142.5 MB/s eta 0:00:00
  #8 2.485 Collecting urllib3>=1.26.0
  #8 2.505   Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
  #8 2.508      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 177.3 MB/s eta 0:00:00
  #8 2.547 Collecting Deprecated
  #8 2.566   Downloading deprecated-1.3.1-py2.py3-none-any.whl (11 kB)
  #8 2.928 Collecting cryptography>=3.4.0
  #8 2.948   Downloading cryptography-45.0.7-cp37-abi3-musllinux_1_2_x86_64.whl (4.6 MB)
  #8 2.980      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 156.4 MB/s eta 0:00:00
  #8 3.176 Collecting cffi>=1.4.1
  #8 3.197   Downloading cffi-1.15.1.tar.gz (508 kB)
  #8 3.202      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.5/508.5 kB 176.6 MB/s eta 0:00:00
  #8 3.286   Preparing metadata (setup.py): started
  #8 3.662   Preparing metadata (setup.py): finished with status 'done'
  #8 3.727 Collecting certifi>=2017.4.17
  #8 3.746   Downloading certifi-2025.11.12-py3-none-any.whl (159 kB)
  #8 3.750      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.4/159.4 kB 158.0 MB/s eta 0:00:00
  #8 3.902 Collecting charset-normalizer<4,>=2
  #8 3.921   Downloading charset_normalizer-3.4.4-py3-none-any.whl (53 kB)
  #8 3.924      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.4/53.4 kB 137.7 MB/s eta 0:00:00
  #8 3.957 Collecting idna<4,>=2.5
  #8 3.977   Downloading idna-3.10-py3-none-any.whl (70 kB)
  #8 3.979      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 133.1 MB/s eta 0:00:00
  #8 4.239 Collecting wrapt<3,>=1.10
  #8 4.259   Downloading wrapt-1.16.0-cp37-cp37m-musllinux_1_1_x86_64.whl (82 kB)
  #8 4.300      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.9/82.9 kB 118.9 MB/s eta 0:00:00
  #8 4.330 Collecting pycparser
  #8 4.350   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  #8 4.353      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 134.1 MB/s eta 0:00:00
  #8 4.407 Building wheels for collected packages: cffi
  #8 4.408   Building wheel for cffi (setup.py): started
  #8 4.699   Building wheel for cffi (setup.py): finished with status 'error'
  #8 4.708   error: subprocess-exited-with-error
  #8 4.708   
  #8 4.708   × python setup.py bdist_wheel did not run successfully.
  #8 4.708   │ exit code: 1
  #8 4.708   ╰─> [48 lines of output]
  #8 4.708       unable to execute 'gcc': No such file or directory
  #8 4.708       unable to execute 'gcc': No such file or directory
  #8 4.708       
  #8 4.708           No working compiler found, or bogus compiler options passed to
  #8 4.708           the compiler from Python's standard "distutils" module.  See
  #8 4.708           the error messages above.  Likely, the problem is not related
  #8 4.708           to CFFI but generic to the setup.py of any Python package that
  #8 4.708           tries to compile C code.  (Hints: on OS/X 10.8, for errors about
  #8 4.708           -mno-fused-madd see http://stackoverflow.com/questions/22313407/
  #8 4.708           Otherwise, see https://wiki.python.org/moin/CompLangPython or
  #8 4.708           the IRC channel #python on irc.libera.chat.)
  #8 4.708       
  #8 4.708           Trying to continue anyway.  If you are trying to install CFFI from
  #8 4.708           a build done in a different context, you can ignore this warning.
  #8 4.708       
  #8 4.708       running bdist_wheel
  #8 4.708       running build
  #8 4.708       running build_py
  #8 4.708       creating build
  #8 4.708       creating build/lib.linux-x86_64-3.7
  #8 4.708       creating build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
  #8 4.708       running build_ext
  #8 4.708       building '_cffi_backend' extension
  #8 4.708       creating build/temp.linux-x86_64-3.7
  #8 4.708       creating build/temp.linux-x86_64-3.7/c
  #8 4.708       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
  #8 4.708       unable to execute 'gcc': No such file or directory
  #8 4.708       error: command 'gcc' failed with exit status 1
  #8 4.708       [end of output]
  #8 4.708   
  #8 4.708   note: This error originates from a subprocess, and is likely not a problem with pip.
  #8 4.708   ERROR: Failed building wheel for cffi
  #8 4.709   Running setup.py clean for cffi
  #8 4.902 Failed to build cffi
  #8 5.026 Installing collected packages: wrapt, urllib3, typing-extensions, pydantic, pycparser, marko, idna, charset-normalizer, certifi, requests, pyjwt, Deprecated, cffi, pynacl, cryptography, PyGithub
  #8 5.516   Running setup.py install for cffi: started
  #8 5.738   Running setup.py install for cffi: finished with status 'error'
  #8 5.743   error: subprocess-exited-with-error
  #8 5.743   
  #8 5.743   × Running setup.py install for cffi did not run successfully.
  #8 5.743   │ exit code: 1
  #8 5.743   ╰─> [48 lines of output]
  #8 5.743       unable to execute 'gcc': No such file or directory
  #8 5.743       unable to execute 'gcc': No such file or directory
  #8 5.743       
  #8 5.743           No working compiler found, or bogus compiler options passed to
  #8 5.743           the compiler from Python's standard "distutils" module.  See
  #8 5.743           the error messages above.  Likely, the problem is not related
  #8 5.743           to CFFI but generic to the setup.py of any Python package that
  #8 5.743           tries to compile C code.  (Hints: on OS/X 10.8, for errors about
  #8 5.743           -mno-fused-madd see http://stackoverflow.com/questions/22313407/
  #8 5.743           Otherwise, see https://wiki.python.org/moin/CompLangPython or
  #8 5.743           the IRC channel #python on irc.libera.chat.)
  #8 5.743       
  #8 5.743           Trying to continue anyway.  If you are trying to install CFFI from
  #8 5.743           a build done in a different context, you can ignore this warning.
  #8 5.743       
  #8 5.743       running install
  #8 5.743       running build
  #8 5.743       running build_py
  #8 5.743       creating build
  #8 5.743       creating build/lib.linux-x86_64-3.7
  #8 5.743       creating build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/lock.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/error.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/recompiler.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/verifier.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/api.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/model.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/commontypes.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/__init__.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/cparser.py -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/_embedding.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.7/cffi
  #8 5.743       running build_ext
  #8 5.743       building '_cffi_backend' extension
  #8 5.743       creating build/temp.linux-x86_64-3.7
  #8 5.743       creating build/temp.linux-x86_64-3.7/c
  #8 5.743       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.7/c/_cffi_backend.o
  #8 5.743       unable to execute 'gcc': No such file or directory
  #8 5.743       error: command 'gcc' failed with exit status 1
  #8 5.743       [end of output]
  #8 5.743   
  #8 5.743   note: This error originates from a subprocess, and is likely not a problem with pip.
  #8 5.745 error: legacy-install-failure
  #8 5.745 
  #8 5.745 × Encountered error while trying to install package.
  #8 5.745 ╰─> cffi
  #8 5.745 
  #8 5.745 note: This is an issue with the package mentioned above, not pip.
  #8 5.745 hint: See above for output from the failure.
  #8 5.885 
  #8 5.885 [notice] A new release of pip is available: 23.0.1 -> 24.0
  #8 5.885 [notice] To update, run: pip install --upgrade pip
  #8 ERROR: process "/bin/sh -c pip install --no-cache -r /app/requirements.txt" did not complete successfully: exit code: 1
  ------
   > [4/6] RUN pip install --no-cache -r /app/requirements.txt:
  5.745 error: legacy-install-failure
  5.745 
  5.745 × Encountered error while trying to install package.
  5.745 ╰─> cffi
  5.745 
  5.745 note: This is an issue with the package mentioned above, not pip.
  5.745 hint: See above for output from the failure.
  5.885 
  Notice: 5.885 [notice] A new release of pip is available: 23.0.1 -> 24.0
  Notice: 5.885 [notice] To update, run: pip install --upgrade pip
  ------
  Dockerfile:7
  --------------------
     5 |     COPY ./requirements.txt /app/requirements.txt
     6 |     
     7 | >>> RUN pip install --no-cache -r /app/requirements.txt
     8 |     
     9 |     COPY ./markdown_embed_code /app/markdown_embed_code
  --------------------
  ERROR: failed to build: failed to solve: process "/bin/sh -c pip install --no-cache -r /app/requirements.txt" did not complete successfully: exit code: 1
Error: Docker build failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions