rasterio / rasterio-wheels

MIT License
11 stars 16 forks source link

Delocate error #84

Closed sgillies closed 2 years ago

sgillies commented 2 years ago

delocate.delocating.DelocationError: Already planning to copy library with same basename as: libwebp.7.dylib

https://github.com/rasterio/rasterio-wheels/runs/6531691333?check_suite_focus=true#step:4:4108

I'm puzzled, because I've changed almost nothing since I built the 1.3b1 wheels.

sgillies commented 2 years ago

There is some ambiguity about webp. I'm calling delocate list-deps before repairing the wheels and see that we have a

/usr/local/Cellar/webp/1.2.2/lib/libwebp.7.dylib (https://github.com/rasterio/rasterio-wheels/runs/6559034884?check_suite_focus=true#step:4:4120)

and a

/usr/local/lib/libwebp.7.dylib (https://github.com/rasterio/rasterio-wheels/runs/6559034884?check_suite_focus=true#step:4:4138)

I have been expecting that brew remove --ignore-dependencies webp zstd xz libtiff curl php (https://github.com/rasterio/rasterio-wheels/blob/master/.github/workflows/build.sh#L6) would remove the former copy of libwebp.

sgillies commented 2 years ago

Might have a fix for this in https://github.com/rasterio/rasterio-wheels/tree/issue84.

sgillies commented 2 years ago

Resolved by #85.