Skip to content

libffi-dev missing #15

@skylerknecht

Description

@skylerknecht

Executing docker compose build on Debian 11.7 failed with the following error;

23.18       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.10 -c src/c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-310/src/c/_cffi_backend.o
23.18       src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
23.18          15 | #include <ffi.h>
23.18             |          ^~~~~~~
23.18       compilation terminated.
23.18       error: command '/usr/bin/gcc' failed with exit code 1
23.18       [end of output]

Adding libffi-dev to the Dockerfile for each application remediatied the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions