René's URL Explorer Experiment


Title: macOS framework installs can break if `DESTDIR` specified during builds · Issue #149351 · python/cpython · GitHub

Open Graph Title: macOS framework installs can break if `DESTDIR` specified during builds · Issue #149351 · python/cpython

X Title: macOS framework installs can break if `DESTDIR` specified during builds · Issue #149351 · python/cpython

Description: Bug report Bug description: The Makefile build target for the shared Python library in a macOS framework build can include an incorrect library install name if the DESTDIR Makefile variable is set. The symptom is that launching the insta...

Open Graph Description: Bug report Bug description: The Makefile build target for the shared Python library in a macOS framework build can include an incorrect library install name if the DESTDIR Makefile variable is set....

X Description: Bug report Bug description: The Makefile build target for the shared Python library in a macOS framework build can include an incorrect library install name if the DESTDIR Makefile variable is set....

Opengraph URL: https://github.com/python/cpython/issues/149351

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macOS framework installs can break if `DESTDIR` specified during builds","articleBody":"# Bug report\n\n### Bug description:\n\nThe Makefile build target for the shared Python library in a macOS framework build can include an incorrect library install name if the `DESTDIR` Makefile variable is set. The symptom is that launching the installed python3.x binary will result in a crash with the system unable to find the Python shared library; the path of the library will mistakenly include the `DESTDIR` path prefix.\n\nThe `DESTDIR` variable is often used in Makefile-based build pipelines to allow build artifacts to be installed temporarily in a directory tree other than the intended system installation location which could otherwise affect the system environment on the build platform. For a long time now, the value of `DESTDIR`, if specified, has been included in the install name path of the framework library. That hasn't caused a problem as long as the build is done in multiple make steps, for example:\n\n```\n./configure --enable-framework ...\nmake ... \nmake install DESTDIR=release_directory\n```\n\nBut if the first make were skipped such that the `make install` step causes the Python library to be linked, the `DESTDIR` path prefix will be include in the install name and the installed framework will not work. This could also happen if the `make install` step causes the library to be relinked due to a Makefile dependency issue, which is how this problem was discovered.\n\nThe solution is simple: don't include `DESTDIR` in the `-install_name` argument. Note that the very similar iOS framework build rule does not have this problem.\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-149352\n* gh-149354\n* gh-149355\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/ned-deily","@type":"Person","name":"ned-deily"},"datePublished":"2026-05-04T09:54:09Z","url":"https://github.com/python/cpython/issues/149351"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:74e9a265-89c0-7406-3561-ceefdd3b813b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD82E:1958AD:240A3C:308EBF:6AECC4D1
html-safe-nonce698ce258c99d7d843537b54e0a805ae89f7c911656050b98793abb82b102a22f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODJFOjE5NThBRDoyNDBBM0M6MzA4RUJGOjZBRUNDNEQxIiwidmlzaXRvcl9pZCI6IjYzNzc1NTA0MDM2NTM2NDk2MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac58f36ca825b6e56282bcf4bc2e0864853baa121a8d3ddd048194bd2c6068b2eb
hovercard-subject-tagissue:4375568267
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/149351/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bcc699e96ac384efdbed37ca692878f4ec60a59b944a9def88cc58beff407f5d/python/cpython/issues/149351
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bcc699e96ac384efdbed37ca692878f4ec60a59b944a9def88cc58beff407f5d/python/cpython/issues/149351
og:image:altBug report Bug description: The Makefile build target for the shared Python library in a macOS framework build can include an incorrect library install name if the DESTDIR Makefile variable is set....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamened-deily
hostnamegithub.com
expected-hostnamegithub.com
Nonedc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb139f0bf57b59bf9a8c4abb0849924d6c6ca559
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/149351#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F149351
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F149351
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/149351
Reloadhttps://github.com/python/cpython/issues/149351
Reloadhttps://github.com/python/cpython/issues/149351
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/pulse
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/149351
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/149351
macOS framework installs can break if DESTDIR specified during buildshttps://github.com/python/cpython/issues/149351#top
https://github.com/ned-deily
OS-machttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-mac%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/ned-deily
ned-deilyhttps://github.com/ned-deily
on May 4, 2026https://github.com/python/cpython/issues/149351#issue-4375568267
gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds #149352https://github.com/python/cpython/pull/149352
[3.14] gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds (GH-149352) #149354https://github.com/python/cpython/pull/149354
[3.13] gh-149351: Avoid possible broken macOS framework install names when DESTDIR is specified during builds (GH-149352) #149355https://github.com/python/cpython/pull/149355
ned-deilyhttps://github.com/ned-deily
on May 4, 2026https://github.com/python/cpython/issues/149351#event-25126640737
ned-deilyhttps://github.com/ned-deily
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on May 4, 2026https://github.com/python/cpython/issues/149351#event-25126641430
StanFromIrelandhttps://github.com/StanFromIreland
OS-machttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-mac%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
on May 4, 2026https://github.com/python/cpython/issues/149351#event-25127696411
ned-deilyhttps://github.com/ned-deily
on May 4, 2026https://github.com/python/cpython/issues/149351#event-25130929207
gh-149351: Avoid possible broken macOS framework install names when D…https://github.com/python/cpython/commit/1504bd671eebce0a99c15c113d219e0f344c03d9
gh-149351https://github.com/python/cpython/issues/149351
1504bd6https://github.com/python/cpython/commit/1504bd671eebce0a99c15c113d219e0f344c03d9
[3.13] gh-149351: Avoid possible broken macOS framework install names…https://github.com/python/cpython/commit/7f9236cf03a2f9fe0dcdde337952c5d95ac8e5fa
gh-149351https://github.com/python/cpython/issues/149351
7f9236chttps://github.com/python/cpython/commit/7f9236cf03a2f9fe0dcdde337952c5d95ac8e5fa
[3.14] gh-149351: Avoid possible broken macOS framework install names…https://github.com/python/cpython/commit/0c89d36af8911da561a0d444b2645d564323ee37
gh-149351https://github.com/python/cpython/issues/149351
0c89d36https://github.com/python/cpython/commit/0c89d36af8911da561a0d444b2645d564323ee37
ned-deilyhttps://github.com/ned-deily
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 4, 2026https://github.com/python/cpython/issues/149351#event-25132218065
tdf-gerrithttps://github.com/tdf-gerrit
on Jun 13, 2026https://github.com/python/cpython/issues/149351#event-26710772294
python3: upgrade to 3.13.14https://github.com/LibreOffice/core/commit/4c223ffe8a5b058899988355ff8fb459ca9902d6
4c223ffhttps://github.com/LibreOffice/core/commit/4c223ffe8a5b058899988355ff8fb459ca9902d6
bise86https://github.com/bise86
on Sep 29, 2026https://github.com/python/cpython/issues/149351#event-32042524559
python3: upgrade to 3.13.14https://github.com/bise86/LibreOffice/commit/92d7d50f930d221328216f14704c312ba4aec934
92d7d50https://github.com/bise86/LibreOffice/commit/92d7d50f930d221328216f14704c312ba4aec934
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/149351
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/149351
ned-deilyhttps://github.com/ned-deily
OS-machttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-mac%22
buildThe build process and cross-buildhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.