-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error in conda forge build #226
Comments
Hi @brendanf, thanks for the heads-up! Yes, I can see from the osx build output that On Travis, I added the following exports to activate export PATH="/usr/local/opt/llvm/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/llvm/lib"
export CPPFLAGS="-I/usr/local/opt/llvm/include" Those settings will ensure that the The specific error message thrown in the conda forge build seems unrelated to Perhaps it's best to fix the Is there a way to recreate the conda build locally, so changes in the build script can be tested more easily? thanks! |
You can build the package locally by:
I'm using Linux, so this doesn't help me test the issue on OSX.
The conda build recipe shouldn't use anything in |
Hi @brendanf, I noticed that the From other comments (e.g. here) I understand that the version of Therefore it might be that updating the links to the correct 3.6.0 location might help fix the build, what do you think, is that something that we can test? thanks |
The if [[ ... ]] || [[ ... ]] || [[ ... ]] || [[ $target_platform == osx-64 ]]; then
...
else
...
if [[ $target_platform == osx-64 ]]; then
# unreachable code
fi
fi I assume it is left over from a previous incarnation of the build script. In any case, the exact same code is present in other recipes which build fine on OSX. |
I've been digging into this more and trying a few variations, but I haven't found anything that helps with the linker issues. Unfortunately I haven't been able to figure out how to cross-build on my own (linux) machine, so all my testing has been through conda-forge's Azure pipeline. I have learned:
|
Hi @brendanf, the same here! I've tried a lot of different combinations of compiler flags and environmental variables (see these builds) but wasn't able to successfully compile the package. What I did notice was that the compiler flags that I try to change by using For example the export LDFLAGS="-L$BUILD_PREFIX/lib $LDFLAGS"
export CPPFLAGS="-I$BUILD_PREFIX/include $CPPFLAGS" in order for the build to use the correct |
So the problem boils down to:
(so inlcuding libc++.a)
So I think the question really is what the correct way is to add what do you think? Thanx for working on this! |
I'm not sure exactly how, but it looks like the conda-forge build process was updated in a way that fixed this problem. The package is building fine on all platforms now. |
great, thanks a lot for reporting! |
It looks like I spoke too soon in #226 (comment) -- I thought this was resolved because I was able to get the version I wanted in conda, but it turns out it was coming from the default |
Hi @brendanf, thanks for the heads up, that's very unfortunate! Looks like we have to dig deeper into the exact conda build system setup to get to the bottom of this... |
It looks like the conda-forge package for
fst
has not been able to successfully build on OSX since they upgraded their dependencies back in July, and there isn't any action there to diagnose the problem. The error given is the same one from #61 (comment). It's not your responsibility to maintain the conda-forge build, but I wonder if you might have any insight? The recipe includesllvm-openmp
as a dependency on OSX, which seems to work successfully for other R packages (e.g., influencer, mgcv, data.table).The error message seems like it may be somehow related to XXHash32, not to OpenMP?
The text was updated successfully, but these errors were encountered: