LightXML.jl
LightXML.jl copied to clipboard
Build failure on NixOS
Failing in exactly the same way as noted for EzXML.jl. Not surprising given the shared binary dependency, but creating a mirror issue for easier tracking.
Possibly related to #90.
Any solution found for this yet? Getting the same issue on my Mac.
┌ Error: Error building `LightXML`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │ caller = ip:0x0
│ └ @ Core :-1
│ ERROR: LoadError: LibraryProduct(nothing, ["libxml2"], :libxml2, "Prefix(/Users/Vaishnav/.juliapro/JuliaPro_v1.0.3.1/packages/LightXML/k3mJ4/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at /Applications/JuliaPro-1.0.3.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
│ [2] #write_deps_file#156(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/Products.jl:408
│ [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /Users/vagrant/worker/juliapro-release-osx1011-0_6/build/tmp_julia/Julia-1.0.app/Contents/Resources/julia/share/julia/stdlib/v1.0/BinaryProvider/src/Products.jl:395
│ [4] top-level scope at none:0
│ [5] include_relative(::Module, ::String) at /Applications/JuliaPro-1.0.3.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
│ [6] include(::Module, ::String) at /Applications/JuliaPro-1.0.3.1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:? (repeats 2 times)
│ [7] top-level scope at none:0
│ in expression starting at /Users/Vaishnav/.juliapro/JuliaPro_v1.0.3.1/packages/LightXML/k3mJ4/deps/build.jl:72
Versioninfo():
Julia Version 1.0.3
Commit 099e826241 (2018-12-18 01:34 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, sandybridge)
Environment:
JULIA_EDITOR = atom -a
JULIA_NUM_THREADS = 2
JULIA_PKG_SERVER = https://pkg.juliacomputing.com/
JULIA_PKG_TOKEN_PATH = /Users/Vaishnav/.juliapro/token.toml
This is on Linux:
Building LightXML → `/projects/ag-trebst/bauer/.julia-mkl/packages/LightXML/k3mJ4/deps/build.log`
┌ Error: Error building `LightXML`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │ caller = ip:0x0
│ └ @ Core :-1
│ ERROR: LoadError: LibraryProduct(nothing, ["libxml2"], :libxml2, "Prefix(/projects/ag-trebst/bauer/.julia-mkl/packages/LightXML/k3mJ4/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /projects/ag-trebst/bauer/.julia-mkl/packages/BinaryProvider/4F5Hq/src/Products.jl:414
│ [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /projects/ag-trebst/bauer/.julia-mkl/packages/BinaryProvider/4F5Hq/src/Products.jl:395
│ [4] top-level scope at none:0
│ [5] include at ./boot.jl:326 [inlined]
│ [6] include_relative(::Module, ::String) at ./loading.jl:1038
│ [7] include(::Module, ::String) at ./sysimg.jl:29
│ [8] include(::String) at ./client.jl:403
│ [9] top-level scope at none:0
│ in expression starting at /projects/ag-trebst/bauer/.julia-mkl/packages/LightXML/k3mJ4/deps/build.jl:72
└ @ Pkg.Operations /projects/ag-trebst/bauer/bin/julia-src/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075
with the same error on OSX I replaced libxml* in /packages/LightXML/k3mJ4/deps/usr/lib with libxml* from /usr/lib [from brew] and this resolved the issue and built LightXML