[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-20 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like we can lose this with fixes merged for 3.9 - 3.11. -- nosy: +lukasz.langa resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-20 Thread miss-islington
miss-islington added the comment: New changeset 50c0551f97f86bbf9f659e1bbe78a14df7754cbe by Miss Islington (bot) in branch '3.9': bpo-45055: Add retry when downloading externals on Windows (GH-28399) https://github.com/python/cpython/commit/50c0551f97f86bbf9f659e1bbe78a14df7754cbe

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-20 Thread miss-islington
miss-islington added the comment: New changeset ee41d01326ddf48c411c019a4e63343668ebd829 by Miss Islington (bot) in branch '3.10': bpo-45055: Add retry when downloading externals on Windows (GH-28399) https://github.com/python/cpython/commit/ee41d01326ddf48c411c019a4e63343668ebd829

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +26875 pull_request: https://github.com/python/cpython/pull/28477 ___ Python tracker ___

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +26874 pull_request: https://github.com/python/cpython/pull/28476 ___ Python tracker

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-20 Thread Steve Dower
Steve Dower added the comment: New changeset ef9e22b253253615098d22cb49141a2a1024ee3c by Steve Dower in branch 'main': bpo-45055: Add retry when downloading externals on Windows (GH-28399) https://github.com/python/cpython/commit/ef9e22b253253615098d22cb49141a2a1024ee3c --

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-16 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +26813 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28399 ___ Python tracker ___

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-02 Thread Steve Dower
Steve Dower added the comment: I use git worktree as well (it's great for backporting - I have all the release branches checked out all the time), but it likely means that you are regularly downloading and extracting these files. So whatever app is keeping the file handle open is probably

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Guido van Rossum
Guido van Rossum added the comment: I've seen it a few times. I don't do this that often, but since I've discovered "git worktree" this has occurred to me a few times (can't recall if it was every time, but today wasn't the first). I'm totally happy to be the human in the retry loop. :-)

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Eryk Sun
Eryk Sun added the comment: I can't directly reproduce the problem. Does it reproduce reliably for you? My guess would be that there's a file open in "cpython-source-deps-zlib-1.2.11" when get_external.py tries to rename it to "zlib-1.2.11". Maybe an anti-malware scanner or content indexer

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-31 Thread Steve Dower
Steve Dower added the comment: This looks like a typical "lingering open handle" issue, though I can't tell whether it's in the destination or the source. Probably just needs a bit of retry logic (personally I'd be fine putting in CPython itself, though that doesn't help this build which is

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-08-30 Thread Guido van Rossum
New submission from Guido van Rossum : When I make a fresh checkout of the main branch on Windows and type "pcbuild\build" it starts downloading some distributions (e.g. sqlite) and then starts building. Fine. But at some point there's a whole bunch of errors that seem to come from building