Closed mapmeld closed 5 years ago
The same problem for me... and mine is Ubuntu.
_ In file included from src/data/data.cc:10:
_ src/data/./simple_dmatrix.h:19:7: error: looser throw specifier for 'virtual xgboost::data::SimpleDMatrix::~SimpleDMatrix() noexcept (false)'
_ class SimpleDMatrix : public DMatrix {
_ ^~~~~~~~~~~~~
_ In file included from src/data/data.cc:5:
_ include/xgboost/data.h:347:11: note: overridden function is 'virtual xgboost::DMatrix::~DMatrix() noexcept'
_ virtual ~DMatrix() = default;
_ ^
_ make: *** [Makefile:143: build/data/data.o] Error 1
_ [ Info: Using the latest stable version (0.80) of the XGBoost library
_ [ Info: Attempting to create directory /root/.julia/packages/XGBoost/udvqz/deps/src
_ [ Info: Directory /root/.julia/packages/XGBoost/udvqz/deps/src already exists
_ [ Info: Changing directory to /root/.julia/packages/XGBoost/udvqz/deps/src
_ [ Info: Changing directory to /root/.julia/packages/XGBoost/udvqz/deps/src
_ [ Info: Changing directory to /root/.julia/packages/XGBoost/udvqz/deps/src/xgboost
_ [ Info: Changing directory to /root/.julia/packages/XGBoost/udvqz/deps/src/xgboost
_ ERROR: LoadError: failed process: Process(`bash build.sh`, ProcessExited(2)) [2]
_ 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(::Cmd) at ./process.jl:724
_ [5] run(::BinDeps.SynchronousStepCollection) at /root/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:521 (repeats 2 times)
_ [6] run(::FileRule) at /root/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:483
_ [7] run(::BinDeps.SynchronousStepCollection) at /root/.julia/packages/BinDeps/ZEval/src/BinDeps.jl:521
_ [8] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at /root/.julia/packages/BinDeps/ZEval/src/dependencies.jl:944
_ [9] satisfy!(::BinDeps.LibraryDependency) at /root/.julia/packages/BinDeps/ZEval/src/dependencies.jl:922
_ [10] top-level scope at /root/.julia/packages/BinDeps/ZEval/src/dependencies.jl:977
_ [11] include at ./boot.jl:326 [inlined]
_ [12] include_relative(::Module, ::String) at ./loading.jl:1038
_ [13] include(::Module, ::String) at ./sysimg.jl:29
_ [14] include(::String) at ./client.jl:403
_ [15] top-level scope at none:0
_ in expression starting at /root/.julia/packages/XGBoost/udvqz/deps/build.jl:37
_ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075
I'm not an expert in Julia, could you provide more details? Like are you building with master branch? BTW, is the Julia package using CMake?
Okay, now I understand how Julia pkg is built. Will try to upgrade XGBoost version when time allows.
this is fixed by #66.
Thanks!
I haven't been able to build XGBoost on either platform due to this error with DMatrix; I am new to Julia so please let me know if I might just be Doing It Wrong
Here's the error itself