Skip to content

curl package build fails on Windows (v3.0.0-alpha1) - cmake build exits with code 1 #1192

@Pheonix55

Description

@Pheonix55

Environment

  • static-php-cli version: v3.0.0-alpha1
  • OS: Windows (GitHub Actions windows-2022 runner / also reproduced locally)
  • PHP version: 8.4 / 8.3
  • Toolchain: MSVC (VS 2022, vs17)

Command

Run ./bin/spc build "bcmath,ctype,date,dom,fileinfo,filter,gd,hash,iconv,json,libxml,mbstring,mysqli,mysqlnd,openssl,pcre,pdo,pdo_mysql,pdo_sqlite,random,reflection,session,sodium,spl,sqlite3,standard,tokenizer,xml,xmlreader,xmlwriter,zlib,curl" --with-libs="libzip,zlib,openssl,nghttp2,libssh2" --build-cli

Error

All prior packages (zlib, sqlite, zstd, jom, openssl, libzip, libiconv-win, libxml2, libpng, brotli, libssh2, nghttp2) build successfully. The build fails specifically at the curl package:

Build logs

https://github.com/Pheonix55/static-php-cli/actions/runs/27808092284/artifacts/7742735468

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions