Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transient build failures on osx with cmake errorring with libzstd.1.dylib' (no such file) #230

Open
akrherz opened this issue Dec 12, 2024 · 4 comments

Comments

@akrherz
Copy link

akrherz commented Dec 12, 2024

I fully expect that the issue is elsewhere, but for recent GDAL feedstock builds on conda-forge (example), we have seen a number of transient failures like so on osx

dyld[80185]: Library not loaded: @rpath/libzstd.1.dylib
  Referenced from: <DFBAC4C1-2C51-3DC0-8AD6-6FBBABC3BCC2> /Users/runner/miniforge3/pkgs/cmake-3.31.2-h477996e_1/bin/cmake
  Reason: tried: '/Users/runner/miniforge3/pkgs/cmake-3.31.2-h477996e_1/bin/../lib/libzstd.1.dylib' (no such file), '/Users/runner/miniforge3/pkgs/cmake-3.31.2-h477996e_1/bin/../lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)
2024-12-12T20:39:24.2924450Z /Users/runner/miniforge3/conda-bld/libgdal-core_1734032386716/work/build_plugin.sh: line 37: 80185 Abort trap: 6           cmake "-U*LATER_PLUGIN" -DBUILD_PYTHON_BINDINGS:BOOL=OFF ${CMAKE_ARGS} ${SRC_DIR}

Restarting the build seems to be having about a 33% success rate. Any ideas on where this could be coming from? Thanks for your time and I fully understand if you burn this issue with 🔥

@h-vetinari
Copy link
Member

There's some discussion on this here. It seems to happen sporadically and people haven't been able to figure out yet what's causing it.

See also conda-forge/gdal-feedstock#990 (and I remember commenting the zulip link elsewhere but cannot find it anymore... 😑).

Restarting the build seems to be having about a 33% success rate.

That however is by far the lowest success rate I've seen. 😱 Usually it's way beyond 90%. On the flipside, maybe this helps with debugging? 🤞

@isuruf @JeanChristopheMorinPerso

@h-vetinari
Copy link
Member

For someone trying to chase this down, the builds for conda-forge/sentencepiece-feedstock@57668fb seem to be unusually prone to this. I've had it happen 3 times out of 5 runs just now.

@isuruf
Copy link
Member

isuruf commented Dec 31, 2024

Can you set conda's log_level to Debug?

@h-vetinari
Copy link
Member

Can you set conda's log_level to Debug?

Feel free to commit into conda-forge/sentencepiece-feedstock#63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants