[pycrypto] Failed test compiling on Fedora 19

finid at linuxbsdos.com finid at linuxbsdos.com
Thu Aug 29 17:35:37 PDT 2013

Sorry folks. I posted the wrong output from another program.

Here's what happened.

On running "python3 setup.py test" I get this


SelfTest: You can ignore the RandomPool_DeprecationWarning that follows.
ERROR: test_negative_number_roundtrip_mpzToLongObj_longObjToMPZ 
Test that mpzToLongObj and longObjToMPZ (internal functions) roundtrip 
negative numbers correctly.
Traceback (most recent call last):
   File "build/lib.linux-x86_64-3.3/Crypto/SelfTest/Util/test_number.py", 
line 283, in test_negative_number_roundtrip_mpzToLongObj_longObjToMPZ
     k = number._fastmath.rsa_construct(n, e)
AttributeError: 'NoneType' object has no attribute 'rsa_construct'

Ran 1031 tests in 38.282s

FAILED (errors=1)
Traceback (most recent call last):
   File "setup.py", line 456, in <module>
   File "/usr/lib64/python3.3/distutils/core.py", line 148, in setup
   File "/usr/lib64/python3.3/distutils/dist.py", line 929, in 
   File "/usr/lib64/python3.3/distutils/dist.py", line 948, in 
   File "setup.py", line 336, in run
     SelfTest.run(module=moduleObj, verbosity=self.verbose, 
stream=sys.stdout, config=self.config)
   File "build/lib.linux-x86_64-3.3/Crypto/SelfTest/__init__.py", line 
74, in run
     raise SelfTestError("Self-test failed", result)
Crypto.SelfTest.SelfTestError: ('Self-test failed', 
<unittest.runner.TextTestResult run=1031 errors=1 failures=0>)


On running "python3 setup.py build" I get this:


python3 setup.py build
running build
running build_py
running build_ext
running build_configure
warning: GMP or MPIR library not found; Not building 


But GMP and PMIR are installed.

But even with the error on test and the warning on build, "python3 
setup.py install" completed successfully, only throwing the same warning 
I got on the build part.

What's with the error on test and the warning message on build? Are 
those make or break?



On 2013-08-29 21:02, finid at linuxbsdos.com wrote:
> Folks,
> When I ran "python3 runtests test" on Fedora 19, most of the test were
> either SKIPPED or PASSED, and I got a bunch of errors all having to do
> with SELinux. Here's the tail end of the test report:
> <!Start>
> rsync: rsync_xal_set:
> lsetxattr(""/tmp/s3ql-mnt-ssn0wz/orig/C!pulseaudio/Oõkarm/.sort.B3KkHI"","security.selinux") failed: Operation not supported (95)
> rsync: rsync_xal_set:
> lsetxattr(""/tmp/s3ql-mnt-ssn0wz/orig/C!pulseaudio/Oõkarm/.ótrue.WWN7XB"","security.selinux") failed: Operation not supported (95)
> rsync: rsync_xal_set:
> lsetxattr(""/tmp/s3ql-mnt-ssn0wz/orig/C!pulseaudio/Oõkarm/.Ðkinfocenter.lPArfv"","security.selinux") failed: Operation not supported (95)
> rsync error: some files/attrs were not transferred (see previous
> errors) (code 23) at main.c(1052) [sender=3.0.9]
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 2
> failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> =============== 1 failed, 135 passed, 61 skipped, 1 error in 109.11
> seconds========
> </Stop>
> Even with this error, running "python3 setup.py install" completed 
> successfully.
> Any ideas what impact those SELinux-related errors will have on using 
> S3QL?
> TIA,
> --
> finid
> http://linuxbsdos.com
> _______________________________________________
> pycrypto mailing list
> pycrypto at lists.dlitz.net
> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto

More information about the pycrypto mailing list