It has failed to compile.
==> Starting prepare()...
patching file python-package/setup.py
patching file python-package/xgboost/libpath.py
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file python-package/xgboost/libpath.py.rej
==> ERROR: A failure occurred in prepare().
Aborting...
Search Criteria
Package Details: xgboost-git r6119.b05abfc49-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xgboost-git.git (read-only, click to copy) |
---|---|
Package Base: | xgboost-git |
Description: | An optimized distributed gradient boosting library designed to be highly efficient, flexible and portable |
Upstream URL: | https://github.com/dmlc/xgboost |
Licenses: | Apache |
Conflicts: | xgboost |
Provides: | xgboost |
Submitter: | jyantis |
Maintainer: | ixaphire |
Last Packager: | ixaphire |
Votes: | 13 |
Popularity: | 0.000000 |
First Submitted: | 2015-01-09 00:13 (UTC) |
Last Updated: | 2022-12-28 20:29 (UTC) |
Dependencies (2)
- python-setuptools (make)
- python-xgboost-gitAUR (optional) – Python 3 Wrapper
Required by (2)
- python-xgboost-git (requires xgboost)
- tvm (requires xgboost) (optional)
Sources (5)
Latest Comments
« First ‹ Previous 1 2 3 4
kandirali77 commented on 2016-09-02 13:22 (UTC)
ixaphire commented on 2016-06-18 20:28 (UTC) (edited on 2016-06-18 20:28 (UTC) by ixaphire)
> I think this package might be out of date.
Yeah, it often happens with *-git packages, feel free to report about it in comments, or just use the same commit as in package name
> It failed on compile:
> patching file python-package/setup.py
> Hunk #1 FAILED at 5...
Fixed, ty
>Im not sure if it follows this recommendation:
>Important the newest version of xgboost uses submodule to maintain packages. So >when you clone the repo, remember to use the recursive option as follows.
>git clone --recursive https://github.com/dmlc/xgboost
I think,
git submodule init
git config submodule.dmlc-core.url "${srcdir}/dmlc-core"
git config submodule.rabit.url "${srcdir}/rabit"
git submodule update
is just enough as of now, correct me if I'm wrong.
>Additionally I think it should be compiled with gcc5 because xgbost-git failed on gcc6 for me.
Fixed to compile with gcc6, ty
wilam commented on 2016-06-17 13:46 (UTC)
I think this package might be out of date.
It failed on compile:
patching file python-package/setup.py
Hunk #1 FAILED at 5.
Hunk #2 succeeded at 36 with fuzz 2 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file python-package/setup.py.rej
patching file python-package/xgboost/libpath.py
Im not sure if it follows this recommendation:
Important the newest version of xgboost uses submodule to maintain packages. So when you clone the repo, remember to use the recursive option as follows.
git clone --recursive https://github.com/dmlc/xgboost
Additionally I think it should be compiled with gcc5 because xgbost-git failed on gcc6 for me.
ixaphire commented on 2016-03-13 12:35 (UTC)
Fixed, ty
semyon95 commented on 2016-03-13 01:16 (UTC)
package doesn't build, can't find rabit include files.
Fix:
- cp rabit/include/{rabit.h,rabit_serializable.h} "${pkgdir}/usr/include"
+ cp rabit/include/rabit/{rabit.h,serializable.h} "${pkgdir}/usr/include"
Also depends on python2-setuptools
Pinned Comments
ixaphire commented on 2020-06-13 01:28 (UTC)
The PKGBUILD contains two flags:
_with_r
and_with_cuda
, both are set to false by default. Set _with_r=true to build the R-xgboost package. Set _with_cuda=true to build xgboost with CUDA support.