View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002372 | Xdebug | Installation | public | 2025-10-08 16:05 | 2025-12-04 14:51 |
| Reporter | nono303 | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.5.0alpha2 | ||||
| Fixed in Version | 3.5.0 | ||||
| Summary | 0002372: Build failed on MSVC | ||||
| Description | Hi,
Applied this
So, with these two changes, it’s compile and seems to work well but it might need a review on how is included / managed PHP_GLOB for Windows build (like a #define GLOB_NOMATCH PHP_GLOB_NOMATCH...) | ||||
| Tags | compilation, windows | ||||
| Operating System | Windows 11 x64 | ||||
| PHP Version | 8.5-dev | ||||
|
|
This makes no sense to me, as I've compiled dlls for Windows in CI for this release. |
|
|
As it’s seemed not possible to edit my own issue, here are some complements |
|
|
Hmm, I thought my Ci was already building for PHP 8.5, but it seems it wasn't yet. I'll have a look. (I've also added 8.5-dev to the version list) |
|
|
Indeed: https://github.com/xdebug/xdebug/actions/runs/18711254605/job/53360072327#step:3:261 |
|
|
I have a PR at https://github.com/xdebug/xdebug/pull/1040 — it was a bit harder to do (right) then your initial patches. However, I still get test failures and I can't figure out what is causing them: https://github.com/xdebug/xdebug/actions/runs/18719433952/job/53387513527 Something might have changed in how PHP handles (some) environment variables, or perhaps something is crashing. I don't have Windows locally, so I can't really investigate why they fail. If you could help with that, I would appreciate it. |
|
|
https://patch-diff.githubusercontent.com/raw/xdebug/xdebug/pull/1040.patch compile without errors (cf. build log) |
|
|
After a rebase, the tests started working just fine. So I have now merged this. I'll make alpha3 in a moment. |
|
|
I confirm that alpha3 compile fine and tests are OK for me on my buildchain. |