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

Buildbot AMD64 Windows10 3.6 fails to compile: Cannot locate MSBuild.exe on PATH or as MSBUILD variable #77856

Closed
pablogsal opened this issue May 28, 2018 · 8 comments
Labels
build The build process and cross-build OS-windows

Comments

@pablogsal
Copy link
Member

BPO 33675
Nosy @pfmoore, @vstinner, @tjguk, @ned-deily, @zware, @zooba, @pablogsal
Superseder
  • bpo-33614: Compilation of Python fails on AMD64 Windows8.1 Refleaks 3.x
  • 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 2018-05-28.23:18:38.285>
    created_at = <Date 2018-05-28.22:41:18.201>
    labels = ['build', 'OS-windows']
    title = 'Buildbot AMD64 Windows10 3.6 fails to compile: Cannot locate MSBuild.exe on PATH or as MSBUILD variable'
    updated_at = <Date 2018-05-28.23:18:38.285>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2018-05-28.23:18:38.285>
    actor = 'steve.dower'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-28.23:18:38.285>
    closer = 'steve.dower'
    components = ['Build', 'Windows']
    creation = <Date 2018-05-28.22:41:18.201>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33675
    keywords = []
    message_count = 8.0
    messages = ['317937', '317938', '317940', '317945', '317949', '317951', '317952', '317956']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'ned.deily', 'zach.ware', 'steve.dower', 'pablogsal']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '33614'
    type = None
    url = 'https://bugs.python.org/issue33675'
    versions = ['Python 3.6']

    @pablogsal
    Copy link
    Member Author

    It seems that since c489a76 the AMD64 Windows10 buildbot for Python3.6 fails to compile. Error log:

    Using "C:\Program Files (x86)\MSBuild\14.0\bin\\msbuild.exe" (found in the registry)
    Cannot locate MSBuild.exe on PATH or as MSBUILD variable
    Deleting .pyc/.pyo files ...
    Deleting test leftovers ...
    Could Not Find D:\buildarea\3.6.bolen-windows10\build\Lib\.pyc
    The system cannot find the file specified.
    Could Not Find D:\buildarea\3.6.bolen-windows10\build\PCbuild\python
    .zip
    Using "D:\buildarea\3.6.bolen-windows10\build\PCbuild\\..\externals\pythonx86\tools\python.exe" (found in externals directory)
    Fetching external libraries...
    bzip2-1.0.6 already exists, skipping.
    openssl-1.0.2o already exists, skipping.
    sqlite-3.21.0.0 already exists, skipping.
    tcl-core-8.6.6.0 already exists, skipping.
    tk-8.6.6.0 already exists, skipping.
    tix-8.4.3.6 already exists, skipping.
    xz-5.2.2 already exists, skipping.
    Fetching external binaries...
    nasm-2.11.06 already exists, skipping.
    Finished.
    Using "C:\Program Files (x86)\MSBuild\14.0\bin\\msbuild.exe" (found in the registry)
    Cannot locate MSBuild.exe on PATH or as MSBUILD variable
    program finished with exit code 2
    elapsedTime=1.953000

    @pablogsal pablogsal added the build The build process and cross-build label May 28, 2018
    @pablogsal
    Copy link
    Member Author

    @ned-deily
    Copy link
    Member

    If it's a problem with a Windows build, you should add the Windows component so the Windows team is nosied. But, in this case, I think Steve has already fixed this.

    @pablogsal
    Copy link
    Member Author

    Could http://buildbot.python.org/all/#/builders/90/builds/350 be related to this?

    @vstinner
    Copy link
    Member

    It seems like a regression of bpo-33614.

    @vstinner
    Copy link
    Member

    Similar failure on x86 Windows7 3.6:
    http://buildbot.python.org/all/#builders/90/builds/350
    "Cannot locate MSBuild.exe on PATH or as MSBUILD variable"

    @vstinner vstinner changed the title Buildbot AMD64 Windows10 3.6 fails to compile Buildbot AMD64 Windows10 3.6 fails to compile: Cannot locate MSBuild.exe on PATH or as MSBUILD variable May 28, 2018
    @vstinner
    Copy link
    Member

    AMD64 Windows10 3.7:
    http://buildbot.python.org/all/#/builders/121/builds/256
    "Cannot locate MSBuild.exe on PATH or as MSBUILD variable"

    @zooba
    Copy link
    Member

    zooba commented May 28, 2018

    Already fixed in #51418, #51425 and #51426

    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 OS-windows
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants