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

pip install fail on aarch64 #563

Closed
BedivereZero opened this issue Nov 28, 2019 · 1 comment
Closed

pip install fail on aarch64 #563

BedivereZero opened this issue Nov 28, 2019 · 1 comment

Comments

@BedivereZero
Copy link

I try to install via pip

$ pip install PyNaCl
...
  /tmp/pip-install-r6OtqL/pynacl/src/libsodium/build-aux/test-driver: line 107: 46042 Killed                  "$@" > $log_file 2>&1
  FAIL: 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
  ============================================================================
  make[4]: *** [test-suite.log] Error 1
  make[4]: Leaving directory `/tmp/pip-install-r6OtqL/pynacl/build/temp.linux-aarch64-2.7/test/default'
  make[3]: *** [check-TESTS] Error 2
  make[3]: Leaving directory `/tmp/pip-install-r6OtqL/pynacl/build/temp.linux-aarch64-2.7/test/default'
  make[2]: *** [check-am] Error 2
  make[2]: Leaving directory `/tmp/pip-install-r6OtqL/pynacl/build/temp.linux-aarch64-2.7/test/default'
  make[1]: *** [check-recursive] Error 1
  make[1]: Leaving directory `/tmp/pip-install-r6OtqL/pynacl/build/temp.linux-aarch64-2.7/test'
  make: *** [check-recursive] Error 1
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
      main()
    File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py", line 182, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-ZzM68w/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 209, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-ZzM68w/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 194, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-ZzM68w/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 237, in run_setup
      self).run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-ZzM68w/overlay/lib/python2.7/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-ZzM68w/overlay/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
      dist.run_commands()
    File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-ZzM68w/overlay/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run
      self.run_command('build')
    File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run
      self.run_command(cmd_name)
    File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib64/python2.7/distutils/dist.py", line 972, 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/lib64/python2.7/subprocess.py", line 542, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['make', 'check']' returned non-zero exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for pynacl
  Running setup.py clean for pynacl
Successfully built bcrypt cryptography
Failed to build pynacl
ERROR: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly

then, I try to install from source package

$ tar -xf PyNaCl-1.3.0.tar.gz && cd PyNaCl-1.3.0 && python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
running build_clib
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
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... /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... 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... -std=gnu99
checking dependency style of gcc -std=gnu99... 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... 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 -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 -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 -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 -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmisleading-indentation... 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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -Wnull-dereference... 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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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 -Wfloat-equal -Wformat=2 -Wlogical-op -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-type-limits -Wno-unknown-pragmas -Wnormalized=id -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
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 -std=gnu99... /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 aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu 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 -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/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 -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 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... yes
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... yes
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 `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/builds'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/builds'
Making all in contrib
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/contrib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/contrib'
Making all in dist-build
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/dist-build'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/dist-build'
Making all in msvc-scripts
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/msvc-scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/msvc-scripts'
Making all in src
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
Making all in libsodium
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
Making all in include
make[3]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium/include'
make[3]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
Making all in test
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test'
Making all in default
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test'
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test'
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7'
Making check in builds
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/builds'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/builds'
Making check in contrib
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/contrib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/contrib'
Making check in dist-build
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/dist-build'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/dist-build'
Making check in msvc-scripts
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/msvc-scripts'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/msvc-scripts'
Making check in src
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
Making check in libsodium
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
Making check in include
make[3]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium/include'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium/include'
make[3]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src/libsodium'
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/src'
Making check in test
make[1]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test'
Making check in default
make[2]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
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 `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[3]: `aead_aes256gcm' is up to date.
make[3]: `aead_chacha20poly1305' is up to date.
make[3]: `aead_xchacha20poly1305' is up to date.
make[3]: `auth' is up to date.
make[3]: `auth2' is up to date.
make[3]: `auth3' is up to date.
make[3]: `auth5' is up to date.
make[3]: `auth6' is up to date.
make[3]: `auth7' is up to date.
make[3]: `box' is up to date.
make[3]: `box2' is up to date.
make[3]: `box7' is up to date.
make[3]: `box8' is up to date.
make[3]: `box_easy' is up to date.
make[3]: `box_easy2' is up to date.
make[3]: `box_seal' is up to date.
make[3]: `box_seed' is up to date.
make[3]: `chacha20' is up to date.
make[3]: `codecs' is up to date.
make[3]: `core1' is up to date.
make[3]: `core2' is up to date.
make[3]: `core3' is up to date.
make[3]: `core4' is up to date.
make[3]: `core5' is up to date.
make[3]: `core6' is up to date.
make[3]: `ed25519_convert' is up to date.
make[3]: `generichash' is up to date.
make[3]: `generichash2' is up to date.
make[3]: `generichash3' is up to date.
make[3]: `hash' is up to date.
make[3]: `hash3' is up to date.
make[3]: `kdf' is up to date.
make[3]: `keygen' is up to date.
make[3]: `kx' is up to date.
make[3]: `metamorphic' is up to date.
make[3]: `misuse' is up to date.
make[3]: `onetimeauth' is up to date.
make[3]: `onetimeauth2' is up to date.
make[3]: `onetimeauth7' is up to date.
make[3]: `pwhash_argon2i' is up to date.
make[3]: `pwhash_argon2id' is up to date.
make[3]: `randombytes' is up to date.
make[3]: `scalarmult' is up to date.
make[3]: `scalarmult2' is up to date.
make[3]: `scalarmult5' is up to date.
make[3]: `scalarmult6' is up to date.
make[3]: `scalarmult7' is up to date.
make[3]: `secretbox' is up to date.
make[3]: `secretbox2' is up to date.
make[3]: `secretbox7' is up to date.
make[3]: `secretbox8' is up to date.
make[3]: `secretbox_easy' is up to date.
make[3]: `secretbox_easy2' is up to date.
make[3]: `secretstream' is up to date.
make[3]: `shorthash' is up to date.
make[3]: `sign' is up to date.
make[3]: `sodium_core' is up to date.
make[3]: `sodium_utils' is up to date.
make[3]: `sodium_version' is up to date.
make[3]: `stream' is up to date.
make[3]: `stream2' is up to date.
make[3]: `stream3' is up to date.
make[3]: `stream4' is up to date.
make[3]: `verify1' is up to date.
make[3]: `sodium_utils2' is up to date.
make[3]: `sodium_utils3' is up to date.
make[3]: `core_ed25519' is up to date.
make[3]: `pwhash_scrypt' is up to date.
make[3]: `pwhash_scrypt_ll' is up to date.
make[3]: `scalarmult_ed25519' is up to date.
make[3]: `siphashx24' is up to date.
make[3]: `xchacha20' is up to date.
make[3]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make  check-TESTS
make[3]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[4]: Entering directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/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
PASS: sodium_utils3
PASS: core_ed25519
/root/paramiko/PyNaCl-1.3.0/src/libsodium/build-aux/test-driver: line 107: 49697 Killed                  "$@" > $log_file 2>&1
FAIL: 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
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test/default'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/paramiko/PyNaCl-1.3.0/build/temp.linux-aarch64-2.7/test'
make: *** [check-recursive] Error 1
Traceback (most recent call last):
  File "setup.py", line 255, in <module>
    "Programming Language :: Python :: 3.7",
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run
    self.run_command('build')
  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, 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/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'check']' returned non-zero exit status 2
[setuptools-bdist_wheel.log](https://github.com/pyca/pynacl/files/3899787/setuptools-bdist_wheel.log)
@reaperhulk
Copy link
Member

This is a failure in the libsodium test suite and not something we can help with. We'll be releasing a new pynacl with a newer libsodium bundled this week which might fix this issue though.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2020
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

2 participants