Should be fixed now
Search Criteria
Package Details: python-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: | XGBoost Python 3 wrapper |
Upstream URL: | https://github.com/dmlc/xgboost |
Licenses: | Apache |
Conflicts: | python-xgboost |
Provides: | python-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 (5)
- python (python37AUR, python311AUR, python310AUR)
- python-numpy (python-numpy-flameAUR, python-numpy-mkl-binAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- python-scipy (python-scipy-mkl-binAUR, python-scipy-gitAUR, python-scipy-mklAUR, python-scipy-mkl-tbbAUR)
- xgboostAUR (xgboost-gitAUR)
- python-setuptools (make)
Required by (6)
- python-freqtrade (requires python-xgboost)
- python-pgmpy (requires python-xgboost)
- python-pysptools (requires python-xgboost) (optional)
- python-rsgislib (requires python-xgboost) (optional)
- python-tpot2 (requires python-xgboost)
- xgboost-git (optional)
Sources (5)
ixaphire commented on 2022-12-28 20:29 (UTC)
Spixmaster commented on 2022-12-27 18:04 (UTC)
The PKGBUILD is broken.
==> Starting prepare()...
Submodule 'cub' (https://github.com/NVlabs/cub) registered for path 'cub'
Submodule 'dmlc-core' (https://github.com/dmlc/dmlc-core) registered for path 'dmlc-core'
Submodule 'gputreeshap' (https://github.com/rapidsai/gputreeshap.git) registered for path 'gputreeshap'
Cloning into '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/cub'...
fatal: transport 'file' not allowed
fatal: clone of '/home/matheus/.cache/paru/clone/xgboost-git/src/cub' into submodule path '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/cub' failed
Failed to clone 'cub'. Retry scheduled
Cloning into '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/dmlc-core'...
fatal: transport 'file' not allowed
fatal: clone of '/home/matheus/.cache/paru/clone/xgboost-git/src/dmlc-core' into submodule path '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/dmlc-core' failed
Failed to clone 'dmlc-core'. Retry scheduled
Cloning into '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/gputreeshap'...
Cloning into '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/cub'...
fatal: transport 'file' not allowed
fatal: clone of '/home/matheus/.cache/paru/clone/xgboost-git/src/cub' into submodule path '/home/matheus/.cache/paru/clone/xgboost-git/src/xgboost/cub' failed
Failed to clone 'cub' a second time, aborting
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'xgboost-git-r5804.6275cdc48-1 (xgboost-git python-xgboost-git)':
error: packages failed to build: xgboost-git-r5804.6275cdc48-1 (xgboost-git python-xgboost-git)
levitsky commented on 2022-09-01 14:57 (UTC)
Hi! I'm getting this error when trying to import xgboost
in Python:
ValueError: Mismatched version between the Python package and the native shared object. Python package version: 2.0.0. Shared object version: 1.3.0. Shared object is loaded from: /usr/lib/libxgboost.so.
Likely cause:
* XGBoost is first installed with anaconda then upgraded with pip. To fix it please remove one of the installations.
However, on command line xgboost -V
works and reports version 2.0.0.
Any ideas?
ixaphire commented on 2022-08-01 10:06 (UTC)
Done
WhoseTheNerd commented on 2022-08-01 09:29 (UTC)
Thank you, it works now. However I suggest changing make dependency from gcc-11 to cuda and use gcc/g++ from /opt/cuda/bin.
ixaphire commented on 2022-08-01 07:51 (UTC)
Try now
WhoseTheNerd commented on 2022-07-31 17:14 (UTC)
This package does not build with CUDA support enabled. Please do not specify compiler versions. The PKGBUILD file contains references to "gcc-8" and "g++-8", please do not do that. Also build fails after I changed "gcc-8" and "g++-8" to "gcc" and "g++" respectively.
[ 65%] Building CUDA object src/CMakeFiles/objxgboost.dir/c_api/c_api.cu.o
/usr/include/c++/12.1.0/bits/locale_facets_nonio.tcc: In member function ‘_InIter std::__cxx11::time_get<_CharT, _InIter>::get(iter_type, iter_type, std::ios_base&, std::ios_base::iostate&, tm, const char_type, const char_type) const’:
/usr/include/c++/12.1.0/bits/locale_facets_nonio.tcc:1477:77: error: invalid type argument of unary ‘’ (have ‘int’)
1477 | if ((void)(this->(&time_get::do_get)) == (void)(&time_get::do_get))
| ^
make[2]: [src/CMakeFiles/objxgboost.dir/build.make:986: src/CMakeFiles/objxgboost.dir/c_api/c_api.cu.o] Error 1
make[1]: [CMakeFiles/Makefile2:282: src/CMakeFiles/objxgboost.dir/all] Error 2
make: ** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
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.
PatronMaster commented on 2020-06-01 13:51 (UTC)
Hello,
This package work very well with default options.
I want to use the option CUDA=ON cmake .. # -DUSE_CUDA=ON
So, I uncomment this option and it failed.
3 errors detected in the compilation of "/tmp/tmpxft_0001fcc2_00000000-6_main.cpp1.ii". make[1]: [CMakeFiles/cmTC_36954.dir/build.make:86: CMakeFiles/cmTC_36954.dir/main.cu.o] Error 1 make[1]: Leaving directory '/home/user/.cache/pacaur/xgboost-git/src/xgboost/build/CMakeFiles/CMakeTmp' make: [Makefile:141: cmTC_36954/fast] Error 2
Any suggestion? My goal is use xgboost GPU with R.
ixaphire commented on 2020-03-02 01:31 (UTC) (edited on 2020-03-02 01:36 (UTC) by ixaphire)
Hmm, works fine for me. What command do you run to get this output? Try "cd /tmp && git clone https://aur.archlinux.org/xgboost-git.git && cd xgboost-git && makepkg" and show all the output it prints (or at least the last ~10-20 lines).
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.