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

Update Dockerfile #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 9, 2023

  1. Update Dockerfile

    Had to add `libffi-dev` else the build process unexpectectly aborts with this nasty error for some reason.
    
    ```
     arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/opt/octoprint/venv/include -I/usr/include/python3.8 -c c/_cffi_backend.c -o build/temp.linux-armv7l-3.8/c/_cffi_backend.o
          c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
             15 | #include <ffi.h>
                |          ^~~~~~~
          compilation terminated.
          error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
          ----------------------------------------
    
    ```
    Gerrit-KMeier authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    98e5f30 View commit details
    Browse the repository at this point in the history