-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git is a required dependency #1765
Comments
LukeShortCloud
added a commit
to LukeShortCloud/fpm
that referenced
this issue
Feb 24, 2021
Resolves jordansissel#1765 Signed-off-by: Luke Short <[email protected]>
Hi!
Git is an accidental dependency and this is a bug.
I’ve got a patch that should fix it and would benefit from testing, if you
can?
#1753
…On Wed, Feb 24, 2021 at 1:47 PM Luke Short ***@***.***> wrote:
On Debian 11, after installing the dependencies [1] and running fpm -s
rpm -t deb <RPM_NAME>.rpm an occur is presented about git not being
found. After installing the package, the error no longer appears and the
command works correctly.
Traceback (most recent call last):
14: from /usr/local/bin/fpm:23:in `<main>'
13: from /usr/local/bin/fpm:23:in `load'
12: from /var/lib/gems/2.7.0/gems/fpm-1.12.0/bin/fpm:4:in `<top (required)>'
11: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
10: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
9: from /var/lib/gems/2.7.0/gems/fpm-1.12.0/lib/fpm.rb:5:in `<top (required)>'
8: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
7: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
6: from /var/lib/gems/2.7.0/gems/fpm-1.12.0/lib/fpm/package/gem.rb:7:in `<top (required)>'
5: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
4: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in `require'
3: from /var/lib/gems/2.7.0/gems/git-1.8.1/lib/git.rb:28:in `<top (required)>'
2: from /var/lib/gems/2.7.0/gems/git-1.8.1/lib/git/lib.rb:1000:in `meets_required_version?'
1: from /var/lib/gems/2.7.0/gems/git-1.8.1/lib/git/lib.rb:990:in `current_command_version'
/var/lib/gems/2.7.0/gems/git-1.8.1/lib/git/lib.rb:1097:in `command': git '-c' 'color.ui=false' version 2>&1:sh: 1: git: not found (Git::GitExecuteError)
1. https://fpm.readthedocs.io/en/latest/installing.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1765>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABAF2RXJJZSCMZ3ZFG2A4DTAVXXTANCNFSM4YFJ3KXA>
.
|
Thanks for the quick response! I downloaded your branch with the fixes, removed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Debian 11, after installing the dependencies [1] and running
fpm -s rpm -t deb <RPM_NAME>.rpm
an occur is presented aboutgit
not being found. After installing the package, the error no longer appears and the command works correctly.The text was updated successfully, but these errors were encountered: