Skip to content
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

Bumping up zmq version to 0.10 #225

Open
conanoc opened this issue Oct 5, 2023 · 4 comments
Open

Bumping up zmq version to 0.10 #225

conanoc opened this issue Oct 5, 2023 · 4 comments

Comments

@conanoc
Copy link

conanoc commented Oct 5, 2023

Currently, cargo build with target x86_64-apple-ios hangs on my Mac.

rust-zmq 0.10 removed the dependency to cmake, so it will remove build issues related to cmake.
I've tested it on my fork here, and it resolved the build issue.

@andrewwhitehead
Copy link
Member

It looks like sqlite uses the strlcpy function, which appears to not be supported in the glibc version (2.17?) used in the manylinux-2014 images. Support was only added in late 2014 from what I can see. We could look at matching a later manylinux standard.

@conanoc
Copy link
Author

conanoc commented Oct 6, 2023

I see. Actually, libzmq has it's own strlcpy for platforms that doesn't have it. The problem is detecting the existence of strlcpy is not easy, so rust-zmq seems to be struggling with it after removing cmake.
Maybe the next version of rust-zmq will be fine with manylinux-2014.

@conanoc
Copy link
Author

conanoc commented Oct 10, 2023

I found out that curve encryption is not supported in rust-zmq 0.10
I'm afraid that rust-zmq may not be maintained anymore.

@berendsliedrecht
Copy link
Contributor

I had to lock zmq to 0.9 and cmake to 0.1.48 a while ago to resolve build issues on ios targets. IIRC the reason to lock zmq was for the curve encryption and cmake for the following issue: rust-lang/cmake-rs#173.

Does not help a lot, but those were the reasons to lock them. Maybe cmake 0.1.50 can be used, but zmq likely has to stay on 0.9 for curve encryption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants