Open h-vetinari opened 1 year ago
It also breaks Windows GDAL builds at linking time, both locally or in CI Cf https://github.com/OSGeo/gdal/actions/runs/3652713343/jobs/6171412987:
2022-12-08T23:20:07.8422656Z Creating library gdal.lib and object gdal.exp
2022-12-08T23:20:07.8423399Z cpl_compressor.cpp.obj : error LNK2019: unresolved external symbol __imp_lzma_lzma_preset referenced in function "bool __cdecl CPLLZMACompressor(void const *,unsigned __int64,void * *,unsigned __int64 *,char const * const *,void *)" (?CPLLZMACompressor@@YA_NPEBX_KPEAPEAXPEA_KPEBQEBDPEAX@Z)
2022-12-08T23:20:07.8424221Z cpl_compressor.cpp.obj : error LNK2019: unresolved external symbol __imp_lzma_stream_buffer_bound referenced in function "bool __cdecl CPLLZMACompressor(void const *,unsigned __int64,void * *,unsigned __int64 *,char const * const *,void *)" (?CPLLZMACompressor@@YA_NPEBX_KPEAPEAXPEA_KPEBQEBDPEAX@Z)
2022-12-08T23:20:07.8425051Z cpl_compressor.cpp.obj : error LNK2019: unresolved external symbol __imp_lzma_stream_buffer_encode referenced in function "bool __cdecl CPLLZMACompressor(void const *,unsigned __int64,void * *,unsigned __int64 *,char const * const *,void *)" (?CPLLZMACompressor@@YA_NPEBX_KPEAPEAXPEA_KPEBQEBDPEAX@Z)
2022-12-08T23:20:07.8425890Z cpl_compressor.cpp.obj : error LNK2019: unresolved external symbol __imp_lzma_stream_buffer_decode referenced in function "bool __cdecl CPLLZMADecompressor(void const *,unsigned __int64,void * *,unsigned __int64 *,char const * const *,void *)" (?CPLLZMADecompressor@@YA_NPEBX_KPEAPEAXPEA_KPEBQEBDPEAX@Z)
2022-12-08T23:20:07.8426460Z gdal.dll : fatal error LNK1120: 4 unresolved external
Previous build against 5.2.6 was fine.
Can someone send a PR to mark 5.2.9 broken?
Can someone send a PR to mark 5.2.9 broken?
@isuruf any suggestion on how to handle future xz updates? It looks like the build config changed and is causing those breakages.
It looks like both xz and xz-static build the static library on WIndows. I can submit a patch to change this behavior here (and then submit it upstream).
I cannot see how from #30, but after the following update:
trying to rerender locally on windows runs into:
I checked, and
envs\builder\Library\bin\archive.dll
is there, so it's most likely the "(or one of its dependencies)" part.Reverting to the last revision of the environment makes
conda smithy
run again. I then updated{ca-certificates, certifi, conda-forge-pinning}
while leavingxz<5.2.9
, and it still runs, so it's definitelyxz
.@conda-forge/xz @conda-forge/core