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

Errors in zmq recipe #2706

Open
yves-surrel opened this issue Nov 21, 2022 · 3 comments
Open

Errors in zmq recipe #2706

yves-surrel opened this issue Nov 21, 2022 · 3 comments

Comments

@yves-surrel
Copy link

Versions

  • Python: 3.9
  • OS: MacOS 11.7
  • Buildozer: 1.4.0

Description

1-
Get error when issuing buildozer -v android debug. As it does not seem to be related to buildozer but to the recipe, I post the issue here.

In file included from src/mtrie.cpp:32:
./src/generic_mtrie_impl.hpp:52:46: error: ISO C++ requires the name after '::~' to be found in the same scope as the name before '::~' [-Werror,-Wdtor-name]
template <typename T> zmq::generic_mtrie_t<T>::~generic_mtrie_t ()
                      ~~~~~~~~~~~~~~~~~~~~~~~^~
                                             ::generic_mtrie_t

After fixing that one (see below), I get:

  STDOUT:
Making install in doc
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for `install-exec-am'.
make[2]: warning: -jN forced in submake: disabling jobserver mode.
 config/install-sh -c -d '/Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install/include'
 config/install-sh -c -d '/Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install/lib/pkgconfig'
 config/install-sh -c -d '/Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install/lib'
mkdir: /Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install: File exists
mkdir: /Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install: Not a directory
mkdir: /Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install: File exists
mkdir: /Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install/lib: Not a directory
mkdir: /Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/install: Not a directory

buildozer.spec

Command:

buildozer -v android debug

Spec file:

requirements = pyzmq
  1. Fix of 1st error

By editing <PROJET_DIR>/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/src/generic_mtrie_impl.hpp, changing line

template <typename T> zmq::generic_mtrie_t<T>::~generic_mtrie_t ()

to

template <typename T> zmq::generic_mtrie_t<T>::~generic_mtrie_t<T> ()
  1. Fix of 2nd error

By deleting file /Users/yves/buildozer_dps/.buildozer/android/platform/build-arm64-v8a/build/other_builds/libzmq/arm64-v8a__ndk_target_21/libzmq/INSTALL (I thought Unix was case-sensitive...?)

@kuzeyron
Copy link
Contributor

Is this still a problem?

@emendir
Copy link

emendir commented Jan 25, 2025

Currently libzmq has different issues:
#3070

@emendir
Copy link

emendir commented Jan 26, 2025

Currently libzmq has different issues: #3070

Sorry, I'm wrong, those other issues arise from pyzmq, not libzmq.

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

No branches or pull requests

3 participants