Skip to content
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

Updating old C:/Windows/System32/ucrtbased.dll #71892

Closed
terryjreedy opened this issue Aug 7, 2016 · 4 comments
Closed

Updating old C:/Windows/System32/ucrtbased.dll #71892

terryjreedy opened this issue Aug 7, 2016 · 4 comments
Labels
build The build process and cross-build docs Documentation in the Doc dir OS-windows type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

BPO 27705
Nosy @terryjreedy, @pfmoore, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-09-10.04:09:46.829>
created_at = <Date 2016-08-07.21:02:29.372>
labels = ['type-bug', 'OS-windows', 'build', 'docs']
title = 'Updating old C:/Windows/System32/ucrtbased.dll'
updated_at = <Date 2016-09-10.04:09:46.828>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2016-09-10.04:09:46.828>
actor = 'terry.reedy'
assignee = 'docs@python'
closed = True
closed_date = <Date 2016-09-10.04:09:46.829>
closer = 'terry.reedy'
components = ['Build', 'Documentation', 'Windows']
creation = <Date 2016-08-07.21:02:29.372>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 27705
keywords = []
message_count = 4.0
messages = ['272132', '275527', '275528', '275561']
nosy_count = 7.0
nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'docs@python', 'python-dev', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27705'
versions = ['Python 3.5', 'Python 3.6']

@terryjreedy
Copy link
Member Author

This is a continuation of msg269741 from bpo-26624, summarizing how to resolve this message.

C:\WINDOWS\SYSTEM32\ucrtbased.dll is version 10.0.10240.16384
WARN: ucrtbased contains known issues. Please update Visual Studio or the Windows SDK. See: http://bugs.python.org/issue26624

F:\Python\dev\36\PCbuild\python.vcxproj(91,5): warning MSB3073: The command ""F:\Python\dev\36\PCBuild\win32\python_d.exe" "F:\Python\dev\36\PC\validate_ucrtbase.py" ucrtbased" exited with code 1.

Merely updating Visual Studio is not enough. One must update the Windows SDK either directly or while updating Visual Studio by making sure that the new SDK is requested under Features.

[X] Windows and Web Development
[X] Universal Windows App Development Tools
[X] Tools (1.4.1) and Windows 10 SDK (10.0.14393)

(Versions and even the menu may change in the future.)

The best way to update Visual Studio is probably to uninstall it first via Control Panel / Programs and Features / Microsoft Visual Studio Community 2015 (or whichever version you have).

I did not. After downloading the current installer
vs_community__9c4d694197656e43997d069a0ead2003.exe
I just ran without uninstalling. It automatically installs in the current vs2015 directory, Instead of a clean install, it updated and ended with the same 'bad hash' message as reported in msg269741.

I then went to Programs and Features and chose 'Repair'. The first time it failed because it did not like the existing
Microsoft Visual C++ 2015 Redistributable (x86 or x64)
files being present. With those removed, and the SDK feature checked, Repair worked and Python builds without the warning.

The current SDK is not listed as 'Microsoft Windows SDK...' but as
Windows Software Development Kit - Windows 10.0.14393

Steve: my suggestion is that "Please update Visual Studio or the Windows SDK." be changed to "Please update the Windows SDK, possibly by updating Visual Studio with the Windows SDK feature selected." Also change the issue number from 26624 to whatever this one gets.

@terryjreedy terryjreedy added build The build process and cross-build docs Documentation in the Doc dir OS-windows type-bug An unexpected behavior, bug, or error labels Aug 7, 2016
@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 10, 2016

New changeset 7f7a994bbfbc by Steve Dower in branch '3.5':
Issue bpo-27705: Update message in validate_ucrtbase.py
https://hg.python.org/cpython/rev/7f7a994bbfbc

New changeset a791a54c0a1c by Steve Dower in branch 'default':
Issue bpo-27705: Update message in validate_ucrtbase.py
https://hg.python.org/cpython/rev/a791a54c0a1c

@zooba
Copy link
Member

zooba commented Sep 10, 2016

The message now calls out the Windows 10 SDK specifically, and includes the (current) link to the download.

@terryjreedy
Copy link
Member Author

Thanks, looks good to me.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build docs Documentation in the Doc dir OS-windows type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants