depends loss for PKGBUILD check
Description:
There is a problem with the test code of the rbenv 1.3.2-1 package. The package check failed under both the riscv64 and x86-64 architectures.
==> Starting check()...
1..179
not ok 1 default version
# (from function `setup' in test file test/--version.bats, line 9)
# `git config --global user.name "Tester"' failed with status 127
# /build/rbenv/src/rbenv-1.3.2/test/--version.bats: line 9: git: command not found
not ok 2 doesn't read version from non-rbenv repo
# (from function `setup' in test file test/--version.bats, line 9)
# `git config --global user.name "Tester"' failed with status 127
# /build/rbenv/src/rbenv-1.3.2/test/--version.bats: line 9: git: command not found
not ok 3 reads version from git repo
# (from function `setup' in test file test/--version.bats, line 9)
# `git config --global user.name "Tester"' failed with status 127
# /build/rbenv/src/rbenv-1.3.2/test/--version.bats: line 9: git: command not found
not ok 4 prints default version if no tags in git repo
# (from function `setup' in test file test/--version.bats, line 9)
# `git config --global user.name "Tester"' failed with status 127
# /build/rbenv/src/rbenv-1.3.2/test/--version.bats: line 9: git: command not found
- package version(s):rbenv 1.3.2-1
- config and/or log files:
rbenv-1.3.2-1-riscv64-check.log
My operating environment is an x86_64 environment virtual machine of the arch architecture of Windows WSL. The process is as follows:
- I cloned your project and cd into it
- Then execute
extra-x86_64-build
Patch
I noticed that /build/rbenv/src/rbenv-1.3.2/test/--version.bats: line 9: git: command not found
so I add git to the checkdepends and found the check passed.
Do you think this is a good change? I would be truly grateful for your insights.If you think this is helpful, I will open a PR.