Package Details: python-xgboost-git r2965.a073a2c3-1

Git Clone URL: (read-only)
Package Base: xgboost-git
Description: XGBoost Python 3 wrapper
Upstream URL:
Licenses: Apache
Conflicts: python-xgboost
Provides: python-xgboost
Submitter: jyantis
Maintainer: ixaphire
Last Packager: ixaphire
Votes: 7
Popularity: 0.357716
First Submitted: 2015-01-09 00:13
Last Updated: 2017-01-20 19:57

Latest Comments

ixaphire commented on 2017-10-11 00:15

> Is GPU support enabled?
Unfortunately, no.

383IGLkvPl commented on 2017-10-09 23:05

Is GPU support enabled?

stephencox commented on 2017-02-18 18:07

My git config had autocrlf set...

ixaphire commented on 2017-01-20 20:06

That's very strange, PKGBUILD doesn't contain CRLF, and checksums are correct. What commands do you run to get this output? It should be something like git clone /tmp/xgboost && cd /tmp/xgboost && makepkg.
Btw, python_no_libs.patch couldn't be applied to the latest version of xgboost, I've fixed it just now.

stephencox commented on 2017-01-20 16:46

I first get the following:

:: Checking xgboost-git integrity...
==> ERROR: PKGBUILD contains CRLF characters and cannot be sourced.

==> ERROR: An unknown error has occurred. Exiting...
:: failed to verify xgboost-git integrity

The I get:

-> Updating rabit git repo...
Fetching origin
-> Found python_no_libs.patch
==> Validating source files with sha256sums...
xgboost ... Skipped
dmlc-core ... Skipped
rabit ... Skipped
python_no_libs.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!

ixaphire commented on 2016-12-30 12:02

Fixed, ty

tomekster commented on 2016-12-29 22:30

It failed for me to compile in a similar way as for kandirali77:

==> Starting prepare()...
Submodule 'dmlc-core' ( registered for path 'dmlc-core'
Submodule 'rabit' ( registered for path 'rabit'
Cloning into '/home/tomasz/xgboost-git/src/xgboost/dmlc-core'...
Cloning into '/home/tomasz/xgboost-git/src/xgboost/rabit'...
Submodule path 'dmlc-core': checked out '78b78be34ac27d30f2193f3d51848c62887669c4'
Submodule path 'rabit': checked out 'a9a2a69dc1144180a43f7d2d1097264482be7817'
patching file python-package/
Hunk #2 FAILED at 26.
1 out of 2 hunks FAILED -- saving rejects to file python-package/
patching file python-package/xgboost/
==> ERROR: A failure occurred in prepare().

ixaphire commented on 2016-09-04 11:43

Fixed, ty

kandirali77 commented on 2016-09-02 13:22

It has failed to compile.

==> Starting prepare()...
patching file python-package/
patching file python-package/xgboost/
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file python-package/xgboost/
==> ERROR: A failure occurred in prepare().

ixaphire commented on 2016-06-18 20:28

> 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/
> 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

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

All comments