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

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

Open
dorvardi2 opened this issue Aug 11, 2024 · 1 comment

Comments

@dorvardi2
Copy link

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.

@reaperhulk
Copy link
Member

Can you replicate this with just libsodium? We have a newer version in the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants