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

Unable to build pynACL for arm32v7 and arm64v8 #553

Closed
NicolasDorier opened this issue Sep 3, 2019 · 10 comments
Closed

Unable to build pynACL for arm32v7 and arm64v8 #553

NicolasDorier opened this issue Sep 3, 2019 · 10 comments

Comments

@NicolasDorier
Copy link

I am trying to build a python program via qemu for arm32v7 and arm64v8, but it seems the test sodium_utils3 is failing. We are using pynacl 1.3.0.

Collecting pynacl>=1.0.1 (from paramiko==2.4.2->-r requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/61/ab/2ac6dea8489fa713e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz (3.4MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting cryptography>=1.5 (from paramiko==2.4.2->-r requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/c2/95/f43d02315f4ec074219c6e3124a87eba1d2d12196c2767fadfdc07a83884/cryptography-2.7.tar.gz (495kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting urllib3<1.25,>=1.21.1 (from requests==2.20.0->-r requirements.txt (line 20))
  Downloading https://files.pythonhosted.org/packages/01/11/525b02e4acc0c747de8b6ccdab376331597c569c42ea66ab0a1dbd36eca2/urllib3-1.24.3-py2.py3-none-any.whl (118kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from pyinstaller==3.3.1->-r requirements-build.txt (line 1)) (39.2.0)
Collecting pefile>=2017.8.1 (from pyinstaller==3.3.1->-r requirements-build.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/36/58/acf7f35859d541985f0a6ea3c34baaefbfaee23642cf11e85fe36453ae77/pefile-2019.4.18.tar.gz (62kB)
Collecting macholib>=1.8 (from pyinstaller==3.3.1->-r requirements-build.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/41/f1/6d23e1c79d68e41eb592338d90a33af813f98f2b04458aaf0b86908da2d8/macholib-1.11-py2.py3-none-any.whl
Collecting cffi>=1.1 (from bcrypt>=3.1.3->paramiko==2.4.2->-r requirements.txt (line 15))
Collecting asn1crypto>=0.21.0 (from cryptography>=1.5->paramiko==2.4.2->-r requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting future (from pefile>=2017.8.1->pyinstaller==3.3.1->-r requirements-build.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting altgraph>=0.15 (from macholib>=1.8->pyinstaller==3.3.1->-r requirements-build.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/0a/cc/646187eac4b797069e2e6b736f14cdef85dbe405c9bfc7803ef36e4f62ef/altgraph-0.16.1-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.1->bcrypt>=3.1.3->paramiko==2.4.2->-r requirements.txt (line 15))
Building wheels for collected packages: bcrypt, pynacl, cryptography
  Building wheel for bcrypt (PEP 517): started
  Building wheel for bcrypt (PEP 517): finished with status 'done'
  Created wheel for bcrypt: filename=bcrypt-3.1.7-cp36-cp36m-linux_armv7l.whl size=51055 sha256=34525a0a5e1a7c0a44f601820d46eaee0d4765fa6dcf7844b1441ba73950f675
  Stored in directory: /root/.cache/pip/wheels/ae/b1/2c/dc178774d435228aff4679c4837de4d5ee1dd5568a370fc79c
  Building wheel for pynacl (PEP 517): started
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpmmcswyxp
       cwd: /tmp/pip-install-nfwvuwlb/pynacl
  Complete output (750 lines):
  qemu: Unsupported syscall: 384
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.6
  creating build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/exceptions.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/hash.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/utils.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/encoding.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/signing.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/hashlib.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/__init__.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/secret.py -> build/lib.linux-armv7l-3.6/nacl
  copying src/nacl/public.py -> build/lib.linux-armv7l-3.6/nacl
  creating build/lib.linux-armv7l-3.6/nacl/pwhash
  copying src/nacl/pwhash/argon2id.py -> build/lib.linux-armv7l-3.6/nacl/pwhash
  copying src/nacl/pwhash/_argon2.py -> build/lib.linux-armv7l-3.6/nacl/pwhash
  copying src/nacl/pwhash/scrypt.py -> build/lib.linux-armv7l-3.6/nacl/pwhash
  copying src/nacl/pwhash/argon2i.py -> build/lib.linux-armv7l-3.6/nacl/pwhash
  copying src/nacl/pwhash/__init__.py -> build/lib.linux-armv7l-3.6/nacl/pwhash
  creating build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_secretstream.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_pwhash.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_generichash.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/randombytes.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/utils.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_shorthash.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_box.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_hash.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_sign.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_secretbox.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/sodium_core.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_aead.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/__init__.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  copying src/nacl/bindings/crypto_kx.py -> build/lib.linux-armv7l-3.6/nacl/bindings
  running build_clib
  checking build system type... armv7l-unknown-linux-gnueabihf
  checking host system type... armv7l-unknown-linux-gnueabihf
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... /bin/mkdir -p
  checking for gawk... no
  checking for mawk... mawk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking whether UID '0' is supported by ustar format... yes
  checking whether GID '0' is supported by ustar format... yes
  checking how to create a ustar tar archive... gnutar
  checking whether make supports nested variables... (cached) yes
  checking whether to enable maintainer-specific portions of Makefiles... no
  checking for style of include used by make... GNU
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking whether gcc understands -c and -o together... yes
  checking dependency style of gcc... none
  checking for a sed that does not truncate output... /bin/sed
  checking how to run the C preprocessor... gcc -E
  checking for grep that handles long lines and -e... /bin/grep
  checking for egrep... /bin/grep -E
  checking whether gcc is Clang... no
  checking whether pthreads work with -pthread... yes
  checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  checking whether more special flags are required for pthreads... no
  checking for PTHREAD_PRIO_INHERIT... yes
  checking for gcc option to accept ISO C99... none needed
  checking dependency style of gcc... none
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking minix/config.h usability... no
  checking minix/config.h presence... no
  checking for minix/config.h... no
  checking whether it is safe to define __EXTENSIONS__... yes
  checking for variable-length arrays... yes
  checking for __native_client__ defined... no
  checking for _FORTIFY_SOURCE defined... no
  checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
  checking whether C compiler accepts -fvisibility=hidden... yes
  checking whether C compiler accepts -fPIC... yes
  checking whether C compiler accepts -fPIE... yes
  checking whether the linker accepts -pie... yes
  checking whether C compiler accepts -fno-strict-aliasing... yes
  checking whether C compiler accepts -fno-strict-overflow... yes
  checking whether C compiler accepts -fstack-protector... yes
  checking whether the linker accepts -fstack-protector... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wall... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra... yes
  checking for clang... no
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches... no
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wrestrict... no
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshorten-64-to-32... no
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wsometimes-uninitialized... no
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no
  checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-cond -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wwrite-strings... yes
  checking whether the linker accepts -Wl,-z,relro... yes
  checking whether the linker accepts -Wl,-z,now... yes
  checking whether the linker accepts -Wl,-z,noexecstack... yes
  checking for a broken clang + AVX512 combination... no
  checking whether segmentation violations can be caught when using the C compiler... yes
  checking whether SIGABRT can be caught when using the C compiler... yes
  checking for thread local storage (TLS) class... _Thread_local
  thread local storage is supported
  checking how to print strings... printf
  checking for a sed that does not truncate output... (cached) /bin/sed
  checking for fgrep... /bin/grep -F
  checking for ld used by gcc... /usr/bin/ld
  checking if the linker (/usr/bin/ld) is GNU ld... yes
  checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  checking the name lister (/usr/bin/nm -B) interface... BSD nm
  checking whether ln -s works... yes
  checking the maximum length of command line arguments... 1572864
  checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
  checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
  checking for /usr/bin/ld option to reload object files... -r
  checking for objdump... objdump
  checking how to recognize dependent libraries... pass_all
  checking for dlltool... no
  checking how to associate runtime and link libraries... printf %s\n
  checking for ar... ar
  checking for archiver @FILE support... @
  checking for strip... strip
  checking for ranlib... ranlib
  checking command to parse /usr/bin/nm -B output from gcc object... ok
  checking for sysroot... no
  checking for a working dd... /bin/dd
  checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  checking for mt... no
  checking if : is a manifest tool... no
  checking for dlfcn.h... yes
  checking for objdir... .libs
  checking if gcc supports -fno-rtti -fno-exceptions... no
  checking for gcc option to produce PIC... -fPIC -DPIC
  checking if gcc PIC flag -fPIC -DPIC works... yes
  checking if gcc static flag -static works... yes
  checking if gcc supports -c -o file.o... yes
  checking if gcc supports -c -o file.o... (cached) yes
  checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  checking dynamic linker characteristics... GNU/Linux ld.so
  checking how to hardcode library paths into programs... immediate
  checking whether stripping libraries is possible... yes
  checking if libtool supports shared libraries... yes
  checking whether to build shared libraries... no
  checking whether to build static libraries... yes
  checking for ar... (cached) ar
  checking whether C compiler accepts -mmmx... no
  checking for MMX instructions set... no
  checking whether C compiler accepts -msse2... no
  checking for SSE2 instructions set... no
  checking whether C compiler accepts -msse3... no
  checking for SSE3 instructions set... no
  checking whether C compiler accepts -mssse3... no
  checking for SSSE3 instructions set... no
  checking whether C compiler accepts -msse4.1... no
  checking for SSE4.1 instructions set... no
  checking whether C compiler accepts -mavx... no
  checking for AVX instructions set... no
  checking whether C compiler accepts -mavx2... no
  checking for AVX2 instructions set... no
  checking whether C compiler accepts -mavx512f... no
  checking for AVX512F instructions set... no
  checking whether C compiler accepts -maes... no
  checking whether C compiler accepts -mpclmul... no
  checking for AESNI instructions set and PCLMULQDQ... no
  checking whether C compiler accepts -mrdrnd... no
  checking for RDRAND... no
  checking sys/mman.h usability... yes
  checking sys/mman.h presence... yes
  checking for sys/mman.h... yes
  checking intrin.h usability... no
  checking intrin.h presence... no
  checking for intrin.h... no
  checking if _xgetbv() is available... no
  checking for inline... inline
  checking whether byte ordering is bigendian... no
  checking whether __STDC_LIMIT_MACROS is required... no
  checking whether we can use x86_64 asm code... no
  checking whether we can assemble AVX opcodes... no
  checking for 128-bit arithmetic... no
  checking for cpuid instruction... no
  checking if the .private_extern asm directive is supported... no
  checking if the .hidden asm directive is supported... yes
  checking if weak symbols are supported... yes
  checking if data alignment is required... no
  checking if atomic operations are supported... yes
  checking for size_t... yes
  checking for working alloca.h... yes
  checking for alloca... yes
  checking for arc4random... no
  checking for arc4random_buf... no
  checking for mmap... yes
  checking for mlock... yes
  checking for madvise... yes
  checking for mprotect... yes
  checking for memset_s... no
  checking for explicit_bzero... no
  checking for nanosleep... yes
  checking for posix_memalign... yes
  checking for getpid... yes
  checking if gcc/ld supports -Wl,--output-def... not needed, shared libraries are disabled
  checking that generated files are newer than configure... done
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating builds/Makefile
  config.status: creating contrib/Makefile
  config.status: creating dist-build/Makefile
  config.status: creating libsodium.pc
  config.status: creating libsodium-uninstalled.pc
  config.status: creating msvc-scripts/Makefile
  config.status: creating src/Makefile
  config.status: creating src/libsodium/Makefile
  config.status: creating src/libsodium/include/Makefile
  config.status: creating src/libsodium/include/sodium/version.h
  config.status: creating test/default/Makefile
  config.status: creating test/Makefile
  config.status: executing depfiles commands
  config.status: executing libtool commands
  Making all in builds
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/builds'
  make[1]: Nothing to be done for 'all'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/builds'
  Making all in contrib
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/contrib'
  make[1]: Nothing to be done for 'all'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/contrib'
  Making all in dist-build
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/dist-build'
  make[1]: Nothing to be done for 'all'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/dist-build'
  Making all in msvc-scripts
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/msvc-scripts'
  make[1]: Nothing to be done for 'all'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/msvc-scripts'
  Making all in src
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  Making all in libsodium
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  Making all in include
  make[3]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium/include'
  make[3]: Nothing to be done for 'all'.
  make[3]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium/include'
  make[3]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
    CC       crypto_aead/chacha20poly1305/sodium/libsodium_la-aead_chacha20poly1305.lo
    CC       crypto_aead/xchacha20poly1305/sodium/libsodium_la-aead_xchacha20poly1305.lo
    CC       crypto_auth/libsodium_la-crypto_auth.lo
    CC       crypto_auth/hmacsha256/libsodium_la-auth_hmacsha256.lo
    CC       crypto_auth/hmacsha512/libsodium_la-auth_hmacsha512.lo
    CC       crypto_auth/hmacsha512256/libsodium_la-auth_hmacsha512256.lo
    CC       crypto_box/libsodium_la-crypto_box.lo
    CC       crypto_box/libsodium_la-crypto_box_easy.lo
    CC       crypto_box/libsodium_la-crypto_box_seal.lo
    CC       crypto_box/curve25519xsalsa20poly1305/libsodium_la-box_curve25519xsalsa20poly1305.lo
    CC       crypto_core/ed25519/ref10/libsodium_la-ed25519_ref10.lo
    CC       crypto_core/hchacha20/libsodium_la-core_hchacha20.lo
    CC       crypto_core/hsalsa20/ref2/libsodium_la-core_hsalsa20_ref2.lo
    CC       crypto_core/hsalsa20/libsodium_la-core_hsalsa20.lo
    CC       crypto_core/salsa/ref/libsodium_la-core_salsa_ref.lo
    CC       crypto_generichash/libsodium_la-crypto_generichash.lo
    CC       crypto_generichash/blake2b/libsodium_la-generichash_blake2.lo
    CC       crypto_generichash/blake2b/ref/libsodium_la-blake2b-compress-ref.lo
    CC       crypto_generichash/blake2b/ref/libsodium_la-blake2b-ref.lo
    CC       crypto_generichash/blake2b/ref/libsodium_la-generichash_blake2b.lo
    CC       crypto_hash/libsodium_la-crypto_hash.lo
    CC       crypto_hash/sha256/libsodium_la-hash_sha256.lo
    CC       crypto_hash/sha256/cp/libsodium_la-hash_sha256_cp.lo
    CC       crypto_hash/sha512/libsodium_la-hash_sha512.lo
    CC       crypto_hash/sha512/cp/libsodium_la-hash_sha512_cp.lo
    CC       crypto_kdf/blake2b/libsodium_la-kdf_blake2b.lo
    CC       crypto_kdf/libsodium_la-crypto_kdf.lo
    CC       crypto_kx/libsodium_la-crypto_kx.lo
    CC       crypto_onetimeauth/libsodium_la-crypto_onetimeauth.lo
    CC       crypto_onetimeauth/poly1305/libsodium_la-onetimeauth_poly1305.lo
    CC       crypto_onetimeauth/poly1305/donna/libsodium_la-poly1305_donna.lo
    CC       crypto_pwhash/argon2/libsodium_la-argon2-core.lo
    CC       crypto_pwhash/argon2/libsodium_la-argon2-encoding.lo
    CC       crypto_pwhash/argon2/libsodium_la-argon2-fill-block-ref.lo
    CC       crypto_pwhash/argon2/libsodium_la-argon2.lo
    CC       crypto_pwhash/argon2/libsodium_la-blake2b-long.lo
    CC       crypto_pwhash/argon2/libsodium_la-pwhash_argon2i.lo
    CC       crypto_pwhash/argon2/libsodium_la-pwhash_argon2id.lo
    CC       crypto_pwhash/libsodium_la-crypto_pwhash.lo
    CC       crypto_scalarmult/libsodium_la-crypto_scalarmult.lo
    CC       crypto_scalarmult/curve25519/ref10/libsodium_la-x25519_ref10.lo
    CC       crypto_scalarmult/curve25519/libsodium_la-scalarmult_curve25519.lo
    CC       crypto_secretbox/libsodium_la-crypto_secretbox.lo
    CC       crypto_secretbox/libsodium_la-crypto_secretbox_easy.lo
    CC       crypto_secretbox/xsalsa20poly1305/libsodium_la-secretbox_xsalsa20poly1305.lo
    CC       crypto_secretstream/xchacha20poly1305/libsodium_la-secretstream_xchacha20poly1305.lo
    CC       crypto_shorthash/libsodium_la-crypto_shorthash.lo
    CC       crypto_shorthash/siphash24/libsodium_la-shorthash_siphash24.lo
    CC       crypto_shorthash/siphash24/ref/libsodium_la-shorthash_siphash24_ref.lo
    CC       crypto_sign/libsodium_la-crypto_sign.lo
    CC       crypto_sign/ed25519/libsodium_la-sign_ed25519.lo
    CC       crypto_sign/ed25519/ref10/libsodium_la-keypair.lo
    CC       crypto_sign/ed25519/ref10/libsodium_la-open.lo
    CC       crypto_sign/ed25519/ref10/libsodium_la-sign.lo
    CC       crypto_stream/chacha20/libsodium_la-stream_chacha20.lo
    CC       crypto_stream/chacha20/ref/libsodium_la-chacha20_ref.lo
    CC       crypto_stream/libsodium_la-crypto_stream.lo
    CC       crypto_stream/salsa20/libsodium_la-stream_salsa20.lo
    CC       crypto_stream/xsalsa20/libsodium_la-stream_xsalsa20.lo
    CC       crypto_verify/sodium/libsodium_la-verify.lo
    CC       randombytes/libsodium_la-randombytes.lo
    CC       sodium/libsodium_la-codecs.lo
    CC       sodium/libsodium_la-core.lo
    CC       sodium/libsodium_la-runtime.lo
    CC       sodium/libsodium_la-utils.lo
    CC       sodium/libsodium_la-version.lo
    CC       crypto_stream/salsa20/ref/libsodium_la-salsa20_ref.lo
    CC       crypto_box/curve25519xchacha20poly1305/libsodium_la-box_curve25519xchacha20poly1305.lo
    CC       crypto_box/curve25519xchacha20poly1305/libsodium_la-box_seal_curve25519xchacha20poly1305.lo
    CC       crypto_core/ed25519/libsodium_la-core_ed25519.lo
    CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-crypto_scrypt-common.lo
    CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-scrypt_platform.lo
    CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-pbkdf2-sha256.lo
    CC       crypto_pwhash/scryptsalsa208sha256/libsodium_la-pwhash_scryptsalsa208sha256.lo
    CC       crypto_pwhash/scryptsalsa208sha256/nosse/libsodium_la-pwhash_scryptsalsa208sha256_nosse.lo
    CC       crypto_scalarmult/ed25519/ref10/libsodium_la-scalarmult_ed25519_ref10.lo
    CC       crypto_secretbox/xchacha20poly1305/libsodium_la-secretbox_xchacha20poly1305.lo
    CC       crypto_shorthash/siphash24/libsodium_la-shorthash_siphashx24.lo
    CC       crypto_shorthash/siphash24/ref/libsodium_la-shorthash_siphashx24_ref.lo
    CC       crypto_sign/ed25519/ref10/libsodium_la-obsolete.lo
    CC       crypto_stream/salsa2012/ref/libsodium_la-stream_salsa2012_ref.lo
    CC       crypto_stream/salsa2012/libsodium_la-stream_salsa2012.lo
    CC       crypto_stream/salsa208/ref/libsodium_la-stream_salsa208_ref.lo
    CC       crypto_stream/salsa208/libsodium_la-stream_salsa208.lo
    CC       crypto_stream/xchacha20/libsodium_la-stream_xchacha20.lo
    CC       randombytes/sysrandom/libsodium_la-randombytes_sysrandom.lo
    CC       crypto_aead/aes256gcm/aesni/libaesni_la-aead_aes256gcm_aesni.lo
    CCLD     libaesni.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CC       crypto_onetimeauth/poly1305/sse2/libsse2_la-poly1305_sse2.lo
    CC       crypto_pwhash/scryptsalsa208sha256/sse/libsse2_la-pwhash_scryptsalsa208sha256_sse.lo
    CC       crypto_stream/salsa20/xmm6int/libsse2_la-salsa20_xmm6int-sse2.lo
    CCLD     libsse2.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CC       crypto_generichash/blake2b/ref/libssse3_la-blake2b-compress-ssse3.lo
    CC       crypto_pwhash/argon2/libssse3_la-argon2-fill-block-ssse3.lo
    CC       crypto_stream/chacha20/dolbeau/libssse3_la-chacha20_dolbeau-ssse3.lo
    CCLD     libssse3.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CC       crypto_generichash/blake2b/ref/libsse41_la-blake2b-compress-sse41.lo
    CCLD     libsse41.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CC       crypto_generichash/blake2b/ref/libavx2_la-blake2b-compress-avx2.lo
    CC       crypto_pwhash/argon2/libavx2_la-argon2-fill-block-avx2.lo
    CC       crypto_stream/chacha20/dolbeau/libavx2_la-chacha20_dolbeau-avx2.lo
    CC       crypto_stream/salsa20/xmm6int/libavx2_la-salsa20_xmm6int-avx2.lo
    CCLD     libavx2.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CC       crypto_pwhash/argon2/libavx512f_la-argon2-fill-block-avx512f.lo
    CCLD     libavx512f.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CC       randombytes/salsa20/librdrand_la-randombytes_salsa20_random.lo
    CCLD     librdrand.la
  libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
    CCLD     libsodium.la
  /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  make[3]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  make[2]: Nothing to be done for 'all-am'.
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  Making all in test
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test'
  Making all in default
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  make[2]: Nothing to be done for 'all'.
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test'
  make[2]: Nothing to be done for 'all-am'.
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test'
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test'
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6'
  make[1]: Nothing to be done for 'all-am'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6'
  Making check in builds
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/builds'
  make[1]: Nothing to be done for 'check'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/builds'
  Making check in contrib
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/contrib'
  make[1]: Nothing to be done for 'check'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/contrib'
  Making check in dist-build
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/dist-build'
  make[1]: Nothing to be done for 'check'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/dist-build'
  Making check in msvc-scripts
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/msvc-scripts'
  make[1]: Nothing to be done for 'check'.
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/msvc-scripts'
  Making check in src
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  Making check in libsodium
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  Making check in include
  make[3]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium/include'
  make[3]: Nothing to be done for 'check'.
  make[3]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium/include'
  make[3]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  make[3]: Nothing to be done for 'check-am'.
  make[3]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src/libsodium'
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  make[2]: Nothing to be done for 'check-am'.
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/src'
  Making check in test
  make[1]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test'
  Making check in default
  make[2]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  /usr/bin/make  aead_aes256gcm aead_chacha20poly1305 aead_xchacha20poly1305 auth auth2 auth3 auth5 auth6 auth7 box box2 box7 box8 box_easy box_easy2 box_seal box_seed chacha20 codecs core1 core2 core3 core4 core5 core6 ed25519_convert generichash generichash2 generichash3 hash hash3 kdf keygen kx metamorphic misuse onetimeauth onetimeauth2 onetimeauth7 pwhash_argon2i pwhash_argon2id randombytes scalarmult scalarmult2 scalarmult5 scalarmult6 scalarmult7 secretbox secretbox2 secretbox7 secretbox8 secretbox_easy secretbox_easy2 secretstream shorthash sign sodium_core sodium_utils sodium_version stream stream2 stream3 stream4 verify1 sodium_utils2 sodium_utils3 core_ed25519 pwhash_scrypt pwhash_scrypt_ll scalarmult_ed25519 siphashx24 xchacha20
  make[3]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
    CC       aead_aes256gcm.o
    CCLD     aead_aes256gcm
    CC       aead_chacha20poly1305.o
    CCLD     aead_chacha20poly1305
    CC       aead_xchacha20poly1305.o
    CCLD     aead_xchacha20poly1305
    CC       auth.o
    CCLD     auth
    CC       auth2.o
    CCLD     auth2
    CC       auth3.o
    CCLD     auth3
    CC       auth5.o
    CCLD     auth5
    CC       auth6.o
    CCLD     auth6
    CC       auth7.o
    CCLD     auth7
    CC       box.o
    CCLD     box
    CC       box2.o
    CCLD     box2
    CC       box7.o
    CCLD     box7
    CC       box8.o
    CCLD     box8
    CC       box_easy.o
    CCLD     box_easy
    CC       box_easy2.o
    CCLD     box_easy2
    CC       box_seal.o
    CCLD     box_seal
    CC       box_seed.o
    CCLD     box_seed
    CC       chacha20.o
    CCLD     chacha20
    CC       codecs.o
    CCLD     codecs
    CC       core1.o
    CCLD     core1
    CC       core2.o
    CCLD     core2
    CC       core3.o
    CCLD     core3
    CC       core4.o
    CCLD     core4
    CC       core5.o
    CCLD     core5
    CC       core6.o
    CCLD     core6
    CC       ed25519_convert.o
    CCLD     ed25519_convert
    CC       generichash.o
    CCLD     generichash
    CC       generichash2.o
    CCLD     generichash2
    CC       generichash3.o
    CCLD     generichash3
    CC       hash.o
    CCLD     hash
    CC       hash3.o
    CCLD     hash3
    CC       kdf.o
    CCLD     kdf
    CC       keygen.o
    CCLD     keygen
    CC       kx.o
    CCLD     kx
    CC       metamorphic.o
    CCLD     metamorphic
    CC       misuse.o
    CCLD     misuse
    CC       onetimeauth.o
    CCLD     onetimeauth
    CC       onetimeauth2.o
    CCLD     onetimeauth2
    CC       onetimeauth7.o
    CCLD     onetimeauth7
    CC       pwhash_argon2i.o
    CCLD     pwhash_argon2i
    CC       pwhash_argon2id.o
    CCLD     pwhash_argon2id
    CC       randombytes.o
    CCLD     randombytes
    CC       scalarmult.o
    CCLD     scalarmult
    CC       scalarmult2.o
    CCLD     scalarmult2
    CC       scalarmult5.o
    CCLD     scalarmult5
    CC       scalarmult6.o
    CCLD     scalarmult6
    CC       scalarmult7.o
    CCLD     scalarmult7
    CC       secretbox.o
    CCLD     secretbox
    CC       secretbox2.o
    CCLD     secretbox2
    CC       secretbox7.o
    CCLD     secretbox7
    CC       secretbox8.o
    CCLD     secretbox8
    CC       secretbox_easy.o
    CCLD     secretbox_easy
    CC       secretbox_easy2.o
    CCLD     secretbox_easy2
    CC       secretstream.o
    CCLD     secretstream
    CC       shorthash.o
    CCLD     shorthash
    CC       sign.o
    CCLD     sign
    CC       sodium_core.o
    CCLD     sodium_core
    CC       sodium_utils.o
    CCLD     sodium_utils
    CC       sodium_version.o
    CCLD     sodium_version
    CC       stream.o
    CCLD     stream
    CC       stream2.o
    CCLD     stream2
    CC       stream3.o
    CCLD     stream3
    CC       stream4.o
    CCLD     stream4
    CC       verify1.o
    CCLD     verify1
    CC       sodium_utils2.o
    CCLD     sodium_utils2
    CC       sodium_utils3.o
    CCLD     sodium_utils3
    CC       core_ed25519.o
    CCLD     core_ed25519
    CC       pwhash_scrypt.o
    CCLD     pwhash_scrypt
    CC       pwhash_scrypt_ll.o
    CCLD     pwhash_scrypt_ll
    CC       scalarmult_ed25519.o
    CCLD     scalarmult_ed25519
    CC       siphashx24.o
    CCLD     siphashx24
    CC       xchacha20.o
    CCLD     xchacha20
  make[3]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  /usr/bin/make  check-TESTS
  make[3]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  make[4]: Entering directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  PASS: aead_aes256gcm
  PASS: aead_chacha20poly1305
  PASS: aead_xchacha20poly1305
  PASS: auth
  PASS: auth2
  PASS: auth3
  PASS: auth5
  PASS: auth6
  PASS: auth7
  PASS: box
  PASS: box2
  PASS: box7
  PASS: box8
  PASS: box_easy
  PASS: box_easy2
  PASS: box_seal
  PASS: box_seed
  PASS: chacha20
  PASS: codecs
  PASS: core1
  PASS: core2
  PASS: core3
  PASS: core4
  PASS: core5
  PASS: core6
  PASS: ed25519_convert
  PASS: generichash
  PASS: generichash2
  PASS: generichash3
  PASS: hash
  PASS: hash3
  PASS: kdf
  PASS: keygen
  PASS: kx
  PASS: metamorphic
  PASS: misuse
  PASS: onetimeauth
  PASS: onetimeauth2
  PASS: onetimeauth7
  PASS: pwhash_argon2i
  PASS: pwhash_argon2id
  PASS: randombytes
  PASS: scalarmult
  PASS: scalarmult2
  PASS: scalarmult5
  PASS: scalarmult6
  PASS: scalarmult7
  PASS: secretbox
  PASS: secretbox2
  PASS: secretbox7
  PASS: secretbox8
  PASS: secretbox_easy
  PASS: secretbox_easy2
  PASS: secretstream
  PASS: shorthash
  PASS: sign
  PASS: sodium_core
  PASS: sodium_utils
  PASS: sodium_version
  PASS: stream
  PASS: stream2
  PASS: stream3
  PASS: stream4
  PASS: verify1
  PASS: sodium_utils2
  /tmp/pip-install-nfwvuwlb/pynacl/src/libsodium/build-aux/test-driver: line 107: 13480 Segmentation fault      (core dumped) "$@" > $log_file 2>&1
  FAIL: sodium_utils3
  PASS: core_ed25519
  PASS: pwhash_scrypt
  PASS: pwhash_scrypt_ll
  PASS: scalarmult_ed25519
  PASS: siphashx24
  PASS: xchacha20
  ============================================================================
  Testsuite summary for libsodium 1.0.16
  ============================================================================
  # TOTAL: 72
  # PASS:  71
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0
  ============================================================================
  See test/default/test-suite.log
  Please report to https://github.com/jedisct1/libsodium/issues
  ============================================================================
  Makefile:1804: recipe for target 'test-suite.log' failed
  make[4]: *** [test-suite.log] Error 1
  make[4]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  Makefile:1910: recipe for target 'check-TESTS' failed
  make[3]: *** [check-TESTS] Error 2
  make[3]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  Makefile:2480: recipe for target 'check-am' failed
  make[2]: *** [check-am] Error 2
  make[2]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test/default'
  Makefile:402: recipe for target 'check-recursive' failed
  make[1]: *** [check-recursive] Error 1
  make[1]: Leaving directory '/tmp/pip-install-nfwvuwlb/pynacl/build/temp.linux-armv7l-3.6/test'
  Makefile:515: recipe for target 'check-recursive' failed
  make: *** [check-recursive] Error 1
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 141, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-e_dfpesz/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 209, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-e_dfpesz/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 194, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-e_dfpesz/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 237, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-e_dfpesz/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 142, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 255, in <module>
      "Programming Language :: Python :: 3.7",
    File "/tmp/pip-build-env-e_dfpesz/overlay/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-e_dfpesz/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 192, in run
      self.run_command('build')
    File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "setup.py", line 179, in run
      subprocess.check_call(["make", "check"] + make_args, cwd=build_temp)
    File "/usr/local/lib/python3.6/subprocess.py", line 291, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', 'check']' returned non-zero exit status 2.
  ----------------------------------------
  ERROR: Failed building wheel for pynacl
@NicolasDorier
Copy link
Author

NicolasDorier commented Sep 3, 2019

The workaround we are doing is using pip download to get all the packages, then clone pynacl, apply a patch that remove the tests, create the source tarball and substitute the package downloaded by pip download with our modified version.

# We need to patch pynacl because of https://github.com/pyca/pynacl/issues/553
COPY PyNaCl-remove-check.patch PyNaCl-remove-check.patch
RUN cd compose-$DOCKER_COMPOSE_VER && pip download --dest "/tmp/packages" -r requirements.txt -r requirements-build.txt wheel && cd .. && \
    wget -qO pynacl.tar.gz https://github.com/pyca/pynacl/archive/1.3.0.tar.gz && \
    echo "205adb2804eed4bc3780584e368ef2e9b8b22a7aae85323068cadd59f3c8a584  pynacl.tar.gz" | sha256sum -c - && \
    mkdir pynacl && tar --strip-components=1 -xvf pynacl.tar.gz -C pynacl && rm pynacl.tar.gz && \
    cd pynacl && \
    git apply ../PyNaCl-remove-check.patch && \
    python3 setup.py sdist && \
    cp -f dist/PyNaCl-1.3.0.tar.gz /tmp/packages/ && \
    cd ../compose-$DOCKER_COMPOSE_VER && rm -rf ../pynacl && \
    pip install --no-index --find-links /tmp/packages -r requirements.txt -r requirements-build.txt && rm -rf /tmp/packages

With our patch being

diff --git a/setup.py b/setup.py
index 747dc62..bad491d 100644
--- a/setup.py
+++ b/setup.py
@@ -175,9 +175,6 @@ class build_clib(_build_clib):
         # Build the library
         subprocess.check_call(["make"] + make_args, cwd=build_temp)
 
-        # Check the build library
-        subprocess.check_call(["make", "check"] + make_args, cwd=build_temp)
-
         # Install the built library
         subprocess.check_call(["make", "install"] + make_args, cwd=build_temp)
 

We don't really care about the SSH feature that made this patch necessary for docker-compose, so we don't really care about the tests passing or not either.

@yajo10
Copy link

yajo10 commented Dec 18, 2019

Is there a non temporary solution coming soon?

@reaperhulk
Copy link
Member

Test failures in libsodium aren't a thing pynacl can fix. Do those tests fail on the latest libsodium release? Is the issue that pynacl's libsodium is out of date?

@Pant
Copy link

Pant commented Feb 5, 2020

I managed to find an other temporary solution while I was trying to install docker-compose which requires pynacl. I am using Armbian aarch64 on Pine64 Rock64Pro board

Steps:

  1. Download latest libsodium: wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz
  2. Install libsodium:
tar -xvf libsodium-1.0.18-stable.tar.gz libsodium-stable`
cd libsodium-stable/
./configure
make -j
make -j check
make install 
  1. Install pynacl: SODIUM_INSTALL=system pip3 install pynacl

(I runned this to install docker-compose: SODIUM_INSTALL=system pip3 install docker-compose)

Hope someone finds this helpful

@bdotsamir
Copy link

Thank you! This was very helpful

- A Node.js dev, surprisingly

@endikagil
Copy link

I managed to find an other temporary solution while I was trying to install docker-compose which requires pynacl. I am using Armbian aarch64 on Pine64 Rock64Pro board

Steps:

  1. Download latest libsodium: wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz
  2. Install libsodium:
tar -xvf libsodium-1.0.18-stable.tar.gz libsodium-stable`
cd libsodium-stable/
./configure
make -j
make -j check
make install 
  1. Install pynacl: SODIUM_INSTALL=system pip3 install pynacl

(I runned this to install docker-compose: SODIUM_INSTALL=system pip3 install docker-compose)

Hope someone finds this helpful

Thanks, it helps me for installing docker-compose on Linux-arm32v7 Raspberry 3

@MkLHX
Copy link

MkLHX commented Apr 27, 2021

using RUN SODIUM_INSTALL=system pip3 install pynacl
on Dockerfile help me on multi-arch arm/v7 and amd64
thx!

@davidivkovic
Copy link

Thank you @Pant ! Only thing that worked after hours of trial and error.

@jiasli
Copy link

jiasli commented Sep 17, 2021

Thank you @Pant !

When running Debian arm64 docker image on amd64 machine, I am able to install libsodium with apt first, then PyNaCl:

apt install --yes libsodium-dev
SODIUM_INSTALL=system pip3 install pynacl

This makes the installation much faster.

@NicolasDorier
Copy link
Author

Closing this as the workaround seems to work, and I don't have this problem anymore either.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

9 participants