Skip to content

Instantly share code, notes, and snippets.

@mforets
Last active May 7, 2019 22:23
Show Gist options
  • Select an option

  • Save mforets/a64414d39419baa4e62c8faaec0f4c98 to your computer and use it in GitHub Desktop.

Select an option

Save mforets/a64414d39419baa4e62c8faaec0f4c98 to your computer and use it in GitHub Desktop.
Precompiling CDDLib
julia> compile_package("CDDLib", force = false)
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Some registries failed to update:
│ — /Users/forets/.julia/registries/General — failed to fetch from repo
└ @ Pkg.Types /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1269
Resolving package versions...
Updating `~/.julia/packages/PackageCompiler/oT98U/packages/CDDLib/Project.toml`
[b99e7846] + BinaryProvider v0.5.4
[d9be37ee] + Homebrew v0.7.1
[4076af6c] + JuMP v0.19.0
[67491407] + Polyhedra v0.5.0
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[2f01184e] + SparseArrays
Updating `~/.julia/packages/PackageCompiler/oT98U/packages/CDDLib/Manifest.toml`
[9e28174c] + BinDeps v0.8.10
[b99e7846] + BinaryProvider v0.5.4
[49dc2e85] + Calculus v0.4.1
[3da002f7] + ColorTypes v0.7.5
[bbf7d656] + CommonSubexpressions v0.2.0
[34da2185] + Compat v2.1.0
[864edb3b] + DataStructures v0.15.0
[163ba53b] + DiffResults v0.0.4
[b552c78f] + DiffRules v0.0.10
[53c48c17] + FixedPointNumbers v0.5.3
[f6369f11] + ForwardDiff v0.10.3
[4d00f742] + GeometryTypes v0.7.3
[d9be37ee] + Homebrew v0.7.1
[c8e1da08] + IterTools v1.1.1
[682c06a0] + JSON v0.20.0
[4076af6c] + JuMP v0.19.0
[b8f27783] + MathOptInterface v0.8.4
[77ba4419] + NaNMath v0.3.2
[bac558e1] + OrderedCollections v1.1.0
[67491407] + Polyhedra v0.5.0
[3cdcf5f2] + RecipesBase v0.6.0
[276daf66] + SpecialFunctions v0.7.2
[90137ffa] + StaticArrays v0.10.3
[30578b45] + URIParser v0.4.0
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Resolving package versions...
Updating `~/.julia/packages/PackageCompiler/oT98U/packages/CDDLib/Project.toml`
[9b87118b] + PackageCompiler v0.6.3
[44cfe95a] + Pkg
Updating `~/.julia/packages/PackageCompiler/oT98U/packages/CDDLib/Manifest.toml`
[c7e460c6] + ArgParse v0.6.2
[e1450e63] + BufferedStreams v1.0.0
[0862f596] + HTTPClient v0.2.1
[b27032c2] + LibCURL v0.5.0
[522f3ed2] + LibExpat v0.5.0
[2ec943e9] + Libz v1.0.0
[9b87118b] + PackageCompiler v0.6.3
[b718987f] + TextWrap v0.3.0
[c17dfb99] + WinRPM v0.4.2
[ Info: activating new environment at ~/.julia/packages/PackageCompiler/oT98U/packages/CDDLib/Project.toml.
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Some registries failed to update:
│ — /Users/forets/.julia/registries/General — failed to fetch from repo
└ @ Pkg.Types /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1269
Test Summary: | Pass Total
Polyhedral Function #38 | 3 3
Double description not found
Double description not found
Double description not found
Double description not found
Double description not found
Double description not found
Test Summary: | Pass Total
Low-level simplex tests | 58 58
Test Summary: | Pass Total
Low-level permutahedron tests | 26 26
Test Summary: | Pass Total
Low-level board tests | 6 6
Test Summary: | Pass Total
MOI wrapper | 360 360
Test Summary: | Pass Total
Polyhedra tests with float arithmetic | 569 569
Test Summary: | Pass Total
Polyhedra tests with exact arithmetic | 569 569
[ Info: used 3971 out of 3973 precompile statements
Julia program file:
"/Users/forets/.julia/packages/PackageCompiler/oT98U/sysimg/precompile.jl"
Build directory:
"/Users/forets/.julia/packages/PackageCompiler/oT98U/sysimg"
signal (11): Segmentation fault: 11
in expression starting at no file:0
uv_write2 at /Users/osx/buildbot/slave/package_osx64/build/deps/srccache/libuv-2348256acf5759a544e5ca7935f638d2bc091d60/src/unix/stream.c:1434
jl_uv_write at /Users/osx/buildbot/slave/package_osx64/build/src/jl_uv.c:442
uv_write_async at ./stream.jl:877
uv_write at ./stream.jl:845
unsafe_write at ./stream.jl:901
macro expansion at ./gcutils.jl:87 [inlined]
write at ./strings/io.jl:165 [inlined]
print at ./strings/io.jl:167 [inlined]
#with_output_color#671 at ./util.jl:370
unknown function (ip: 0x114cf6b66)
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1864
#with_output_color at ./tuple.jl:0 [inlined]
#printstyled#672 at ./util.jl:398 [inlined]
#printstyled at ./none:0
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1864
display_error at ./client.jl:93
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1864
display_error at ./client.jl:102
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1864
jl_apply at /Users/osx/buildbot/slave/package_osx64/build/src/./julia.h:1571 [inlined]
jl_f__apply at /Users/osx/buildbot/slave/package_osx64/build/src/builtins.c:556
jl_f__apply_latest at /Users/osx/buildbot/slave/package_osx64/build/src/builtins.c:594
#invokelatest#1 at ./essentials.jl:742 [inlined]
invokelatest at ./essentials.jl:741 [inlined]
_start at ./client.jl:438
jl_fptr_trampoline at /Users/osx/buildbot/slave/package_osx64/build/src/gf.c:1864
true_main at /Applications/Julia-1.1.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-1.1.app/Contents/Resources/julia/bin/julia (unknown line)
Allocations: 939503 (Pool: 939014; Big: 489); GC: 1
ERROR: failed process: Process(`/Applications/Julia-1.1.app/Contents/Resources/julia/bin/julia --sysimage=/Users/forets/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/sys.dylib --output-o=sys.a --track-allocation=none --code-coverage=none --history-file=yes --inline=yes --math-mode=ieee --compile=yes --track-allocation=none --sysimage-native-code=yes --sysimage=/Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib --compiled-modules=yes --optimize=2 /Users/forets/.julia/packages/PackageCompiler/oT98U/sysimg/run_julia_code.jl`, ProcessSignaled(11)) [0]
Stacktrace:
[1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
[2] pipeline_error at ./process.jl:785 [inlined]
[3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
[4] run at ./process.jl:724 [inlined]
[5] #run_julia#1 at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/compiler_flags.jl:225 [inlined]
[6] #run_julia at ./none:0 [inlined]
[7] (::getfield(PackageCompiler, Symbol("##13#14")){Base.Iterators.Pairs{Symbol,Any,NTuple{14,Symbol},NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode),Tuple{String,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing}}},String})() at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:262
[8] cd(::getfield(PackageCompiler, Symbol("##13#14")){Base.Iterators.Pairs{Symbol,Any,NTuple{14,Symbol},NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode),Tuple{String,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing}}},String}, ::String) at ./file.jl:96
[9] #build_object#12(::Base.Iterators.Pairs{Symbol,Any,NTuple{14,Symbol},NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode),Tuple{String,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing}}}, ::Function, ::String, ::String, ::String, ::Bool) at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:261
[10] #build_object at ./none:0 [inlined]
[11] build_object(::String, ::String, ::String, ::Bool, ::String, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing) at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:240
[12] #static_julia#5(::Nothing, ::Bool, ::Bool, ::String, ::String, ::Nothing, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Nothing, ::Bool, ::Bool, ::String, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(static_julia), ::String) at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:161
[13] #static_julia at ./none:0 [inlined]
[14] #build_sysimg#29(::Bool, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(PackageCompiler.build_sysimg), ::String, ::String) at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/api.jl:25
[15] #build_sysimg at ./none:0 [inlined]
[16] #compile_package#67(::Bool, ::Bool, ::Bool, ::Nothing, ::Bool, ::Function, ::Tuple{String,String}) at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:130
[17] #compile_package at ./none:0 [inlined]
[18] #compile_package#64 at /Users/forets/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:94 [inlined]
[19] (::getfield(PackageCompiler, Symbol("#kw##compile_package")))(::NamedTuple{(:force,),Tuple{Bool}}, ::typeof(compile_package), ::String) at ./none:0
[20] top-level scope at none:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment