Closed ycwan closed 2 years ago
The automated build test for the change that introduced that code block passed.
https://github.com/libjxl/libjxl/runs/5138034602?check_suite_focus=true#step:5:73
#if JPEGXL_ENABLE_SKCMS
if (t->channels_src == 1 && !t->skip_lcms) {
// Expand from 1 to 3 channels, starting from the end in case
// xform_src == t->buf_src.Row(thread).
float* mutable_xform_src = t->buf_src.Row(thread);
for (size_t i = 0; i < xsize; ++i) {
const size_t x = xsize - i - 1;
mutable_xform_src[x * 3] = mutable_xform_src[x * 3 + 1] =
mutable_xform_src[x * 3 + 2] = xform_src[x];
}
xform_src = mutable_xform_src;
}
#else
if (t->channels_src == 4 && !t->skip_lcms) {
// LCMS does CMYK in a weird way: 0 = white, 100 = max ink
float* mutable_xform_src = t->buf_src.Row(thread);
for (size_t x = 0; x < xsize * 4; ++x) {
mutable_xform_src[x] = 100.f - 100.f * mutable_xform_src[x]
}
xform_src = mutable_xform_src;
}
#endif
seems it might be because the CI might have JPEGXL_ENABLE_SKCMS
defined
To me its failing in
C:/PORT/media-autobuild_suite/msys64/mingw64/include/c++/11.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next ~~~~~
compilation terminated.
Also failing for me with stdlib, 32-bit build on x64 host. Are you also using a 32-bit build @dolpsdw? https://0x0.st/o8Rw.zip
64-bit build also seems to fail with the stdlib.h not found error. Something is up with the build system.
So the original issue was fixed, but the next issue seems to be https://github.com/msys2/MINGW-packages/issues/10761
Closing in favor of https://github.com/m-ab-s/media-autobuild_suite/issues/2136 since this issue is technically closed
logs.zip ab-suite.build.log