Fails to build. Error at line 1750. czkawka.log
error[E0282]: type annotations needed for `Box<_>`
--> /home/main-builder/pkgwork/src/cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
Git Clone URL: | https://aur.archlinux.org/czkawka.git (read-only, click to copy) |
---|---|
Package Base: | czkawka |
Description: | Multi functional app to find duplicates, empty folders, similar images etc. (Desktop App, Slint frontend) |
Upstream URL: | https://github.com/qarmin/czkawka |
Licenses: | LicenseRef-MIT AND GPL-3.0-only |
Submitter: | fabiscafe |
Maintainer: | fabiscafe |
Last Packager: | fabiscafe |
Votes: | 36 |
Popularity: | 0.25 |
First Submitted: | 2021-08-09 09:49 (UTC) |
Last Updated: | 2024-02-20 20:45 (UTC) |
Fails to build. Error at line 1750. czkawka.log
error[E0282]: type annotations needed for `Box<_>`
--> /home/main-builder/pkgwork/src/cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
Hi @dc46and2 I suggest you to use the czkawka-*-bin to avoid build times.
Of course you also have the options to:
Speedup the build process (up to -90% time) of krokiet, by removing the --release flag
Remove Krokiet and -cli completely from the PKGBUILD (To long to explain it in here, so thats for users who can write PKGBUILDs themself
Use the pre-build binary directly from upstream git -> https://github.com/qarmin/czkawka/releases/tag/7.0.0
My PKGBUILD here always follows the purpose of providing a release ready, close-to-upstream setup that works in an Arch build environment. That comes this time sadly with this bug of a much to long build time. :(
Thanks for the very useful software. I just want to build/install czkawka-gui
, but I'm waiting a long time for krokiet
to build. Would it be better to have a separate PKGBUILD
for krokiet
? Or is there another way to avoid building the unwanted packages?
schnedan You can remove the --release flag and build it as "development" snapshot. This should shrink down build time by up to 90%
See the pinned bugreport.
For the build problem I have no idea. It works for me in a clean build environment.
I can confirm the buildtime problem... 37min on a AMD Ryzen2 8Core / 16Thread 4Ghz machine...
Also Build stops after error:
test connect_things::connect_selection_of_directories::test_remove_ending_slashes ... ok
test help_functions::test::test_change_dimension_to_krotka ... ok
test help_functions::test::test_file_name_shortener ... ok
test help_functions::test::test_pixbuf_from_dynamic_image ... ok
ERROR: ICD associated with VkPhysicalDevice does not support GetPhysicalDeviceCalibrateableTimeDomainsKHR
error: test failed, to rerun pass -p czkawka_gui --bin czkawka_gui
Caused by:
process didn't exit successfully: /tmp/trizen-username/czkawka/src/czkawka/target/release/deps/czkawka_gui-5c6a72e4dfa901a4
(signal: 6, SIGABRT: process abort signal)
@patlefort 2-3h on my Ryzen 4k APU :) but it's very inconsistent. I build it around 15 times over the last 2 days and sometimes it finishes in 30min. The main problem seems to be that Krokiet utilizes only 1 thread on buildtime. I dont know why and don't really have time to investigate this.
68 min to compile on my first gen threadripper, ouch.
I see warnings: Package contains reference to $srcdir
Pinned Comments
fabiscafe commented on 2023-06-11 14:41 (UTC) (edited on 2024-02-21 16:45 (UTC) by fabiscafe)
Key Import
This PKGBUILD uses signed commits. If not done you need to import GitHubs (web-flow) public pgp key.
Merge/Pull Requests
https://gitlab.archlinux.org/fabiscafe/czkawka_aur
Known issues
Build takes a long time for --release builds: https://github.com/rust-lang/rust/issues/121354