Search Criteria
Package Details: whitebox-tools 2.3.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/whitebox-tools.git (read-only, click to copy) |
---|---|
Package Base: | whitebox-tools |
Description: | WhiteboxTools is an advanced geospatial data analysis platform developed by Prof. John Lindsay |
Upstream URL: | https://www.whiteboxgeo.com/ |
Licenses: | MIT |
Submitter: | geosam |
Maintainer: | geosam |
Last Packager: | geosam |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2019-11-06 18:06 (UTC) |
Last Updated: | 2023-10-14 03:16 (UTC) |
Dependencies (2)
- python (python37AUR, python311AUR, python310AUR)
- rust (rust-nightlyAUR, rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup) (make)
Latest Comments
bcb commented on 2024-04-28 10:20 (UTC) (edited on 2024-04-28 10:26 (UTC) by bcb)
When trying to build this in a clean chroot, I had the following problems:
cmake needs to be in
makedepends
The packages
fontconfig
,at-spi2-core
andgtk3
are needed to build. They do not seem to be linked into the final binary so I think they can go intomakedepends
.The
install
function hard-codes the Python path. This means it does not install to the correct place for the system Python (currently 3.12, PKGBUILD is hard-coded to 3.9). As per https://wiki.archlinux.org/title/Python_package_guidelines#Using_site-packages please update to get the correct path during install.Additionally, the following changes should be made:
For an MIT-licensed package, a specific license needs to be placed in
/usr/share/licenses/whitebox-tools
, see https://wiki.archlinux.org/title/PKGBUILD#licenseCurrently, the source file is downloaded as
v2.3.0.tar.gz
; the general recommendation is to use a more specific name likewhitebox-tools-v2.3.0.tar.gz
The following diff takes care of all this and can be applied by copying it to a file and running
git apply <filename>
Edit: if you have trouble applying the patch it might be due to whitespace errors when copying. I have also uploaded a copy to https://0x0.st/XHYF.diff
gds506 commented on 2023-10-14 14:56 (UTC)
Got error when building:
giswqs commented on 2020-01-12 03:03 (UTC)
Compiling error:
Compiling statrs v0.9.0 error[E0502]: cannot borrow
*curr
as immutable becausecurr.right
is also borrowed as mutable --> /home/qiusheng/.cargo/registry/src/github.com-1ecc6299db9ec823/kdtree-0.6.0/src/kdtree.rs:457:20 | 457 | while !curr.is_leaf() { | ^^^^ immutable borrow occurs here ... 460 | candidate = curr.right.as_mut().unwrap(); | ---------- mutable borrow occurs here ... 483 | } | - mutable borrow ends here...
error: aborting due to 8 previous errors
Some errors occurred: E0499, E0502, E0506. For more information about an error, try
rustc --explain E0499
. error: Could not compilekdtree
. warning: build failed, waiting for other jobs to finish... error: failed to compilewhitebox_tools v1.1.0 (/var/tmp/pamac-build-qiusheng/whitebox-tools/src/whitebox-tools-1.1.0)
, intermediate artifacts can be found at/var/tmp/pamac-build-qiusheng/whitebox-tools/src/whitebox-tools-1.1.0/target