Actions
Bug #602
openFlashrom tests fail to build on UCRT64 on latest MSYS2 packages
Start date:
07/18/2025
Due date:
% Done:
0%
Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:
Description
Compiler error:
../tests/spidriver.c: In function 'spidriver_probe_lifecycle_test_success':
../tests/spidriver.c:206:37: error: 'O_NOCTTY' undeclared (first use in this function); did you mean 'ENOTTY'?
206 | .flags = { O_RDWR | O_NOCTTY | O_NDELAY },
| ^~~~~~~~
| ENOTTY
../tests/spidriver.c:206:37: note: each undeclared identifier is reported only once for each function it appears in
../tests/spidriver.c:206:48: error: 'O_NDELAY' undeclared (first use in this function)
206 | .flags = { O_RDWR | O_NOCTTY | O_NDELAY },
|
Adding fnctl.h
does not seem to solve the issue. Maybe those defs are not available under Windows?
Also, would it be desirable to add this platform to testing?
Thanks in advance!
No data to display
Actions