-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
When building a project with bitstruct in a minimal docker container without gcc, the container build fails as the bitstruct.c dependencies cannot find the gcc compiler.
As the C extensions are optional, I would have expected a warning to be printed but not have the entire build fail if they were not able to be compiled.
gcc -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/tmp/tmpj689ldeb/.venv/include -I/usr/local/include/python3.12 -c src/bitstruct/bitstream.c -o build/temp.linux-aarch64-cpython-312/src/bitstruct/bitstream.o
#10 94.63 error: command 'gcc' failed: No such file or directory
#10 94.63
#10 94.63
#10 94.63 at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
#10 94.68 160│
#10 94.68 161│ error = ChefBuildError("\n\n".join(message_parts))
#10 94.68 162│
#10 94.68 163│ if error is not None:
#10 94.68 → 164│ raise error from None
#10 94.68 165│
#10 94.68 166│ return path
#10 94.68 167│
#10 94.68 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Pat
Metadata
Metadata
Assignees
Labels
No labels