-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Native Execution] Build failure on MacOS when PRESTO_ENABLE_PARQUET=ON #18261
Comments
@majetideepak Deepak, are there any particular steps to reproduce this failure? I'm able to build successfully. |
@majetideepak Deepak, does this happen only when PRESTO_ENABLE_PARQUET=ON ? I don't have this setting. I'll try to enable it and build. |
@mbasmanova Yes, the build fails only when PRESTO_ENABLE_PARQUET=ON. I edited the description. Previously it was only in the title. |
Some observations
|
I can take a look. So this should be reproduced like this: make -DPRESTO_ENABLE_PARQUET=ON debug ? |
|
it looks like I can reproduce the issue locally. I will take a look at the issue. |
Hi, I have the same problem as well. Can we get an update on this ticket? Thanks! |
CC: @kgpai |
@mbasmanova @majetideepak Here is the partial fix: https://github.com/prestodb/presto/pull/18213/files You need to add also on line
You could adopt in somehow as we are waiting for legal team to finish the CLA process so it still can take some time. |
@Mionsz this fix did not work for me on my MacOS. Did you see the same build error in the description? |
@majetideepak so now I see that we have some problems in building prestocpp - the latest version - so it is hard to tell if those are the same. |
Is someone working on this? Thanks in advance. |
@mshang816 Michael, is this something you could help look into? CC: @kgpai |
@dingqiaoyi @majetideepak try using this PR #18572 please give me feedback if this helps |
@Mionsz the build failure happens only on MacOS. I wrote this in one of my comments above. I clarified this in the title and in the description. |
Yes I am aware -- try building Thrift part with |
Would you mind elaborating your proposed solution of "building Thrift part with -std=c++11 -stdlib=libc++"? Thanks! |
Hi, @majetideepak Did you finally figured out a solution for this problem? Both my colleagues and I encountered this problem recently. |
@majetideepak I am running into this issue as well, have you figured out a solution for this? |
Try instead of building fbthrift running this before the build starts: sed -i '/^sudo --preserve-env apt install/a\ *thrift* \\' presto-native-execution/scripts/setup-macos.sh so that it will be installed |
@Mionsz This didn't work for me, I'm still getting the same error. What exactly is this command trying to do here? I found that the sed command itself didnt work either, so I went around it and used gsed ( looks like some differences in Ubuntu vs mac). Not sure if that caused a difference. |
I am able to manually build |
I have a fix here #19021. I am able to verify locally. Can someone else verify as well? |
@majetideepak Thanks for providing the fix! This solves the problem on my side. @sungho-park-23 Please double check it. |
@majetideepak It works for me! Thanks a lot. |
The presto_server target build fails on MacOS with bunch of missing symbols when built with -DPRESTO_ENABLE_PARQUET=ON
The text was updated successfully, but these errors were encountered: