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: bolen-dmg-3.x: compiled failed with: blurb: command not found
Type: Stage: resolved
Components: Build, macOS Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: db3l, ned.deily, ronaldoussoren, vstinner, zach.ware
Priority: normal Keywords: buildbot, patch

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

Pull Requests
URL Status Linked Edit
PR 4592 merged ned.deily, 2017-11-27 21:50
Messages (7)
msg307065 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-27 16:29
/bin/sh: line 1: blurb: command not found

http://buildbot.python.org/all/#/builders/69/builds/51

Running make frameworkinstallextras
(...)
copy /Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/../Tools/unittestgui/README.txt /Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/dmg/_root/Library/Frameworks/Python.framework/Versions/3.7/share/doc/python3.7/examples/Tools/unittestgui/README.txt
copy /Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/../Tools/unittestgui/unittestgui.py /Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/dmg/_root/Library/Frameworks/Python.framework/Versions/3.7/share/doc/python3.7/examples/Tools/unittestgui/unittestgui.py
Copying required shared libraries
Fix file modes
Install python documentation
rm -rf build/* ./venv/*
make: `venv' is up to date.
/bin/sh: line 1: blurb: command not found
make: *** [build] Error 127
Traceback (most recent call last):
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
  File "/Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/BuildScript/build-installer.py", line 1659, in <module>
    main()
  File "/Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/BuildScript/build-installer.py", line 1621, in main
    buildPythonDocs()
  File "/Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/BuildScript/build-installer.py", line 1094, in buildPythonDocs
    runCommand('make html PYTHON=venv/bin/python')
  File "/Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/BuildScript/build-installer.py", line 531, in runCommand
    raise RuntimeError("command failed: %s"%(commandline,))
RuntimeError: command failed: make html PYTHON=venv/bin/python
program finished with exit code 1
elapsedTime=1288.975592
msg307066 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-27 16:29
@David Bolen: Would you mind to take a look?
msg307069 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2017-11-27 17:04
This is likely due to a change I merged yesterday.
msg307078 - (view) Author: David Bolen (db3l) * Date: 2017-11-27 20:21
Yeah, I'm not sure if I can do anything on my side.  It looks like it's  an issue with the build patch (issue30487, commit d8d6b91, assuming that's what Zachary is referring to).  The blurb complaint is about something that appears should have been installed in a venv during the build process.  

If I need to upgrade or install something on the worker to support this change, I can certainly do that, but I don't immediately see what that should be.
msg307083 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2017-11-27 21:14
I think the new change in Issue30487 should be reverted.  It will likely break other build scripts.
msg307096 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2017-11-27 22:07
New changeset 122fc136b34e11906466851e77bb6959946467ee by Ned Deily in branch 'master':
Revert "bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346)" (#4592)
https://github.com/python/cpython/commit/122fc136b34e11906466851e77bb6959946467ee
msg307099 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2017-11-27 22:13
Reverting the change should now have fixed the build failure.  We'll see for sure next time the installer build runs.
History
Date User Action Args
2022-04-11 14:58:54adminsetgithub: 76330
2017-11-27 22:13:48ned.deilysetstatus: open -> closed
resolution: fixed
messages: + msg307099

stage: patch review -> resolved
2017-11-27 22:07:34ned.deilysetmessages: + msg307096
2017-11-27 21:50:18ned.deilysetkeywords: + patch
stage: patch review
pull_requests: + pull_request4517
2017-11-27 21:14:35ned.deilysetmessages: + msg307083
2017-11-27 20:21:29db3lsetmessages: + msg307078
2017-11-27 17:04:38zach.waresetnosy: + zach.ware
messages: + msg307069
2017-11-27 16:30:17vstinnersetnosy: + ned.deily, ronaldoussoren
components: + macOS
2017-11-27 16:29:58vstinnersetnosy: + db3l
messages: + msg307066
2017-11-27 16:29:29vstinnercreate