-
Notifications
You must be signed in to change notification settings - Fork 268
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
Fix build on macOS Catalina #160
Conversation
Signed-off-by: Alexander Rodin <rodin.alexander@gmail.com>
0062781
to
924c52b
Compare
Hey, thanks for the PR. I'm a bit confused though, because the error message in the issue you filed (#159) doesn't line up with your fix here. Based on the output there, rust-rdkafka/rdkafka-sys/build.rs Line 125 in caa1d92
Is it possible that you didn't have |
@benesch Thank you for quick reply. The error is still related to
is the last logged item and also because the stack trace contains line 112, which is the one fixed in this PR:
Basically, the problem is that although As a reference, |
Hmm, thanks for the additional reference point. I’m still worried there’s
something deeper afoot. The leveldb issue you filed also shows configure
running, but make failing (because it didn’t know how to make the distclean
target).
I’ll upgrade my Mac to Catalina and see if I can reproduce.
…On Mon, Oct 21, 2019 at 8:55 AM Alexander Rodin ***@***.***> wrote:
@benesch <https://github.com/benesch> Thank you for quick reply.
The error is still related to ./configure because
Running command: "./configure --disable-sasl --disable-ssl --disable-lz4" in dir: librdkafka
is the last logged item and also because the stack trace contains line
112, which is the one fixed in this PR:
0: std::panicking::default_hook::{{closure}}
1: std::panicking::default_hook
2: <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
3: std::panicking::continue_panic_fmt
4: std::thread::local::fast::Key<T>::try_initialize
5: build_script_build::run_command_or_fail
at ./build.rs:25
6: build_script_build::build_librdkafka
at ./build.rs:112
As a reference, levedb-sys crate had similar issue, which was fixed in a
similar way: skade/leveldb-sys#11
<skade/leveldb-sys#11>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#160?email_source=notifications&email_token=AAGXSIGK6TD22PLSF7OF6R3QPWRCXA5CNFSM4JC4OJ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB2G4QQ#issuecomment-544501314>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGXSIBNLIGTFHRA4J4BT7DQPWRCXANCNFSM4JC4OJ6A>
.
|
Ok, this reproduced instantly. Thanks again for the report. I dug in pretty deep, and came to the conclusion that while the proposed fix here does fix the issue, it obscures the real issue, which is that using relative paths with I submitted #161, which more clearly works around the problem, IMO. Let me know what you think! |
I like #161, I think it solves the problem in a cleaner way. Closing this one. |
This PR fixes #159, as the problem seems to be related to the change of the default shell from
bash
tozsh
in Catalina.