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

dockerビルドが落ちている(pyenvのバージョン上げが必要?) #1468

Closed
3 tasks
Hiroshiba opened this issue Sep 5, 2024 · 0 comments · Fixed by #1469
Closed
3 tasks

dockerビルドが落ちている(pyenvのバージョン上げが必要?) #1468

Hiroshiba opened this issue Sep 5, 2024 · 0 comments · Fixed by #1469
Labels

Comments

@Hiroshiba
Copy link
Member

不具合の内容

メインブランチdockerビルドが落ちていることに気づきました。

ログを調べた感じ、pythonのバージョンを上げる際、そのバージョンの Python をインストールできるようpyenvもバージョン上げないといけないかもです。
python 3.11.9は以下のバージョンのpeynvが必要かも?
https://github.com/pyenv/pyenv/releases/tag/v2.4.0

現象・ログ

------
 > [compile-python-env 3/3] RUN <<EOF (set -eux...):
0.576 
0.576 Or undo this operation with:
0.576 
0.576   git switch -
0.576 
0.576 Turn off this advice by setting config variable advice.detachedHead to false
0.576 
0.661 + PREFIX=/tmp/python-build /tmp/.pyenv/plugins/python-build/install.sh
1.639 + /tmp/python-build/bin/python-build -v 3.11.9 /opt/python
1.649 python-build: definition not found: 3.11.9
------
Dockerfile:157
--------------------
 156 |     ARG PYBUILD_ROOT=/tmp/python-build
 157 | >>> RUN <<EOF
 158 | >>>     set -eux
 159 | >>> 
 160 | >>>     git clone -b "${PYENV_VERSION}" https://github.com/pyenv/pyenv.git "$PYENV_ROOT"
 161 | >>>     PREFIX="$PYBUILD_ROOT" "$PYENV_ROOT"/plugins/python-build/install.sh
 162 | >>>     "$PYBUILD_ROOT/bin/python-build" -v "$PYTHON_VERSION" /opt/python
 163 | >>> 
 164 | >>>     rm -rf "$PYBUILD_ROOT" "$PYENV_ROOT"
 165 | >>> EOF
 166 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c     set -eux\n\n    git clone -b \"${PYENV_VERSION}\" https://github.com/pyenv/pyenv.git \"$PYENV_ROOT\"\n    PREFIX=\"$PYBUILD_ROOT\" \"$PYENV_ROOT\"/plugins/python-build/install.sh\n    \"$PYBUILD_ROOT/bin/python-build\" -v \"$PYTHON_VERSION\" /opt/python\n\n    rm -rf \"$PYBUILD_ROOT\" \"$PYENV_ROOT\"\n" did not complete successfully: exit code: 2
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c     set -eux\n\n    git clone -b \"${PYENV_VERSION}\" https://github.com/pyenv/pyenv.git \"$PYENV_ROOT\"\n    PREFIX=\"$PYBUILD_ROOT\" \"$PYENV_ROOT\"/plugins/python-build/install.sh\n    \"$PYBUILD_ROOT/bin/python-build\" -v \"$PYTHON_VERSION\" /opt/python\n\n    rm -rf \"$PYBUILD_ROOT\" \"$PYENV_ROOT\"\n" did not complete successfully: exit code: 2

VOICEVOXのバージョン

0.20.0

OSの種類/ディストリ/バージョン

  • Windows
  • macOS
  • Linux

その他

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant