This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pyperformance fails to build master
Type: Stage: resolved
Components: Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow, pablogsal, vstinner
Priority: normal Keywords:

Created on 2021-09-17 20:36 by pablogsal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg402089 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-09-17 20:36
In the main branch, pyperformance fails to build due to something regarding the freeze module:

2021-09-17 00:03:46,170: /home/pablogsal/cpython_cron/Programs/_freeze_module importlib._bootstrap /home/pablogsal/cpython_cron/Lib/importlib/_bootstrap.py /home/pablogsal/cpython_cron/Python/frozen_modules/importlib__bootstrap.h
2021-09-17 00:03:46,170: make[3]: /home/pablogsal/cpython_cron/Programs/_freeze_module: Command not found
2021-09-17 00:03:46,170: Makefile:766: recipe for target 'Python/frozen_modules/importlib__bootstrap.h' failed
2021-09-17 00:03:46,171: make[3]: *** [Python/frozen_modules/importlib__bootstrap.h] Error 127
2021-09-17 00:03:46,171: make[3]: Leaving directory '/home/pablogsal/bench_tmpdir_cron/build'
2021-09-17 00:03:46,171: Makefile:535: recipe for target 'build_all_generate_profile' failed
2021-09-17 00:03:46,172: make[2]: *** [build_all_generate_profile] Error 2
2021-09-17 00:03:46,172: make[2]: Leaving directory '/home/pablogsal/bench_tmpdir_cron/build'
2021-09-17 00:03:46,172: Makefile:509: recipe for target 'profile-gen-stamp' failed
2021-09-17 00:03:46,172: make[1]: *** [profile-gen-stamp] Error 2
2021-09-17 00:03:46,172: make[1]: Leaving directory '/home/pablogsal/bench_tmpdir_cron/build'
2021-09-17 00:03:46,172: Makefile:520: recipe for target 'profile-run-stamp' failed
2021-09-17 00:03:46,172: make: *** [profile-run-stamp] Error 2
2021-09-17 00:03:46,173: Command make profile-opt failed with exit code 2
2021-09-17 00:03:46,188: Command /home/pablogsal/venv_cron/bin/python -m pyperformance compile /home/pablogsal/simple.conf fdc6b3d9316501d2f0068a1bf4334debc1949e62 master failed with exit code 11
2021-09-17 00:03:46,188: Benchmark exit code: 11
2021-09-17 00:03:46,188: FAILED: master-fdc6b3d9316501d2f0068a1bf4334debc1949e62

The performance server has been failing from some time due to this problem :(
msg402093 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-09-17 21:00
I think that I just fixed it with:

commit 41551ee7e24fb6c58846836d3655dbb212281206 (HEAD -> main, upstream/main)
Author: Victor Stinner <vstinner@python.org>
Date:   Fri Sep 17 20:20:43 2021 +0200

    bpo-45020: Fix build out of source tree (GH-28410)
    
    * Makefile.pre.in: Add $(srcdir) when needed, remove it when it was
      used by mistake.
    * freeze_modules.py tool uses ./Programs/_freeze_module if the
      executable doesn't exist in the source tree.
msg402161 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-09-19 19:01
I have checked and indeed this has been fixed already.

Thanks a lot, Victor for the fix!
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89399
2021-09-19 19:01:42pablogsalsetstatus: open -> closed
resolution: fixed
messages: + msg402161

stage: resolved
2021-09-17 21:00:28vstinnersetmessages: + msg402093
2021-09-17 20:36:52pablogsalcreate