Title: `make distclean` needs `GNU make` to work · Issue #122661 · python/cpython · GitHub
Open Graph Title: `make distclean` needs `GNU make` to work · Issue #122661 · python/cpython
X Title: `make distclean` needs `GNU make` to work · Issue #122661 · python/cpython
Description: Bug report Bug description: Introduced in bc37ac7 , define directive is GNU make specific - https://www.gnu.org/software/make/manual/html_node/Multi_002dLine.html This is the output of me running make distclean on main, where make is of ...
Open Graph Description: Bug report Bug description: Introduced in bc37ac7 , define directive is GNU make specific - https://www.gnu.org/software/make/manual/html_node/Multi_002dLine.html This is the output of me running m...
X Description: Bug report Bug description: Introduced in bc37ac7 , define directive is GNU make specific - https://www.gnu.org/software/make/manual/html_node/Multi_002dLine.html This is the output of me running m...
Opengraph URL: https://github.com/python/cpython/issues/122661
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`make distclean` needs `GNU make` to work","articleBody":"# Bug report\n\n### Bug description:\n\nIntroduced in bc37ac7b440b5e816f0b3915b830404290522603 , `define` directive is GNU make specific - https://www.gnu.org/software/make/manual/html_node/Multi_002dLine.html\n\nThis is the output of me running `make distclean` on main, where `make` is of the BSD variant - https://man.freebsd.org/cgi/man.cgi?make(1)\n\n---\n\n```\n$ make distclean\nfind . -depth -name '__pycache__' -exec rm -rf {} ';'\nfind . -name '*.py[co]' -exec rm -f {} ';'\nfind . -name '*.[oa]' -exec rm -f {} ';'\nfind . -name '*.s[ol]' -exec rm -f {} ';'\nfind . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'\nfind . -name '*.lto' -exec rm -f {} ';'\nfind . -name '*.wasm' -exec rm -f {} ';'\nfind . -name '*.lst' -exec rm -f {} ';'\nfind build -name 'fficonfig.h' -exec rm -f {} ';' || true\nfind build -name '*.py' -exec rm -f {} ';' || true\nfind build -name '*.py[co]' -exec rm -f {} ';' || true\nrm -f pybuilddir.txt\nrm -f _bootstrap_python\nrm -f python.html python*.js python.data python*.symbols python*.map\nrm -f ./usr/local/lib/python3.14/os.py\nrm -f Programs/_testembed Programs/_freeze_module\nrm -rf Python/deepfreeze\nrm -f Python/frozen_modules/*.h\nrm -f Python/frozen_modules/MANIFEST\nrm -f jit_stencils.h\nfind build -type f -a ! -name '*.gc??' -exec rm -f {} ';'\nrm -f Include/pydtrace_probes.h\nrm -f profile-gen-stamp\nrm -rf iOS/testbed/Python.xcframework/ios-*/bin\nrm -rf iOS/testbed/Python.xcframework/ios-*/lib\nrm -rf iOS/testbed/Python.xcframework/ios-*/include\nrm -rf iOS/testbed/Python.xcframework/ios-*/Python.framework\nrm -f *.fdata\nrm -f *.prebolt\nrm -f *.bolt_inst\nrm -f python libpython3.14.a libpython3.14.a tags TAGS config.cache config.log pyconfig.h Modules/config.c\nrm -rf build platform\nrm -rf no-framework\nrm -rf iOS/Frameworks\nrm -rf iOSTestbed.*\nrm -f python-config.py python-config\nrm -rf cross-build\nmake -C ./Doc clean\nmake[1]: \"/tmp/forked/cpython/Doc/Makefile\" line 243: Invalid line type\nmake[1]: \"/tmp/forked/cpython/Doc/Makefile\" line 249: Invalid line type\nmake[1]: Fatal errors encountered -- cannot continue\nmake[1]: stopped in /tmp/forked/cpython/Doc\n*** Error code 1\n\nStop.\nmake: stopped in /tmp/forked/cpython\n```\n\nHere are the lines:\n\n```\n$ $ cat -n Doc/Makefile | tail -n +243 | head -n7\n 243\tdefine ensure_package\n 244\t\tif uv --version \u003e /dev/null; then \\\n 245\t\t\t$(VENVDIR)/bin/python3 -m $(1) --version \u003e /dev/null || VIRTUAL_ENV=$(VENVDIR) uv pip install $(1); \\\n 246\t\telse \\\n 247\t\t\t$(VENVDIR)/bin/python3 -m $(1) --version \u003e /dev/null || $(VENVDIR)/bin/python3 -m pip install $(1); \\\n 248\t\tfi\n 249\tendef\n```\n\n---\n\nTested on: FreeBSD14.1\n\n### CPython versions tested on:\n\n3.13, CPython main branch\n\n### Operating systems tested on:\n\nOther\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-122662\n* gh-122668\n* gh-122669\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/bibajz","@type":"Person","name":"bibajz"},"datePublished":"2024-08-04T10:17:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/122661/cpython/issues/122661"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b2a8ae8-7a4e-3006-fed5-105dcfe103aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B702:323DD4:2B8B8E6:3AE088F:696AEF87 |
| html-safe-nonce | 9db88c47738c3ebe0b25b0739a4dd3be4c122e1b3c572c880faacbeb22eaf9f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzAyOjMyM0RENDoyQjhCOEU2OjNBRTA4OEY6Njk2QUVGODciLCJ2aXNpdG9yX2lkIjoiNjkwOTQ0NTA4MDYxOTg3MjEzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9345a6b18f84fa9ca5894ff3618b8e8ac4b2ad25d6bf0f7b8f233279bdfb2f04 |
| hovercard-subject-tag | issue:2447067565 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/122661/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cdef4271194d0ad823c87b1c2f2e022e1986ae7812cff25cbe14834b614c4e7/python/cpython/issues/122661 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cdef4271194d0ad823c87b1c2f2e022e1986ae7812cff25cbe14834b614c4e7/python/cpython/issues/122661 |
| og:image:alt | Bug report Bug description: Introduced in bc37ac7 , define directive is GNU make specific - https://www.gnu.org/software/make/manual/html_node/Multi_002dLine.html This is the output of me running m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bibajz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width