asdf-community / asdf-community/asdf-python

openssl*10000 + *100 + : syntax error: operand expected

オープン
#196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Shell
スター
729
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

### Provide environment information

```bash
OS:
Darwin rrosborough-mac 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:01:59 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6000 arm64

SHELL:
zsh 5.9 (arm-apple-darwin24.0.0)

BASH VERSION:
5.2.37(1)-release

ASDF VERSION:
v0.15.0

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/rrosborough/.asdf
ASDF_DIR=/opt/local/share/asdf
ASDF_CONFIG_FILE=/Users/rrosborough/.asdfrc

ASDF INSTALLED PLUGINS:
[redacted]
python git@github.com:danhper/asdf-python.git master 8505457
[redacted]
```

### To Reproduce

```
asdf install python 3.13.1
```

### Describe the Bug

Warning

```
/Users/rrosborough/.asdf/plugins/python/pyenv/plugins/python-build/bin/python-build: line 1626: openssl*10000 + *100 + : syntax error: operand expected (error token is "*100 + ")
```

appears in the logs, although it is nonfatal and the installation is successful.

```
remote: Enumerating objects: 510, done.
remote: Counting objects: 100% (205/205), done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 510 (delta 173), reused 119 (delta 119), pack-reused 305 (from 4)
Receiving objects: 100% (510/510), 817.27 KiB | 2.21 MiB/s, done.
Resolving deltas: 100% (293/293), completed with 8 local objects.
From github.com:pyenv/pyenv
9ecd803b..734d6323 master -> origin/master
* [new tag] v2.5.1 -> v2.5.1
* [new tag] v2.4.11 -> v2.4.11
* [new tag] v2.4.12 -> v2.4.12
* [new tag] v2.4.13 -> v2.4.13
* [new tag] v2.4.14 -> v2.4.14
* [new tag] v2.4.15 -> v2.4.15
* [new tag] v2.4.16 -> v2.4.16
* [new tag] v2.4.17 -> v2.4.17
* [new tag] v2.4.18 -> v2.4.18
* [new tag] v2.4.19 -> v2.4.19
* [new tag] v2.4.20 -> v2.4.20
* [new tag] v2.4.21 -> v2.4.21
* [new tag] v2.4.22 -> v2.4.22
* [new tag] v2.4.23 -> v2.4.23
* [new tag] v2.5.0 -> v2.5.0
python-build 3.13.1 /Users/rrosborough/.asdf/installs/python/3.13.1
Downloading openssl-3.4.0.tar.gz...
-> https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz
Installing openssl-3.4.0...
/Users/rrosborough/.asdf/plugins/python/pyenv/plugins/python-build/bin/python-build: line 1626: openssl*10000 + *100 + : syntax error: operand expected (error token is "*100 + ")
Installed openssl-3.4.0 to /Users/rrosborough/.asdf/installs/python/3.13.1
Downloading readline-8.2.tar.gz...
-> https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz
Installing readline-8.2...
Installed readline-8.2 to /Users/rrosborough/.asdf/installs/python/3.13.1
Downloading Python-3.13.1.tar.xz...
-> https://www.python.org/ftp/python/3.13.1/Python-3.13.1.tar.xz
Installing Python-3.13.1...
Installed Python-3.13.1 to /Users/rrosborough/.asdf/installs/python/3.13.1
```

### Expected Behaviour

No warning in the logs

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

報告された環境で `asdf install python 3.13.1` を実行して警告を再現し、その後、示されているパスにある `python-build` スクリプトの 1626 行目を調べてください。空の算術式を生成している OpenSSL バージョンの処理を追跡し、警告を出力せずにインストールが完了することを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, shell
領域
tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。