-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[C++][Python] Protobuf error building Arrow on macOS #44868
Comments
This seems to be the same issue as reported here: #41331
|
I tried uninstalling protobuf using and now instead get the error
Here's a little more of the original error
|
I can reproduce this issue on my machine. I see the same output and the line that concerns me is this one:
I don't think the build should be looking at Homebrew protobuf if we're packaging with Conda. I tried to use bundled Protobuf ( |
This is a bit of a conda usage question for me now, but why do I get libprotobuf 3.21.12 and not a more recent one when I run
It looks like the most recent version for my system is Edit: I'm guessing another package is causing a much older libprotobuf to be solved by conda. |
I was able to tweak conda package versions around and get this build working correctly and I think a fix here is updating conda_env_cpp. The issue was our pin of @raulcd the pin showed up in #35089. What do you think about me submitting a PR and doing some testing in the PR to see what breaks? |
I think we can try to remove the pin for |
I took the following steps
I now get this error
Let me know if you need more detail from the error |
Thanks for testing @stemillington-flock. Can you run |
No worries. I deleted the build folder and recreated it, but still the same error. For libprotobuf i have
Could this be an issue with the priority of the conda channels? I have
|
I flipped the channel priorities in my conda config and tried again from scratch - same version of libprotobuf and same error. All the libraries are installed from conda-forge |
Hi again @stemillington-flock, I think the steps you took might not have installed the right versions. I tested again and was able to get configuration (and a build) to succeed with the following steps:
Let us know if that doesn't work for you. |
Describe the bug, including details regarding any error messages, version, and platform.
I am trying to build arrow following the instructions here.
I have managed to create the conda environment and installed all the requirements but when running the command
I get the error
This is on a Mac Book Pro M2
Component(s)
Python
The text was updated successfully, but these errors were encountered: