termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.27k stars 3.06k forks source link

pyzmq build with pep517 when installing jupyterlab #7064

Closed skeeperloyaltie closed 3 years ago

skeeperloyaltie commented 3 years ago

cannot build pyzmq with pep517 after install

pip install jupyterlab

Grimler91 commented 3 years ago

What command are you running exactly and what is the output you get?

ghost commented 3 years ago

Pyzmq requires build-essential and libzmq to be installed. Since you are in Termux, you can't use prebuilt wheels and pip installs the module from source.

skeeperloyaltie commented 3 years ago

What command are you running exactly and what is the output you get?

Am trying it this way pip install clang python python-dev libzmq libzmq-dev

pip install pep517

pip install jupyter

The output I get is error while building pyzmq that uses pep517

skeeperloyaltie commented 3 years ago

Screenshot_20210628-025104.png

skeeperloyaltie commented 3 years ago

Pyzmq requires build-essential and libzmq to be installed. Since you are in Termux, you can't use prebuilt wheels and pip installs the module from source.

I also installed and tried to build with build-essential but got an error ...

Well I don't know where the issue is

skeeperloyaltie commented 3 years ago

Pyzmq requires build-essential and libzmq to be installed. Since you are in Termux, you can't use prebuilt wheels and pip installs the module from source.

Might the problem be my arm71?

Grimler91 commented 3 years ago

pip install clang python python-dev libzmq libzmq-dev

clang python python-dev libzmq libzmq-dev are not python packages so you cannot install them with pip. Install them with pkg: pkg install clang python libzmq. We also do not have -dev packages, those files are part of the main package.

Share the full output you got as text, not just a screenshot of the last lines. Looks like it complains about strlcpy, but I can't see the full error so hard to know if that is a warning or error.

skeeperloyaltie commented 3 years ago

pip install clang python python-dev libzmq libzmq-dev

clang python python-dev libzmq libzmq-dev are not python packages so you cannot install them with pip. Install them with pkg: pkg install clang python libzmq. We also do not have -dev packages, those files are part of the main package.

Share the full output you got as text, not just a screenshot of the last lines. Looks like it complains about strlcpy, but I can't see the full error so hard to know if that is a warning or error.

|███████████████████████████████▍| 501 kB 284 kB/     |████████████████████████████████| 510 kB 284 kB/s
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting decorator
  Using cached decorator-5.0.9-py3-none-any.whl (8.9 kB)
Collecting pexpect>4.3
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting matplotlib-inline
  Using cached matplotlib_inline-0.1.2-py3-none-any.whl (8.2 kB)
Requirement already satisfied: pygments in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from ipython->jupyterlab) (2.9.0)
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting jedi>=0.16
  Using cached jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.19-py3-none-any.whl (368 kB)
Collecting parso<0.9.0,>=0.8.0
  Using cached parso-0.8.2-py2.py3-none-any.whl (94 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting testpath
  Using cached testpath-0.5.0-py3-none-any.whl (84 kB)
Collecting nbclient<0.6.0,>=0.5.0
  Using cached nbclient-0.5.3-py3-none-any.whl (82 kB)
Collecting pandocfilters>=1.4.1
  Using cached pandocfilters-1.4.3-py3-none-any.whl
Collecting bleach
  Using cached bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting jupyterlab-pygments
  Using cached jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting mistune<2,>=0.8.1
  Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting entrypoints>=0.2.2
  Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)                                                 Collecting async-generator
  Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting nest-asyncio                                 Using cached nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)                                                 Collecting webencodings
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting pyparsing>=2.0.2                             Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)                                                 Requirement already satisfied: certifi>=2017.4.17 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->jupyterlab-server~=2.3->jupyterlab) (2021.5.30)                                        Requirement already satisfied: urllib3<1.27,>=1.21.1 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->jupyterlab-server~=2.3->jupyterlab) (1.26.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->jupyterlab-server~=2.3->jupyterlab) (4.0.0)
Building wheels for collected packages: pyzmq
  Building wheel for pyzmq (PEP 517) ... error
  ERROR: Command errored out with exit status 1:         command: /data/data/com.termux/files/usr/bin/python3 /data/data/com.termux/files/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /data/data/com.termux/files/usr/tmp/tmp4m2hmvjr
       cwd: /data/data/com.termux/files/usr/tmp/pip-install-wyquj5o1/pyzmq_d1a84812a86f4d2dbdede42db36e1713
  Complete output (218 lines):                          /data/data/com.termux/files/usr/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'cffi_modules'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running build_py
  copying zmq/__init__.py -> build/lib.linux-armv7l-3.9/zmq
  copying zmq/_future.py -> build/lib.linux-armv7l-3.9/zmq
  copying zmq/asyncio.py -> build/lib.linux-armv7l-3.9/zmq                                                    copying zmq/decorators.py -> build/lib.linux-armv7l-3.9/zmq                                                 copying zmq/error.py -> build/lib.linux-armv7l-3.9/zmq                                                      creating build/lib.linux-armv7l-3.9/zmq/auth          copying zmq/auth/__init__.py -> build/lib.linux-armv7l-3.9/zmq/auth                                         copying zmq/auth/asyncio.py -> build/lib.linux-armv7l-3.9/zmq/auth                                          copying zmq/auth/base.py -> build/lib.linux-armv7l-3.9/zmq/auth                                             copying zmq/auth/certs.py -> build/lib.linux-armv7l-3.9/zmq/auth                                            copying zmq/auth/ioloop.py -> build/lib.linux-armv7l-3.9/zmq/auth                                           copying zmq/auth/thread.py -> build/lib.linux-armv7l-3.9/zmq/auth                                           creating build/lib.linux-armv7l-3.9/zmq/backend       copying zmq/backend/__init__.py -> build/lib.linux-armv7l-3.9/zmq/backend                                   copying zmq/backend/select.py -> build/lib.linux-armv7l-3.9/zmq/backend                                     creating build/lib.linux-armv7l-3.9/zmq/backend/cffi  copying zmq/backend/cffi/__init__.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                         copying zmq/backend/cffi/_poll.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                            copying zmq/backend/cffi/constants.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                        copying zmq/backend/cffi/context.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                          copying zmq/backend/cffi/devices.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                          copying zmq/backend/cffi/error.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                            copying zmq/backend/cffi/message.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                          copying zmq/backend/cffi/socket.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                           copying zmq/backend/cffi/utils.py -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                            creating build/lib.linux-armv7l-3.9/zmq/backend/cython                                                      copying zmq/backend/cython/__init__.py -> build/lib.linux-armv7l-3.9/zmq/backend/cython                     creating build/lib.linux-armv7l-3.9/zmq/devices       copying zmq/devices/__init__.py -> build/lib.linux-armv7l-3.9/zmq/devices                                   copying zmq/devices/basedevice.py -> build/lib.linux-armv7l-3.9/zmq/devices                                 copying zmq/devices/monitoredqueue.py -> build/lib.linux-armv7l-3.9/zmq/devices                             copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-armv7l-3.9/zmq/devices                       copying zmq/devices/proxydevice.py -> build/lib.linux-armv7l-3.9/zmq/devices                                copying zmq/devices/proxysteerabledevice.py -> build/lib.linux-armv7l-3.9/zmq/devices                       creating build/lib.linux-armv7l-3.9/zmq/eventloop     copying zmq/eventloop/__init__.py -> build/lib.linux-armv7l-3.9/zmq/eventloop                               copying zmq/eventloop/_deprecated.py -> build/lib.linux-armv7l-3.9/zmq/eventloop                            copying zmq/eventloop/future.py -> build/lib.linux-armv7l-3.9/zmq/eventloop                                 copying zmq/eventloop/ioloop.py -> build/lib.linux-armv7l-3.9/zmq/eventloop                                 copying zmq/eventloop/zmqstream.py -> build/lib.linux-armv7l-3.9/zmq/eventloop                              creating build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado                                               copying zmq/eventloop/minitornado/__init__.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado       copying zmq/eventloop/minitornado/concurrent.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado     copying zmq/eventloop/minitornado/ioloop.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado         copying zmq/eventloop/minitornado/log.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado            copying zmq/eventloop/minitornado/stack_context.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado  copying zmq/eventloop/minitornado/util.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado           creating build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                      copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                           copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                               copying zmq/eventloop/minitornado/platform/common.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                             copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                          copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                              copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.linux-armv7l-3.9/zmq/eventloop/minitornado/platform                                            creating build/lib.linux-armv7l-3.9/zmq/green         copying zmq/green/__init__.py -> build/lib.linux-armv7l-3.9/zmq/green                                       copying zmq/green/core.py -> build/lib.linux-armv7l-3.9/zmq/green                                           copying zmq/green/device.py -> build/lib.linux-armv7l-3.9/zmq/green                                         copying zmq/green/poll.py -> build/lib.linux-armv7l-3.9/zmq/green                                           creating build/lib.linux-armv7l-3.9/zmq/green/eventloop                                                     copying zmq/green/eventloop/__init__.py -> build/lib.linux-armv7l-3.9/zmq/green/eventloop                   copying zmq/green/eventloop/ioloop.py -> build/lib.linux-armv7l-3.9/zmq/green/eventloop                     copying zmq/green/eventloop/zmqstream.py -> build/lib.linux-armv7l-3.9/zmq/green/eventloop                  creating build/lib.linux-armv7l-3.9/zmq/log           copying zmq/log/__init__.py -> build/lib.linux-armv7l-3.9/zmq/log                                           copying zmq/log/__main__.py -> build/lib.linux-armv7l-3.9/zmq/log                                           copying zmq/log/handlers.py -> build/lib.linux-armv7l-3.9/zmq/log                                           creating build/lib.linux-armv7l-3.9/zmq/ssh           copying zmq/ssh/__init__.py -> build/lib.linux-armv7l-3.9/zmq/ssh                                           copying zmq/ssh/forward.py -> build/lib.linux-armv7l-3.9/zmq/ssh                                            copying zmq/ssh/tunnel.py -> build/lib.linux-armv7l-3.9/zmq/ssh                                             creating build/lib.linux-armv7l-3.9/zmq/sugar         copying zmq/sugar/__init__.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                       copying zmq/sugar/attrsettr.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                      copying zmq/sugar/constants.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                      copying zmq/sugar/context.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                        copying zmq/sugar/frame.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                          copying zmq/sugar/poll.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                           copying zmq/sugar/socket.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                         copying zmq/sugar/stopwatch.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                      copying zmq/sugar/tracker.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                        copying zmq/sugar/version.py -> build/lib.linux-armv7l-3.9/zmq/sugar                                        creating build/lib.linux-armv7l-3.9/zmq/tests         copying zmq/tests/__init__.py -> build/lib.linux-armv7l-3.9/zmq/tests                                       copying zmq/tests/conftest.py -> build/lib.linux-armv7l-3.9/zmq/tests                                       copying zmq/tests/test_asyncio.py -> build/lib.linux-armv7l-3.9/zmq/tests                                   copying zmq/tests/test_auth.py -> build/lib.linux-armv7l-3.9/zmq/tests                                      copying zmq/tests/test_cffi_backend.py -> build/lib.linux-armv7l-3.9/zmq/tests                              copying zmq/tests/test_constants.py -> build/lib.linux-armv7l-3.9/zmq/tests                                 copying zmq/tests/test_context.py -> build/lib.linux-armv7l-3.9/zmq/tests                                   copying zmq/tests/test_cython.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_decorators.py -> build/lib.linux-armv7l-3.9/zmq/tests                                copying zmq/tests/test_device.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_draft.py -> build/lib.linux-armv7l-3.9/zmq/tests                                     copying zmq/tests/test_error.py -> build/lib.linux-armv7l-3.9/zmq/tests                                     copying zmq/tests/test_etc.py -> build/lib.linux-armv7l-3.9/zmq/tests                                       copying zmq/tests/test_future.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_imports.py -> build/lib.linux-armv7l-3.9/zmq/tests                                   copying zmq/tests/test_includes.py -> build/lib.linux-armv7l-3.9/zmq/tests                                  copying zmq/tests/test_ioloop.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_log.py -> build/lib.linux-armv7l-3.9/zmq/tests                                       copying zmq/tests/test_message.py -> build/lib.linux-armv7l-3.9/zmq/tests                                   copying zmq/tests/test_monitor.py -> build/lib.linux-armv7l-3.9/zmq/tests                                   copying zmq/tests/test_monqueue.py -> build/lib.linux-armv7l-3.9/zmq/tests                                  copying zmq/tests/test_multipart.py -> build/lib.linux-armv7l-3.9/zmq/tests                                 copying zmq/tests/test_mypy.py -> build/lib.linux-armv7l-3.9/zmq/tests                                      copying zmq/tests/test_pair.py -> build/lib.linux-armv7l-3.9/zmq/tests                                      copying zmq/tests/test_poll.py -> build/lib.linux-armv7l-3.9/zmq/tests                                      copying zmq/tests/test_proxy_steerable.py -> build/lib.linux-armv7l-3.9/zmq/tests                           copying zmq/tests/test_pubsub.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_reqrep.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_retry_eintr.py -> build/lib.linux-armv7l-3.9/zmq/tests                               copying zmq/tests/test_security.py -> build/lib.linux-armv7l-3.9/zmq/tests                                  copying zmq/tests/test_socket.py -> build/lib.linux-armv7l-3.9/zmq/tests                                    copying zmq/tests/test_ssh.py -> build/lib.linux-armv7l-3.9/zmq/tests                                       copying zmq/tests/test_version.py -> build/lib.linux-armv7l-3.9/zmq/tests                                   copying zmq/tests/test_win32_shim.py -> build/lib.linux-armv7l-3.9/zmq/tests                                copying zmq/tests/test_z85.py -> build/lib.linux-armv7l-3.9/zmq/tests                                       copying zmq/tests/test_zmqstream.py -> build/lib.linux-armv7l-3.9/zmq/tests                                 creating build/lib.linux-armv7l-3.9/zmq/utils         copying zmq/utils/__init__.py -> build/lib.linux-armv7l-3.9/zmq/utils                                       copying zmq/utils/constant_names.py -> build/lib.linux-armv7l-3.9/zmq/utils                                 copying zmq/utils/garbage.py -> build/lib.linux-armv7l-3.9/zmq/utils                                        copying zmq/utils/interop.py -> build/lib.linux-armv7l-3.9/zmq/utils                                        copying zmq/utils/jsonapi.py -> build/lib.linux-armv7l-3.9/zmq/utils                                        copying zmq/utils/monitor.py -> build/lib.linux-armv7l-3.9/zmq/utils                                        copying zmq/utils/strtypes.py -> build/lib.linux-armv7l-3.9/zmq/utils                                       copying zmq/utils/win32.py -> build/lib.linux-armv7l-3.9/zmq/utils                                          copying zmq/utils/z85.py -> build/lib.linux-armv7l-3.9/zmq/utils                                            copying zmq/__init__.pxd -> build/lib.linux-armv7l-3.9/zmq                                                  copying zmq/__init__.pyi -> build/lib.linux-armv7l-3.9/zmq                                                  copying zmq/py.typed -> build/lib.linux-armv7l-3.9/zmq                                                      copying zmq/backend/__init__.pyi -> build/lib.linux-armv7l-3.9/zmq/backend                                  copying zmq/backend/constants.pyi -> build/lib.linux-armv7l-3.9/zmq/backend                                 copying zmq/backend/cffi/_cdefs.h -> build/lib.linux-armv7l-3.9/zmq/backend/cffi                            copying zmq/backend/cython/__init__.pxd -> build/lib.linux-armv7l-3.9/zmq/backend/cython                    copying zmq/backend/cython/checkrc.pxd -> build/lib.linux-armv7l-3.9/zmq/backend/cython                     copying zmq/backend/cython/context.pxd -> build/lib.linux-armv7l-3.9/zmq/backend/cython                     copying zmq/backend/cython/libzmq.pxd -> build/lib.linux-armv7l-3.9/zmq/backend/cython                      copying zmq/backend/cython/message.pxd -> build/lib.linux-armv7l-3.9/zmq/backend/cython                     copying zmq/backend/cython/socket.pxd -> build/lib.linux-armv7l-3.9/zmq/backend/cython                      copying zmq/backend/cython/constant_enums.pxi -> build/lib.linux-armv7l-3.9/zmq/backend/cython              copying zmq/backend/cython/constants.pxi -> build/lib.linux-armv7l-3.9/zmq/backend/cython                   copying zmq/devices/monitoredqueue.pxd -> build/lib.linux-armv7l-3.9/zmq/devices                            copying zmq/sugar/__init__.pyi -> build/lib.linux-armv7l-3.9/zmq/sugar                                      copying zmq/sugar/constants.pyi -> build/lib.linux-armv7l-3.9/zmq/sugar                                     copying zmq/utils/buffers.pxd -> build/lib.linux-armv7l-3.9/zmq/utils                                       copying zmq/utils/getpid_compat.h -> build/lib.linux-armv7l-3.9/zmq/utils                                   copying zmq/utils/ipcmaxlen.h -> build/lib.linux-armv7l-3.9/zmq/utils                                       copying zmq/utils/mutex.h -> build/lib.linux-armv7l-3.9/zmq/utils                                           copying zmq/utils/pyversion_compat.h -> build/lib.linux-armv7l-3.9/zmq/utils                                copying zmq/utils/zmq_compat.h -> build/lib.linux-armv7l-3.9/zmq/utils                                      copying zmq/utils/zmq_constants.h -> build/lib.linux-armv7l-3.9/zmq/utils                                   copying zmq/utils/compiler.json -> build/lib.linux-armv7l-3.9/zmq/utils                                     copying zmq/utils/config.json -> build/lib.linux-armv7l-3.9/zmq/utils                                       running build_ext                                     running configure                                     Using bundled libzmq                                  already have bundled/zeromq                           already have platform.hpp                             checking for timer_create                             ************************************************      ************************************************      arm-linux-androideabi-clang -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -c /data/data/com.termux/files/usr/tmp/timer_createq9c_mvru.c -o build/temp.linux-armv7l-3.9/data/data/com.termux/files/usr/tmp/timer_createq9c_mvru.o                    /data/data/com.termux/files/usr/tmp/timer_createq9c_mvru.c:2:5: warning: implicit declaration of function 'timer_create' is invalid in C99 [-Wimplicit-function-declaration]                                                timer_create();                                       ^                                                 1 warning generated.                                  arm-linux-androideabi-clang build/temp.linux-armv7l-3.9/data/data/com.termux/files/usr/tmp/timer_createq9c_mvru.o -o build/temp.linux-armv7l-3.9/a.out            ok                                                    ************************************************      building 'zmq.libzmq' extension                       creating build/temp.linux-armv7l-3.9/buildutils       creating build/temp.linux-armv7l-3.9/bundled          creating build/temp.linux-armv7l-3.9/bundled/zeromq   creating build/temp.linux-armv7l-3.9/bundled/zeromq/src                                                     arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c buildutils/initlibzmq.cpp -o build/temp.linux-armv7l-3.9/buildutils/initlibzmq.o                                   arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/address.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/address.o                         arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/channel.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/channel.o                         arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/client.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/client.o                           arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/clock.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/clock.o                             arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/ctx.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/ctx.o                                 arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/curve_client.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/curve_client.o               arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/curve_mechanism_base.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/curve_mechanism_base.o                                                     arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/curve_server.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/curve_server.o               arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/dealer.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/dealer.o                           arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/decoder_allocators.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/decoder_allocators.o   arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/devpoll.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/devpoll.o                         arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/dgram.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/dgram.o                             arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/dish.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/dish.o                               arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/dist.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/dist.o                               arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/endpoint.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/endpoint.o                       arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/epoll.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/epoll.o                             arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/err.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/err.o                                 arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/fq.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/fq.o                                   arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/gather.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/gather.o                           arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/gssapi_client.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/gssapi_client.o             arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/gssapi_mechanism_base.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/gssapi_mechanism_base.o                                                   arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/gssapi_server.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/gssapi_server.o             arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/io_object.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/io_object.o                     arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/io_thread.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/io_thread.o                     arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/ip.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/ip.o                                   arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/ip_resolver.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/ip_resolver.o                 arm-linux-androideabi-clang++ -std=c++11 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.9 -c bundled/zeromq/src/ipc_address.cpp -o build/temp.linux-armv7l-3.9/bundled/zeromq/src/ipc_address.o                 In file included from bundled/zeromq/src/ipc_address.cpp:31:                                                bundled/zeromq/src/compat.hpp:45:1: error: static declaration of 'strlcpy' follows non-static declaration   strlcpy (char *dest_, const char *src_, const size_t dest_size_)                                            ^                                                     /data/data/com.termux/files/usr/include/string.h:146:8: note: previous declaration is here                  size_t strlcpy(char* __dst, const char* __src, size_t __n);                                                        ^                                              1 error generated.                                    error: command '/data/data/com.termux/files/usr/bin/arm-linux-androideabi-clang++' failed with exit code 1  ----------------------------------------              ERROR: Failed building wheel for pyzmq              Failed to build pyzmq                                 ERROR: Could not build wheels for pyzmq which use PEP 517 and cannot be installed directly
Grimler91 commented 3 years ago

Duplicate of https://github.com/termux/termux-packages/issues/6241. Simplest fix might be to remove the strlcpy definition in the bundled/zeromq/src/compat.hpp file of the pyzmq source.