Skip to content

Conversation

@Bensebabillal
Copy link
Contributor

an error occurs during the build of docker when postgresql is chosen as database due to the missing of gcc library

error :

`#10 23.13 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c asyncpg/pgproto/pgproto.c -o build/temp.linux-aarch64-cpython-310/asyncpg/pgproto/pgproto.o -O2 -fsigned-char -Wall -Wsign-compare -Wconversion
#10 23.13 error: command 'gcc' failed: No such file or directory
#10 23.13 [end of output]
#10 23.13
#10 23.13 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 23.13 ERROR: Failed building wheel for asyncpg
#10 23.13 Failed to build asyncpg
#10 23.13 ERROR: Could not build wheels for asyncpg, which is required to install pyproject.toml-based projects
#10 23.13
#10 23.13 [notice] A new release of pip available: 22.2.1 -> 22.2.2
#10 23.13 [notice] To update, run: pip install --upgrade pip
#10 23.13
#10 23.13
#10 23.13 at /usr/local/lib/python3.10/site-packages/poetry/utils/env.py:1195 in run
#10 23.15 1191│ output = subprocess.check_output(
#10 23.15 1192│ cmd, stderr=subprocess.STDOUT, **kwargs
#10 23.15 1193│ )
#10 23.15 1194│ except CalledProcessError as e:
#10 23.15 → 1195│ raise EnvCommandError(e, input=input
)
#10 23.15 1196│
#10 23.15 1197│ return decode(output)
#10 23.15 1198│
#10 23.15 1199│ def execute(self, bin, *args, **kwargs):
#10 23.15

executor failed running [/bin/sh -c poetry install]: exit code: 1
ERROR: Service 'api' failed to build : Build failed
`

an error occurs during the build of docker when postgresql is chosen as database due to the missing of gcc library
@s3rius
Copy link
Owner

s3rius commented Aug 11, 2022

Thanks a lot for your contribution.

@s3rius s3rius changed the base branch from master to release/3.3.9 August 11, 2022 16:28
@s3rius s3rius merged commit f9fe7a1 into s3rius:release/3.3.9 Aug 11, 2022
@s3rius
Copy link
Owner

s3rius commented Aug 11, 2022

Will be released in 3.3.9.

@s3rius
Copy link
Owner

s3rius commented Oct 1, 2022

Released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants