2 years ago
error log:
#10 7.123 File "/tmp/pip-build-env-udo16om7/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
#10 7.123 self.run_setup()
#10 7.123 File "/tmp/pip-build-env-udo16om7/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 313, in run_setup
#10 7.123 exec(code, locals())
#10 7.123 File "", line 155, in
#10 7.123 File "", line 49, in get_config_posix
#10 7.123 File "", line 28, in find_package_name
#10 7.123 Exception: Can not find valid pkg-config name.
#10 7.123 Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
#10 7.123 [end of output]
#10 7.123
#10 7.123 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 7.126 error: subprocess-exited-with-error
#10 7.126
#10 7.126 × Getting requirements to build wheel did not run successfully.
#10 7.126 │ exit code: 1
#10 7.126 ╰─> See above for output.
#10 7.126
#10 7.126 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
> [stage-0 6/10] RUN --mount=type=cache,id=s/8fe2200b-fed1-48b7-8814-b267cb39d921-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:
7.123 [end of output]
7.123
7.123 note: This error originates from a subprocess, and is likely not a problem with pip.
7.126 error: subprocess-exited-with-error
7.126
7.126 × Getting requirements to build wheel did not run successfully.
7.126 │ exit code: 1
7.126 ╰─> See above for output.
7.126
7.126 note: This error originates from a subprocess, and is likely not a problem with pip.
2 warnings found (use --debug to expand):
- UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)
Dockerfile:20
18 | ENV NIXPACKS_PATH /opt/venv/bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/8fe2200b-fed1-48b7-8814-b267cb39d921-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
21 |
22 | # build phase
ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
Error: Docker build failed
github repo: https://github.com/alefranco41/Portfolio
> ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies