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: "AMD64 FreeBSD 9.x 3.x" tries to rebuild Include/opcode.h, timestamp issue
Type: Stage: resolved
Components: Build Versions: Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: 'make touch' does not work with git clones of the source repository
View: 23404
Assigned To: Nosy List: koobs, martin.panter, vstinner, zach.ware
Priority: normal Keywords:

Created on 2017-04-03 10:29 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg291059 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-03 10:29
"make buildbottest" on "AMD64 FreeBSD 9.x 3.x" fails with:
---
Cannot generate ./Include/opcode.h, python not found !
To skip re-generation of ./Include/opcode.h run <make touch> or <make -t ./Include/opcode.h>.
Otherwise, set python in PATH and run configure or run <make PYTHON_FOR_GEN=python>.
*** [./Include/opcode.h] Error code 1
---
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/123/steps/test/logs/stdio

Python has a "make touch" command which uses "hg --config extensions.touch=Tools/hg/hgtouch.py touch -v", but CPython moved to Git.
msg291060 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-03 10:33
See issue #23404: "'make touch' does not work with git clones of the source repository".
msg291061 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-03 10:40
According to koobs, the buildbot slave has "python2" and "python2.7" commands, but no "python".

See issue #26662 for my previous complain on "python": Python build system should use "python2" or "python3", not "python".
msg291066 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2017-04-03 12:01
I think this is the same underlying problem as Issue 23404. Either we get “make touch” working without Mercurial, or we use some other mechanism to either disable regeneration by default (my preference), or disable regeneration by explicit request (possible compromise with Nick who liked the automatic regeneration because it saved him remembering other commands: <https://mail-archive.com/search?l=mid&q=CADiSq7d2NV0hbcQB1bYvc9M2qUYZiYC7RsG=fnw7tdWia2YmQg@mail.gmail.com>).
History
Date User Action Args
2022-04-11 14:58:44adminsetgithub: 74153
2017-05-02 23:44:57vstinnersetstatus: open -> closed
superseder: 'make touch' does not work with git clones of the source repository
resolution: duplicate
stage: resolved
2017-04-03 12:01:56martin.pantersetnosy: + martin.panter
messages: + msg291066
2017-04-03 10:40:27vstinnersetmessages: + msg291061
2017-04-03 10:33:07vstinnersetmessages: + msg291060
2017-04-03 10:29:43vstinnercreate