You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been struggling with a few recipes that work locally on os/x, but fail on the CI system. I haven't been able to work out why some osx-64 recipes are failing, and others not. I need help of a bioconda os/x guru!
Two PRs specifically I'm working with are failing - they are not finding standard C++ libraries like iostream or string! They work locally on Sonoma with a osx-64 conda environment on osx-arm64.
There have historically been a few of these exact errors on the developer.apple.com site - and they ask for things like reinstalls of Xcode, or doing some version change - but I can't do that kind of experiment here to resolve. Is something missing from the recipe or the OS image?
Note - this is pinned to version 15 of the compiler - as v16 bans the use of 'register' keyword which is used in a few places, and v14 (the previous setting) fails due to missing typedefs (on my local system) and the missing header files above in the CI.
Hi!
I am not OSX expert but I have debugged some similar errors in the past.
The problem usually is that the toolchain has been updated in the meantime. For example: a recipe is being built with compiler version X and everything is fine. Later, e.g. several months later, one tries to make a simple change in the recipe but it no longer builds because the compiler (or some build-related library) is now updated to X+1.
How to help yourself ?
Go to anaconda.org, find your package and download the last successful build for the respective platform, e.g. osx-64.
Decompress it locally and look in the info/ folder for clues what has been used to build it.
Useful files are:
recipe/meta.yaml
recipe/conda_build_config.yaml
info/about.json
Compare the versions of tools and libs from the last successful build against the ones in the failing build (in the CI logs) and then try to pin (i.e. downgrade) them.
For OSX you could also try with different values for MACOSX_DEPLOYMENT_TARGET and/or MACOSX_SDK_VERSION
Been struggling with a few recipes that work locally on os/x, but fail on the CI system. I haven't been able to work out why some osx-64 recipes are failing, and others not. I need help of a bioconda os/x guru!
Two PRs specifically I'm working with are failing - they are not finding standard C++ libraries like iostream or string! They work locally on Sonoma with a osx-64 conda environment on osx-arm64.
There have historically been a few of these exact errors on the developer.apple.com site - and they ask for things like reinstalls of Xcode, or doing some version change - but I can't do that kind of experiment here to resolve. Is something missing from the recipe or the OS image?
Note - this is pinned to version 15 of the compiler - as v16 bans the use of 'register' keyword which is used in a few places, and v14 (the previous setting) fails due to missing typedefs (on my local system) and the missing header files above in the CI.
The text was updated successfully, but these errors were encountered: