Skip to content

WINDOWS_X64_ZTS failing after branch cut (a4c712c37950f09744973beac187197c87a46482) #19937

@DanielEScherzer

Description

@DanielEScherzer

Description

See https://github.com/php/php-src/actions/runs/17956282083/job/51068315727, the build step:

Run .github/scripts/windows/build.bat

D:\a\php-src\php-src>if /I "true" NEQ "True" (
echo for CI only  
 exit /b 3 
) 

D:\a\php-src\php-src>set SDK_REMOTE=https://github.com/php/php-sdk-binary-tools.git 

D:\a\php-src\php-src>set SDK_BRANCH=php-sdk-2.3.0 

D:\a\php-src\php-src>set SDK_RUNNER=C:\build-cache\sdk\phpsdk-vs17-x64.bat 

D:\a\php-src\php-src>if not exist "C:\build-cache" (
echo Creating C:\build-cache  
 mkdir "C:\build-cache" 
) 
Creating C:\build-cache

D:\a\php-src\php-src>if not exist "C:\obj" (
echo Creating C:\obj  
 mkdir "C:\obj" 
) 
Creating C:\obj

D:\a\php-src\php-src>if not exist "C:\build-cache\sdk\phpsdk-vs17-x64.bat" (if exist "C:\build-cache\sdk" rmdir /s /q "C:\build-cache\sdk" ) 

D:\a\php-src\php-src>if not exist "C:\build-cache\sdk" (
echo Cloning remote SDK repository  
 git clone --branch php-sdk-2.3.0 https://github.com/php/php-sdk-binary-tools.git --depth 1 "C:\build-cache\sdk"  2>&1 
) 
Cloning remote SDK repository
Cloning into 'C:\build-cache\sdk'...
warning: refs/tags/php-sdk-2.3.0 a8d084d66c9a93db0196ea44ac50e3eebf7b0bcd is not a commit!
Note: switching to '8ae549bbbe8c05482284e8125edb3023b5520f00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false


D:\a\php-src\php-src>for /F "tokens=*" %a in ('type C:\build-cache\sdk\VERSION') do set GOT_SDK_VER=%a 

D:\a\php-src\php-src>set GOT_SDK_VER=2.3.0 

D:\a\php-src\php-src>echo Got SDK version 2.3.0 
Got SDK version 2.3.0

D:\a\php-src\php-src>if NOT "2.3.0" == "2.3.0" (
echo Switching to the configured SDK version 2.3.0  
 echo Fetching remote SDK repository  
 git --git-dir="C:\build-cache\sdk\.git" --work-tree="C:\build-cache\sdk" fetch --prune origin  2>&1  
 echo Checkout SDK repository branch  
 git --git-dir="C:\build-cache\sdk\.git" --work-tree="C:\build-cache\sdk" checkout --force php-sdk-2.3.0 
) 

D:\a\php-src\php-src>if not exist "C:\build-cache\sdk\phpsdk-vs17-x64.bat" (
echo "C:\build-cache\sdk\phpsdk-vs17-x64.bat" doesn't exist  
 exit /b 3 
) 

D:\a\php-src\php-src>for /F "delims=" %T in ('call .github\scripts\windows\find-vs-toolset.bat vs17') do set "VS_TOOLSET=%T" 

D:\a\php-src\php-src>set "VS_TOOLSET=14.44.35207" 

D:\a\php-src\php-src>echo Got VS Toolset 14.44.35207 
Got VS Toolset 14.44.35207

D:\a\php-src\php-src>cmd /c C:\build-cache\sdk\phpsdk-vs17-x64.bat -s 14.44.35207 -t .github\scripts\windows\build_task.bat 
[vcvarsall.bat] Environment initialized for: 'x64'
Updating dependencies in C:\build-cache\deps-8.6-vs17-x64

Fatal error: Uncaught SDK\Exception: Unsupported branch '8.6' in C:\build-cache\sdk\lib\php\libsdk\SDK\Config.php:183
Stack trace:
#0 C:\build-cache\sdk\bin\phpsdk_deps.php(105): SDK\Config::setCurrentBranchName('8.6')
#1 {main}
  thrown in C:\build-cache\sdk\lib\php\libsdk\SDK\Config.php on line 183

D:\a\php-src\php-src>if 3 NEQ 0 exit /b 3 

PHP Version

a4c712c37950f09744973beac187197c87a46482

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions