When trying to Pkg.add("Cairo"), the build process reliably fails - and 
kills the runtime - with a segmentation fault, every time.


julia> Pkg.add("Cairo")
INFO: Installing BinDeps v0.3.12
INFO: Installing Cairo v0.2.27
INFO: Installing Color v0.4.5
INFO: Installing Compat v0.4.4
INFO: Installing FixedPointNumbers v0.0.7
INFO: Installing Graphics v0.1.0
INFO: Installing SHA v0.0.4
INFO: Installing URIParser v0.0.5
INFO: Building Cairo

signal (11): Segmentation fault
unknown function (ip: -61501312)
unknown function (ip: -201944468)
unknown function (ip: -202401246)
Segmentation fault (core dumped)

$


This leaves the packages in an inconsistent state - further attempts to 
install Cairo report there's nothing to do, but Cairo can't actually be 
used[1]. Pkg.rm("Cairo") seems to clean it up, though.

I've tried this on both 0.3.8 and git master. The same thing happens with 
julia-debug.

I don't know how to find out where the segfault is actually happening. Any 
advice would be gratefully received.

[1]

julia> using Cairo
ERROR: LoadError: could not open file 
/home/nathan/.julia/v0.4/Cairo/src/../deps/deps.jl
while loading /home/nathan/.julia/v0.4/Cairo/src/Cairo.jl, in expression 
starting on line 5


Reply via email to