Added 'perl-image-exiftool'
to checkdepends
Thanks for the explanation guidance.
Git Clone URL: | https://aur.archlinux.org/f2.git (read-only, click to copy) |
---|---|
Package Base: | f2 |
Description: | Cross-platform command-line tool for batch renaming files and directories quickly and safely |
Upstream URL: | https://github.com/ayoisaiah/f2 |
Licenses: | MIT |
Conflicts: | f2-bin |
Submitter: | aulonsal |
Maintainer: | archlinuxauruser |
Last Packager: | archlinuxauruser |
Votes: | 4 |
Popularity: | 1.21 |
First Submitted: | 2021-05-09 10:46 (UTC) |
Last Updated: | 2025-06-13 02:12 (UTC) |
Added 'perl-image-exiftool'
to checkdepends
Thanks for the explanation guidance.
Please add perl-image-exiftool
to checkdepends
(https://wiki.archlinux.org/title/PKGBUILD#checkdepends)?
It is used in tests, check()
fails without it:
❌ TestCustomSort/sort_dng_files_by_time_variable (0s)
find_test.go:274: Failed to initialise exiftool: error when executing command: exec: "exiftool": executable file not found in $PATH
...
error: Recipe `test` failed on line 7 with exit code 1
==> ERROR: A failure occurred in check().
Aborting...
Adding
checkdepends=(
'perl-image-exiftool'
)
results in a successful build.
If it builds successfully for you, it is so because you already have perl-image-exiftool
installed or have the exiftool
binary from somewhere else, however, since the check-dependency is missing, any attempt to build in a chroot based on the PKGBUILD would fail.
Thanks for maintaining the package.
Builds just fine. What command are you using?
You should add perl-image-exiftool to the dependencies! Tests fail during installation without it.
Install using: https://wiki.archlinux.org/title/Makepkg#
Hi... I am getting an error when installing with yay. Anybody else? Thanks.
==> Starting check()...
sh: line 1: gotestfmt: command not found
error: Recipe
test
failed on line 4 with exit code 127
==> ERROR: A failure occurred in check().
Aborting...
-> error making: f2-exit status 4
-> Failed to install the following packages. Manual intervention is required:
f2 - exit status 4
Seems to be fine when compiling in chroot.
Compiling v 1.9.1 I get an error in check() function, which I assume is an upstream issue. Submitted an issue request, but not sure what else to do or whether it will be fixed. Suggestions welcome if I've missed anything.
Pinned Comments
archlinuxauruser commented on 2024-11-15 22:30 (UTC)
Install using: https://wiki.archlinux.org/title/Makepkg#