ImperialCollegeLondon / django-drf-filepond

A Django app providing a server implemention for the Filepond file upload library
BSD 3-Clause "New" or "Revised" License
103 stars 39 forks source link

Problem while executing python setup.py test #28

Closed pasevin closed 3 years ago

pasevin commented 4 years ago

As per https://github.com/ImperialCollegeLondon/django-drf-filepond/issues/25

I have the problem trying to execute setup.py with test. I have no experience with this kind of issue, maybe you can pin point where's the culprit.

My setup:

MacOS Catalina Python 3.6

The massive log:

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
running test
Searching for paramiko
Best match: paramiko 2.7.1
Processing paramiko-2.7.1-py3.6.egg

Using /Users/pasevin/_Dev/_Repos/django-drf-filepond/.eggs/paramiko-2.7.1-py3.6.egg
Searching for httpretty
Reading https://pypi.python.org/simple/httpretty/
Downloading https://files.pythonhosted.org/packages/50/d1/e5e2da5c332b369f05b474e70ea7dcfa3cdaf7e11350bdae5e36a96e482f/httpretty-0.9.7.tar.gz#sha256=66216f26b9d2c52e81808f3e674a6fb65d4bf719721394a1a9be926177e55fbe
Best match: httpretty 0.9.7
Processing httpretty-0.9.7.tar.gz
Writing /var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-lnwk_p6c/httpretty-0.9.7/setup.cfg
Running httpretty-0.9.7/setup.py -q bdist_egg --dist-dir /var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-lnwk_p6c/httpretty-0.9.7/egg-dist-tmp-o5ia7c1b
creating /Users/pasevin/_Dev/_Repos/django-drf-filepond/.eggs/httpretty-0.9.7-py3.6.egg
Extracting httpretty-0.9.7-py3.6.egg to /Users/pasevin/_Dev/_Repos/django-drf-filepond/.eggs

Installed /Users/pasevin/_Dev/_Repos/django-drf-filepond/.eggs/httpretty-0.9.7-py3.6.egg
Searching for coverage
Best match: coverage 5.0
Processing coverage-5.0-py3.6-macosx-10.6-intel.egg

Using /Users/pasevin/_Dev/_Repos/django-drf-filepond/.eggs/coverage-5.0-py3.6-macosx-10.6-intel.egg
Searching for nose
Best match: nose 1.3.7
Processing nose-1.3.7-py3.6.egg

Using /Users/pasevin/_Dev/_Repos/django-drf-filepond/.eggs/nose-1.3.7-py3.6.egg
Searching for pynacl>=1.0.1
Reading https://pypi.python.org/simple/pynacl/
Downloading https://files.pythonhosted.org/packages/61/ab/2ac6dea8489fa713e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz#sha256=0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c
Best match: PyNaCl 1.3.0
Processing PyNaCl-1.3.0.tar.gz
Writing /var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/setup.cfg
Running PyNaCl-1.3.0/setup.py -q bdist_egg --dist-dir /var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/egg-dist-tmp-jtt9rmbc
_configtest.c:1:1: error: thread-local storage is not supported for the current target
__thread int some_threadlocal_variable_42;
^
1 error generated.
Note: will not use '__thread' in the C code
***** The above error message can be safely ignored.

ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /usr/local/Cellar/libffi/3.2.1/lib/libffi.dylib, building for macOS-i386 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd

Installed /private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/.eggs/cffi-1.13.2-py3.6-macosx-10.6-intel.egg
Searching for pycparser
Reading https://pypi.python.org/simple/pycparser/
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz#sha256=a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Best match: pycparser 2.19
Processing pycparser-2.19.tar.gz
Writing /var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/temp/easy_install-8l5kjn_p/pycparser-2.19/setup.cfg
Running pycparser-2.19/setup.py -q bdist_egg --dist-dir /var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/temp/easy_install-8l5kjn_p/pycparser-2.19/egg-dist-tmp-z13ei75a
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.yacc.cpython-36: module references __file__
pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-36: module MAY be using inspect.stack
pycparser.ply.__pycache__.lex.cpython-36: module references __file__
pycparser.ply.__pycache__.lex.cpython-36: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.ygen.cpython-36: module references __file__
creating /private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/.eggs/pycparser-2.19-py3.6.egg
Extracting pycparser-2.19-py3.6.egg to /private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/.eggs

Installed /private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/.eggs/pycparser-2.19-py3.6.egg
warning: no previously-included files matching '__pycache__/*' found anywhere in distribution
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/install.sh'
warning: no previously-included files found matching '.travis/run.sh'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching 'tasks.py'
warning: no previously-included files found matching 'Jenkinsfile'
warning: no previously-included files found matching '.jenkins'
warning: no previously-included files found matching '.jenkins/Jenkinsfile-pynacl-wheel-builder'
checking build system type... x86_64-apple-darwin19.0.0
checking host system type... x86_64-apple-darwin19.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/src/libsodium/build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '501' is supported by ustar format... yes
checking whether GID '20' 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... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
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... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -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 -Wno-unknown-warning-option -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 -Wno-unknown-warning-option -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wshorten-64-to-32... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wshorten-64-to-32 -Wsometimes-uninitialized... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wshorten-64-to-32 -Wsometimes-uninitialized -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 -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... yes
checking whether C compiler accepts -g -O2 -pthread -fvisibility=hidden -fPIC -fPIE -fno-strict-aliasing -fno-strict-overflow -fstack-protector -Wextra -Wno-unknown-warning-option -Wbad-function-cast -Wcast-qual -Wdiv-by-zero -Wduplicated-branches -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 -Wshorten-64-to-32 -Wsometimes-uninitialized -Wstrict-prototypes -Wswitch-enum -Wvariable-decl -Wwrite-strings... yes
checking whether the linker accepts -Wl,-z,relro... no
checking whether the linker accepts -Wl,-z,now... no
checking whether the linker accepts -Wl,-z,noexecstack... no
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) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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... 196608
checking how to convert x86_64-apple-darwin19.0.0 file names to x86_64-apple-darwin19.0.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin19.0.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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... no
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 dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.0.0 dyld
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... yes
checking for MMX instructions set... yes
checking whether C compiler accepts -mmmx... (cached) yes
checking whether C compiler accepts -msse2... yes
checking for SSE2 instructions set... yes
checking whether C compiler accepts -msse2... (cached) yes
checking whether C compiler accepts -msse3... yes
checking for SSE3 instructions set... yes
checking whether C compiler accepts -msse3... (cached) yes
checking whether C compiler accepts -mssse3... yes
checking for SSSE3 instructions set... yes
checking whether C compiler accepts -mssse3... (cached) yes
checking whether C compiler accepts -msse4.1... yes
checking for SSE4.1 instructions set... yes
checking whether C compiler accepts -msse4.1... (cached) yes
checking whether C compiler accepts -mavx... yes
checking for AVX instructions set... yes
checking whether C compiler accepts -mavx... (cached) yes
checking whether C compiler accepts -mavx2... yes
checking for AVX2 instructions set... yes
checking whether C compiler accepts -mavx2... (cached) yes
checking if _mm256_broadcastsi128_si256 is correctly defined... yes
checking whether C compiler accepts -mavx512f... yes
checking for AVX512F instructions set... yes
checking whether C compiler accepts -mavx512f... (cached) yes
checking whether C compiler accepts -maes... yes
checking whether C compiler accepts -mpclmul... yes
checking for AESNI instructions set and PCLMULQDQ... yes
checking whether C compiler accepts -maes... (cached) yes
checking whether C compiler accepts -mpclmul... (cached) yes
checking whether C compiler accepts -mrdrnd... yes
checking for RDRAND... yes
checking whether C compiler accepts -mrdrnd... (cached) yes
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... (cached) no
checking whether __STDC_LIMIT_MACROS is required... no
checking whether we can use x86_64 asm code... yes
checking whether we can assemble AVX opcodes... yes
checking for 128-bit arithmetic... yes
checking for cpuid instruction... yes
checking if the .private_extern asm directive is supported... yes
checking if the .hidden asm directive is supported... no
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... yes
checking for arc4random_buf... yes
checking for mmap... yes
checking for mlock... yes
checking for madvise... yes
checking for mprotect... yes
checking for memset_s... yes
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]: Nothing to be done for `all'.
Making all in contrib
make[1]: Nothing to be done for `all'.
Making all in dist-build
make[1]: Nothing to be done for `all'.
Making all in msvc-scripts
make[1]: Nothing to be done for `all'.
Making all in src
Making all in libsodium
Making all in include
make[3]: Nothing to be done for `all'.
  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
  CPPAS    crypto_stream/salsa20/xmm6/libsodium_la-salsa20_xmm6-asm.lo
  CC       crypto_stream/salsa20/xmm6/libsodium_la-salsa20_xmm6.lo
  CC       crypto_scalarmult/curve25519/sandy2x/libsodium_la-curve25519_sandy2x.lo
  CC       crypto_scalarmult/curve25519/sandy2x/libsodium_la-fe51_invert.lo
  CC       crypto_scalarmult/curve25519/sandy2x/libsodium_la-fe_frombytes_sandy2x.lo
  CPPAS    crypto_scalarmult/curve25519/sandy2x/libsodium_la-sandy2x.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
  CC       crypto_onetimeauth/poly1305/sse2/libsse2_la-poly1305_sse2.lo
  CC       crypto_pwhash/scryptsalsa208sha256/sse/libsse2_la-pwhash_scryptsalsa208sha256_sse.lo
  CCLD     libsse2.la
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  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
  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
  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
  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
  CC       randombytes/salsa20/librdrand_la-randombytes_salsa20_random.lo
  CCLD     librdrand.la
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
  CCLD     libsodium.la
make[2]: Nothing to be done for `all-am'.
Making all in test
Making all in default
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.
Making check in builds
make[1]: Nothing to be done for `check'.
Making check in contrib
make[1]: Nothing to be done for `check'.
Making check in dist-build
make[1]: Nothing to be done for `check'.
Making check in msvc-scripts
make[1]: Nothing to be done for `check'.
Making check in src
Making check in libsodium
Making check in include
make[3]: Nothing to be done for `check'.
make[3]: Nothing to be done for `check-am'.
make[2]: Nothing to be done for `check-am'.
Making check in test
Making check in default
/Applications/Xcode.app/Contents/Developer/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
  CC       aead_aes256gcm.o
  CCLD     aead_aes256gcm
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       aead_chacha20poly1305.o
  CCLD     aead_chacha20poly1305
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       aead_xchacha20poly1305.o
  CCLD     aead_xchacha20poly1305
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       auth.o
  CCLD     auth
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       auth2.o
  CCLD     auth2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       auth3.o
  CCLD     auth3
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       auth5.o
  CCLD     auth5
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       auth6.o
  CCLD     auth6
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       auth7.o
  CCLD     auth7
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box.o
  CCLD     box
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box2.o
  CCLD     box2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box7.o
  CCLD     box7
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box8.o
  CCLD     box8
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box_easy.o
  CCLD     box_easy
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box_easy2.o
  CCLD     box_easy2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box_seal.o
  CCLD     box_seal
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       box_seed.o
  CCLD     box_seed
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       chacha20.o
  CCLD     chacha20
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       codecs.o
  CCLD     codecs
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core1.o
  CCLD     core1
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core2.o
  CCLD     core2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core3.o
  CCLD     core3
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core4.o
  CCLD     core4
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core5.o
  CCLD     core5
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core6.o
  CCLD     core6
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       ed25519_convert.o
  CCLD     ed25519_convert
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       generichash.o
  CCLD     generichash
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       generichash2.o
  CCLD     generichash2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       generichash3.o
  CCLD     generichash3
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       hash.o
  CCLD     hash
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       hash3.o
  CCLD     hash3
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       kdf.o
  CCLD     kdf
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       keygen.o
  CCLD     keygen
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       kx.o
  CCLD     kx
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       metamorphic.o
  CCLD     metamorphic
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       misuse.o
  CCLD     misuse
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       onetimeauth.o
  CCLD     onetimeauth
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       onetimeauth2.o
  CCLD     onetimeauth2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       onetimeauth7.o
  CCLD     onetimeauth7
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       pwhash_argon2i.o
  CCLD     pwhash_argon2i
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       pwhash_argon2id.o
  CCLD     pwhash_argon2id
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       randombytes.o
  CCLD     randombytes
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       scalarmult.o
  CCLD     scalarmult
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       scalarmult2.o
  CCLD     scalarmult2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       scalarmult5.o
  CCLD     scalarmult5
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       scalarmult6.o
  CCLD     scalarmult6
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       scalarmult7.o
  CCLD     scalarmult7
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretbox.o
  CCLD     secretbox
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretbox2.o
  CCLD     secretbox2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretbox7.o
  CCLD     secretbox7
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretbox8.o
  CCLD     secretbox8
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretbox_easy.o
  CCLD     secretbox_easy
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretbox_easy2.o
  CCLD     secretbox_easy2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       secretstream.o
  CCLD     secretstream
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       shorthash.o
  CCLD     shorthash
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       sign.o
  CCLD     sign
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       sodium_core.o
  CCLD     sodium_core
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       sodium_utils.o
  CCLD     sodium_utils
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       sodium_version.o
  CCLD     sodium_version
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       stream.o
  CCLD     stream
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       stream2.o
  CCLD     stream2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       stream3.o
  CCLD     stream3
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       stream4.o
  CCLD     stream4
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       verify1.o
  CCLD     verify1
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       sodium_utils2.o
  CCLD     sodium_utils2
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       sodium_utils3.o
  CCLD     sodium_utils3
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       core_ed25519.o
  CCLD     core_ed25519
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       pwhash_scrypt.o
  CCLD     pwhash_scrypt
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       pwhash_scrypt_ll.o
  CCLD     pwhash_scrypt_ll
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       scalarmult_ed25519.o
  CCLD     scalarmult_ed25519
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       siphashx24.o
  CCLD     siphashx24
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
  CC       xchacha20.o
  CCLD     xchacha20
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
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
/private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/src/libsodium/build-aux/test-driver: line 107: 50430 Segmentation fault: 11  "$@" > $log_file 2>&1
FAIL: pwhash_argon2i
/private/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/src/libsodium/build-aux/test-driver: line 107: 50437 Segmentation fault: 11  "$@" > $log_file 2>&1
FAIL: 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
PASS: 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:  70
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See test/default/test-suite.log
Please report to https://github.com/jedisct1/libsodium/issues
============================================================================
make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
Traceback (most recent call last):
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 157, in save_modules
    yield saved
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 248, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 278, in run
    return func()
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 246, in runner
    _execfile(setup_script, ns)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 47, in _execfile
    exec(code, globals, locals)
  File "/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/setup.py", line 255, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 160, in run
    self.run_command('build_clib')
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/setup.py", line 179, in run
  File "/Library/Frameworks/Python.framework/Versions/3.6/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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 50, in <module>
    "Topic :: Software Development :: Libraries :: Python Modules",
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/test.py", line 198, in run
    installed_dists = self.install_dists(self.distribution)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/test.py", line 194, in install_dists
    tr_d = dist.fetch_build_eggs(dist.tests_require or [])
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs
    replace_conflicting=True,
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/pkg_resources/__init__.py", line 850, in resolve
    dist = best[req.key] = env.best_match(req, ws, installer)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1122, in best_match
    return self.obtain(req, installer)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1134, in obtain
    return installer(requirement)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/dist.py", line 429, in fetch_build_egg
    return cmd.easy_install(req)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 665, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 695, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 876, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1115, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1101, in run_setup
    run_setup(setup_script, args)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 251, in run_setup
    raise
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 100, in __exit__
    self.gen.throw(type, value, traceback)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 100, in __exit__
    self.gen.throw(type, value, traceback)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 169, in save_modules
    saved_exc.resume()
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 144, in resume
    six.reraise(type, exc, self._tb)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/pkg_resources/_vendor/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 157, in save_modules
    yield saved
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 248, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 278, in run
    return func()
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 246, in runner
    _execfile(setup_script, ns)
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/sandbox.py", line 47, in _execfile
    exec(code, globals, locals)
  File "/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/setup.py", line 255, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/Users/pasevin/_Dev/_Repos/django-drf-filepond/env/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 160, in run
    self.run_command('build_clib')
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/var/folders/5y/xlnjt7gs4cz1h4lch1sqft1c0000gn/T/easy_install-f6nf050k/PyNaCl-1.3.0/setup.py", line 179, in run
  File "/Library/Frameworks/Python.framework/Versions/3.6/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.
jcohen02 commented 4 years ago

This looks to be a libsodium issue similar to this (linking to this), where the same two tests are failing in the libsodium make check phase, and also to some extent this.

I'm running an older version of OS X and I observe that when I install PyNaCl via pip, it's installing a binary wheel which presumably includes all the dependencies -- I never see it try to build libsodium.

What version of pip are you using? I've seen a couple of places (e.g. here) saying that if you upgrade pip, you'll get a binary install of PyNaCl but I wonder if there isn't a binary wheel available for Catalina.

I tried downloading the same PyNaCl source that your install is downloading and then building the included libsodium that you can find in PyNaCl-1.3.0/src/libsodium and I can build successfully and all tests pass when running make check.

I'm assuming this may be a Catalina issue. I'll investigate further.

jcohen02 commented 4 years ago

Are you running in a virtualenv? If so, can you run pip install -U pip setuptools wheel to update things and then try pip install PyNaCl again and see if it pulls a wheel rather than trying to install from source?

pasevin commented 4 years ago

Hi, sorry will be away for a few weeks. I will try to do this ASAP.

jcohen02 commented 4 years ago

No worries, whenever you get a chance. Thanks.

jcohen02 commented 4 years ago

Hi @pasevin, just following up on this. I have tested with Python 3.6.10 on Catalina and the test suite runs fine.

Have you been testing within a virtualenv? Are you using a system version of Python or one installed via macports or brew? I'm using 3.6.10 installed via macports. I then pip install virtualenv, create and activate a virtual environment and I can then successfully run python setup.py test.

Can you provide a little more info about the environment you're trying to run the tests in?

Thanks.

jcohen02 commented 3 years ago

Thanks for highlighting this issue, I'm going to close it now but please reopen if you're still experiencing issues when trying to run the test suite.