-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
rethinkdb 2.4.2 #100256
rethinkdb 2.4.2 #100256
Conversation
554c166
to
6e34ea7
Compare
e8e1add
to
77b7a6a
Compare
77b7a6a
to
7cabb8a
Compare
This is still using Python 2 on macOS:
|
I can extend env var to ENV["PYTHON"] = which("python3") if !OS.mac? || MacOS.version >= :catalina Not entirely sure our current Python policy, i.e. do we prefer system Python 3 now? I would say Python bindings should use Homebrew Python, but build-time/runtime is still vague. |
It is a bit vague, yeah. Definitely Homebrew Python for any bindings or anything that does any sort of pip install/virtualenv. Really most runtime usages to be honest unless it's for some minor script or something that can dynamically pick up any Python on the path like For build-time, it probably doesn't matter. Can go with system (or it's really from the dev tools) Python there if there's no tight versioning requirements. Just be careful it's not secretly installing bindings is all I say and definitely make sure < Catalina is considered. |
7cabb8a
to
1eaa1d3
Compare
Formula/rethinkdb.rb
Outdated
# rethinkdb requires that protobuf be linked against libc++ | ||
# but brew's protobuf is sometimes linked against libstdc++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment must be at least 10 years old.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test.proto used to check functionality hasn't been updated and causes configure error:
Test protobuf: error
* Error: Unable to compile sample protobuf file. Try running ./configure with the --fetch protoc option
[libprotobuf WARNING google/protobuf/compiler/parser.cc:649] No syntax specified for the proto file: mk/gen/protoc/test.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
In file included from ./mk/gen/protoc//test.pb.cc:4:
In file included from ./mk/gen/protoc/test.pb.h:23:
In file included from /usr/local/include/google/protobuf/io/coded_stream.h:154:
In file included from /usr/local/include/google/protobuf/stubs/common.h:48:
* Aborting configure
The version they fetch is actually the same as our current version (3.19.4), but they bypass check in this case.
https://github.com/rethinkdb/rethinkdb/blob/v2.4.2/configure#L1083
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough, this isn't a blocker.
Though that error doesn't really say anything because it's just a warning, and they limit # of lines output: https://github.com/rethinkdb/rethinkdb/blob/9090794e52078e9ba10bf34e4f6c399f0f71c29e/configure#L416
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I increased errors and looks like test is failing on default c++ standard:
/usr/local/include/google/protobuf/stubs/port.h:123:2: error: "Protobuf requires at least C++11."
Could try a run with ENV.cxx11
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth a shot I'd say.
1eaa1d3
to
560c52f
Compare
🤖 A scheduled task has triggered a merge. |
Created by
brew bump
Created with
brew bump-formula-pr
.