-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3 has wrong LINKFORSHARED in module sysconfig #21212
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Not stale |
@zmwangx any idea what's going on here? |
@ilovezfs Not sure. We appear to be setting the variable correctly, but Python's not picking it up: $ /usr/local/Cellar/python3/3.6.4/bin/python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_makefile_filename()); print(distutils.sysconfig.get_config_var("LINKFORSHARED"))'
/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin/Makefile
-Wl,-stack_size,1000000 -framework CoreFoundation Python.framework/Versions/3.6/Python
$ grep -E '^(LINKFORSHARED|PYTHONFRAMEWORKINSTALLDIR)' /usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin/Makefile
LINKFORSHARED= -Wl,-stack_size,1000000 -framework CoreFoundation $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
PYTHONFRAMEWORKINSTALLDIR= /usr/local/opt/python3/Frameworks/Python.framework I'll test a non-Homebrew build later to see if this is brew-specific. So Tim's no longer available? |
@zmwangx formally, no. Homebrew/brew@e504caa#diff-04c6e90faac2675aa89e2176d2eec7d8 But we could always try pinging him if you think it's necessary :) |
Yeah I know he formally stepped down, just wondering if his activities stopped completely. |
He's still participating on IRC but hasn't opened any PRs of late. |
This should be fixed by #22103. |
@count0 @Shongololo @tommyjiang This should be fixed now, thanks to @zmwangx, if you |
Please always follow these steps:
brew install
ing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you runbrew
? If it's a generalbrew
problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's abrew cask
problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and retried your prior step?brew doctor
, fixed all issues and retried your prior step?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?This is a regression of: Homebrew/legacy-homebrew#37923
When using python3, and running:
it returns '-Wl,-stack_size,1000000 -framework CoreFoundation Python.framework/Versions/3.4/Python'
Like we observe in https://github.com/Homebrew/homebrew-science/issues/6461, automake builds like graph-tool calls this method. Then it looks for Python.framework/Versions/3.4/Python in /System/Library/Frameworks. This directory does not exist since it is in #{HOMEBREW_PREFIX}/Cellar/python3/3.4.3/Frameworks instead.
The text was updated successfully, but these errors were encountered: