You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just tried to build winrm (v2.3.1) as an rpm and I get the following failure during the build from gem_install.sh:
[ 11s] /usr/lib/rpm/gem_install.sh:83:in `map_executable': undefined method `[]' for false:FalseClass (NoMethodError)
[ 11s] from /usr/lib/rpm/gem_install.sh:242:in `block in <main>'
[ 11s] from /usr/lib/rpm/gem_install.sh:237:in `each'
[ 11s] from /usr/lib/rpm/gem_install.sh:237:in `<main>'
[ 11s] error: Bad exit status from /var/tmp/rpm-tmp.ixL7hg (%install)
This issue occurs on all enabled OpenSUSE & SLE versions, so my guess is that winrm is doing something unexpected in their executable? Unfortunately my ruby knowledge is next to non-existent, so I don't know what could be the issue.
The text was updated successfully, but these errors were encountered:
dcermak
changed the title
gem_install.sh fails for rubygem-winrm
gem_install.sh produces a hard to understand error message
Feb 27, 2019
I have found out that the above issue is not a "real" bug in gem_install.sh. I have fixed it by including the following line in gem2rpm.yml:
:sources:
So maybe a suggestion for an improvement: could gem_install.sh please check whether it got the expected data from the config file and fail with an easier to understand error message?
Is there a specific problem with gem2rpm that I could report upstream (since the error clearly occurs from within gem_install.sh)? Or would it be possible to report the problematic behavior from gem_install.sh?
I have just tried to build winrm (v2.3.1) as an rpm and I get the following failure during the build from
gem_install.sh
:The corresponding OBS project is: https://build.opensuse.org/package/show/home:dancermak:branches:Virtualization:vagrant/rubygem-winrm
This issue occurs on all enabled OpenSUSE & SLE versions, so my guess is that winrm is doing something unexpected in their executable? Unfortunately my ruby knowledge is next to non-existent, so I don't know what could be the issue.
The text was updated successfully, but these errors were encountered: