[Makefile:906 : profile-run-stamp] Erreur 2

I download Python-3.13.0 on https://www.python.org/downloads/release/python-3130/.
I’m on Debian GNU/Linux 12 (bookworm).

$sudo apt -y install build-essential gdb lcov pkg-config libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev

$cd /CHEMIN/Téléchargements/Python-3.13.0
$./configure --enable-optimizations
[...] configure: creating Makefile
Then :
$make

[...]
Checked 112 modules (33 built-in, 78 shared, 1 n/a on linux-x86_64, 0 disabled, 0 missing, 0 failed on import)
make[2] : on quitte le répertoire « /CHEMIN/Téléchargements/Python-3.13.0 »
[...]
Total duration: 1 min 27 sec
Total tests: run=9,361 failures=7 skipped=201
Total test files: run=44/44 failed=1
Result: FAILURE
make: *** [Makefile:906 : profile-run-stamp] Erreur 2

For my first steps, I’m not very convinced…
Could someone help me?

1 Like

I’ve seen something similar before too. I just used the new executable anyway, and it was fine.

To fix it, for starters you’ll need to go into the logs, and find which test actually failed.

1 Like

Thank you James Parrott !

I finally found another tuto and installed it by doing :
$sudo apt install python3
puis
$sudo python3 setup.py install
And it works straight away, without having to look for errors in the logs…
It’s easier for a beginner when it works like that…
Thanks again and have a nice day

Hi,

Same error here. On Debian 12, Kernel: 6.1.0-25-amd64 arch: x86_64 with Python version 3.13.0. Latest patches installed. I run the following command:

./configure --prefix=/home/user1/bin/python3.13.0 --with-ensurepip=install --enable-optimizations

How could I solve it? Compiling Python version 3.12.7 on my machine. This works with issues.

I don’t need any features from version 3.13.0. I think it’s better to wait for patches for version 3.13 and try again in the future.

Regards!!!