Skip to content

PyNaCl Build Failure on Solaris 10: make check Fails During randombytes Test #832

@dorvardi2

Description

@dorvardi2

Environment:

•	OS: Solaris 10 (SunOS 5.10)
•	Architecture: x86_64
•	GCC Version: 9.5.0
•	Python Version: 3.11
•	PyNaCl Version: 1.4.0 (attempting to build from source)
•	libsodium Version: 1.0.18 (built from source)

Issue Summary:

I am attempting to install PyNaCl on a Solaris 10 system, but the build process fails during the make check step. The failure occurs in the randombytes test, which results in the overall test suite failing with a non-zero exit status.

PASS: aead_aes256gcm
PASS: aead_aes256gcm2
PASS: aead_chacha20poly1305
...
FAIL: randombytes
...

Testsuite summary for libsodium 1.0.18

TOTAL: 77

PASS: 76

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]: *** [Makefile:1776: test-suite.log] Error 1
make[4]: Leaving directory '/usr/PyNaCl-1.4.0/build/temp.solaris-2.10-i86pc.64bit-cpython-311/test/default'
make[3]: *** [Makefile:1884: check-TESTS] Error 2
make[3]: Leaving directory '/usr/PyNaCl-1.4.0/build/temp.solaris-2.10-i86pc.64bit-cpython-311/test/default'
make[2]: *** [Makefile:2490: check-am] Error 2
make[2]: Leaving directory '/usr/PyNaCl-1.4.0/build/temp.solaris-2.10-i86pc.64bit-cpython-311/test/default'
make[1]: *** [Makefile:402: check-recursive] Error 1
make[1]: Leaving directory '/usr/PyNaCl-1.4.0/build/temp.solaris-2.10-i86pc.64bit-cpython-311/test'
make: *** [Makefile:514: check-recursive] Error 1
Traceback (most recent call last):
File "/usr/PyNaCl-1.4.0/setup.py", line 216, in
setup(
...
subprocess.CalledProcessError: Command '['make', 'check']' returned non-zero exit status 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions