You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Grant Henke (Code Review)" <ge...@cloudera.org> on 2020/04/01 19:02:57 UTC
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Grant Henke has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15632
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
[build] Fix boost compilation on latest macOS Catalina update
The latest Catalina update broke boost due to bad version checks.
This patch drops the version checks and flags all together as they
are not needed.
See https://github.com/zcash/zcash/pull/4334 for additional context.
Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
---
M thirdparty/download-thirdparty.sh
A thirdparty/patches/boost-coalesce-templates-darwin.patch
2 files changed, 21 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/32/15632/1
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina
......................................................................
[build] Fix boost compilation on latest macOS Catalina
The latest Catalina update broke boost due to bad version parsing/checks.
This patch applies the fix from the below pull request as a patch:
https://github.com/boostorg/build/pull/560
See https://github.com/boostorg/build/issues/440 for additional context.
Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Reviewed-on: http://gerrit.cloudera.org:8080/15632
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Reviewed-by: Alexey Serbin <as...@cloudera.com>
Reviewed-by: Andrew Wong <aw...@cloudera.com>
---
M thirdparty/download-thirdparty.sh
A thirdparty/patches/boost-issue-440-darwin-version.patch
2 files changed, 22 insertions(+), 2 deletions(-)
Approvals:
Kudu Jenkins: Verified
Adar Dembo: Looks good to me, approved
Alexey Serbin: Looks good to me, approved
Andrew Wong: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 3
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/15632/1//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/15632/1//COMMIT_MSG@13
PS1, Line 13: See https://github.com/zcash/zcash/pull/4334 for additional context.
> Could you actually adopt the solution in https://github.com/boostorg/build/
Ah, sure. Not sure why I couldn't find that when searching.
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:23:34 +0000
Gerrit-HasComments: Yes
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
The latest update bumped the version to "11.0.3" which by string comparison is < "4".
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:36:05 +0000
Gerrit-HasComments: No
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Hello Alexey Serbin, Kudu Jenkins, Andrew Wong, Adar Dembo, Bankim Bhavsar,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/15632
to look at the new patch set (#2).
Change subject: [build] Fix boost compilation on latest macOS Catalina
......................................................................
[build] Fix boost compilation on latest macOS Catalina
The latest Catalina update broke boost due to bad version parsing/checks.
This patch applies the fix from the below pull request as a patch:
https://github.com/boostorg/build/pull/560
See https://github.com/boostorg/build/issues/440 for additional context.
Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
---
M thirdparty/download-thirdparty.sh
A thirdparty/patches/boost-issue-440-darwin-version.patch
2 files changed, 22 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/32/15632/2
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Bankim Bhavsar (Code Review)" <ge...@cloudera.org>.
Bankim Bhavsar has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1: Code-Review+1
> Patch Set 1:
>
> I took a look at this diff https://github.com/zcash/zcash/pull/4334/commits/2d2b7a1be722204457d6bd08b824c8fe332f0467 but didn't understand what was actually updated. Looks same to me :(
Oh it's commenting out those lines.
Third party built successfully for me on Mac OS 10.15.4. So this patch works.
I didn't understand the change to be honest. Clang is used on Mac OS and it appears gcc is symlinked to clang. So the version difference between clang and gcc is what causes this check to be bad?
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:34:06 +0000
Gerrit-HasComments: No
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina
......................................................................
Patch Set 2: Code-Review+2
(1 comment)
I verified that with this patch thirdparty builds on macOS HighSierra (just in case). Kudu C++ build was successful as well.
http://gerrit.cloudera.org:8080/#/c/15632/2/thirdparty/patches/boost-issue-440-darwin-version.patch
File thirdparty/patches/boost-issue-440-darwin-version.patch:
http://gerrit.cloudera.org:8080/#/c/15632/2/thirdparty/patches/boost-issue-440-darwin-version.patch@6
PS2, Line 6:
nit: extra spaces?
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 22:35:38 +0000
Gerrit-HasComments: Yes
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/15632/1//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/15632/1//COMMIT_MSG@13
PS1, Line 13: See https://github.com/zcash/zcash/pull/4334 for additional context.
Could you actually adopt the solution in https://github.com/boostorg/build/pull/560? Seems more authoritative, and more likely to make it into boost proper.
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:19:48 +0000
Gerrit-HasComments: Yes
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/15632/1/thirdparty/patches/boost-coalesce-templates-darwin.patch
File thirdparty/patches/boost-coalesce-templates-darwin.patch:
http://gerrit.cloudera.org:8080/#/c/15632/1/thirdparty/patches/boost-coalesce-templates-darwin.patch@11
PS1, Line 11: - # - GCC 4.2 and higher in Darwin does not have -Wno-long-double.
: - if $(real-version) < "4.2.0"
: - {
: - flags darwin.compile OPTIONS $(condition) : -Wno-long-double ;
: - }
> Curious why remove this compiler flag?
The version string comparison here is wrong too and it's not a needed/useful flag.
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:22:46 +0000
Gerrit-HasComments: Yes
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
That diff just commented the lines out. I will switch too the boost PR that Adar pointed out.
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:31:28 +0000
Gerrit-HasComments: No
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Bankim Bhavsar (Code Review)" <ge...@cloudera.org>.
Bankim Bhavsar has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
I took a look at this diff https://github.com/zcash/zcash/pull/4334/commits/2d2b7a1be722204457d6bd08b824c8fe332f0467 but didn't understand what was actually updated. Looks same to me :(
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:23:41 +0000
Gerrit-HasComments: No
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina
Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina
......................................................................
Patch Set 2: Code-Review+2
I built thirdparty fresh on Catalina 10.15.4
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 22:39:49 +0000
Gerrit-HasComments: No
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 22:11:39 +0000
Gerrit-HasComments: No
[kudu-CR] [build] Fix boost compilation on latest macOS Catalina update
Posted by "Bankim Bhavsar (Code Review)" <ge...@cloudera.org>.
Bankim Bhavsar has posted comments on this change. ( http://gerrit.cloudera.org:8080/15632 )
Change subject: [build] Fix boost compilation on latest macOS Catalina update
......................................................................
Patch Set 1:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/15632/1/thirdparty/patches/boost-coalesce-templates-darwin.patch
File thirdparty/patches/boost-coalesce-templates-darwin.patch:
http://gerrit.cloudera.org:8080/#/c/15632/1/thirdparty/patches/boost-coalesce-templates-darwin.patch@11
PS1, Line 11: - # - GCC 4.2 and higher in Darwin does not have -Wno-long-double.
: - if $(real-version) < "4.2.0"
: - {
: - flags darwin.compile OPTIONS $(condition) : -Wno-long-double ;
: - }
Curious why remove this compiler flag?
--
To view, visit http://gerrit.cloudera.org:8080/15632
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6bb488dcadf215be708ae1b1e89ddd77bd30074
Gerrit-Change-Number: 15632
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Bankim Bhavsar <ba...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 01 Apr 2020 19:17:31 +0000
Gerrit-HasComments: Yes