JuliaCrypto / Nettle.jl

Julia wrapper around nettle cryptographic hashing/encryption library providing MD5, SHA1, SHA2 hashing and HMAC functionality, as well as AES encryption/decryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pkg.test() failure on OSX

staticfloat opened this issue · comments

This isn't due to the recently-merged #64, but is reproducible on my OSX machine. @tkelman is this a known problem with julia v0.4.3 perhaps?

julia> Pkg.test("Nettle")
INFO: Testing Nettle
INFO: Recompiling stale cache file /Users/sabae/.julia/lib/v0.4/Nettle.ji for module Nettle.
Testing hash show methods:
SHA256 Hash
  Context size: 112 bytes
  Digest size: 32 bytes
  Block size: 64 bytes
SHA256 Hash state
Testing HMAC show methods:
SHA256 HMAC state
Assertion failed: (rval->getType() == jl_pvalue_llvmt || rval->getType() == NoopType), function emit_assignment, file codegen.cpp, line 3007.

signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
===============================================================[ ERROR: Nettle ]===============================================================

failed process: Process(`/usr/local/Cellar/julia/0.4.3/bin/julia --check-bounds=yes --code-coverage=none --color=yes /Users/sabae/.julia/v0.4/Nettle/test/runtests.jl`, ProcessSignaled(6)) [0]

===============================================================================================================================================
ERROR: Nettle had test errors
 in error at /usr/local/Cellar/julia/0.4.3/lib/julia/sys.dylib
 in test at pkg/entry.jl:803
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in test at pkg.jl:71

Not that I know of?

On Sat, Mar 19, 2016 at 2:08 PM -0700, "Elliot Saba" notifications@github.com wrote:

This isn't due to the recently-merged #64, but is reproducible on my OSX machine. @tkelman is this a known problem with 0.4.3 perhaps?

julia> Pkg.test("Nettle")
INFO: Testing Nettle
INFO: Recompiling stale cache file /Users/sabae/.julia/lib/v0.4/Nettle.ji for module Nettle.
Testing hash show methods:
SHA256 Hash
  Context size: 112 bytes
  Digest size: 32 bytes
  Block size: 64 bytes
SHA256 Hash state
Testing HMAC show methods:
SHA256 HMAC state
Assertion failed: (rval->getType() == jl_pvalue_llvmt || rval->getType() == NoopType), function emit_assignment, file codegen.cpp, line 3007.

signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
===============================================================[ ERROR: Nettle ]===============================================================

failed process: Process(`/usr/local/Cellar/julia/0.4.3/bin/julia --check-bounds=yes --code-coverage=none --color=yes /Users/sabae/.julia/v0.4/Nettle/test/runtests.jl`, ProcessSignaled(6)) [0]

===============================================================================================================================================
ERROR: Nettle had test errors
 in error at /usr/local/Cellar/julia/0.4.3/lib/julia/sys.dylib
 in test at pkg/entry.jl:803
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in test at pkg.jl:71


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#66

This apparently only happens with a Homebrew-built Julia, which has an LLVM with assertions enabled by default.

Since this doesn't happen on 0.5, I'm going to call this irrelevant.