[opensuse-factory] Building rubygem-vagrant
Hi all, I am having difficulties with installing vagrant in TW; The package is not built against the latest ruby, so it fails to install. I tried building it from source RPM, but that also fails and I cannot find the reason for this error: + cd vagrant-1.7.2 + /usr/lib/rpm/gem_install.sh --default-gem vagrant-1.7.2.gem --gem-name=vagrant --gem-version=1.7.2 --build-root /usr/src/packages/BUILDROOT/rubygem-vagrant-1.7.2-1.6.x86_64 -f I, [2015-06-06T14:15:35.943169 #11524] INFO -- : unhandled options: ["-f"] E, [2015-06-06T14:15:35.943686 #11524] ERROR -- : Can not find any gem file I, [2015-06-06T14:15:36.023428 #11526] INFO -- : unhandled options: ["-f"] E, [2015-06-06T14:15:36.023791 #11526] ERROR -- : Can not find any gem file error: Bad exit status from /var/tmp/rpm-tmp.T0PC1s (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.T0PC1s (%install) Why it can not find any gem file and how to fix it, remains a mystery to me, can anyone assist? :) Kind regards, Erwin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Erwin On Sat, Jun 6, 2015 at 3:25 PM, Erwin Van de Velde <erwin.vandevelde@gmail.com> wrote:
Hi all,
I am having difficulties with installing vagrant in TW;
The package is not built against the latest ruby, so it fails to install. I tried building it from source RPM, but that also fails and I cannot find the reason for this error:
+ cd vagrant-1.7.2 + /usr/lib/rpm/gem_install.sh --default-gem vagrant-1.7.2.gem --gem-name=vagrant --gem-version=1.7.2 --build-root /usr/src/packages/BUILDROOT/rubygem-vagrant-1.7.2-1.6.x86_64 -f I, [2015-06-06T14:15:35.943169 #11524] INFO -- : unhandled options: ["-f"] E, [2015-06-06T14:15:35.943686 #11524] ERROR -- : Can not find any gem file I, [2015-06-06T14:15:36.023428 #11526] INFO -- : unhandled options: ["-f"] E, [2015-06-06T14:15:36.023791 #11526] ERROR -- : Can not find any gem file error: Bad exit status from /var/tmp/rpm-tmp.T0PC1s (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.T0PC1s (%install)
Why it can not find any gem file and how to fix it, remains a mystery to me, can anyone assist? :)
The gist of it is - vagrant is not published as a rubygem anymore, so it can't use the exact process that other ruby gems use. When it doesn't use the same process, things start breaking down. I've tried to change the build to be a two-step process, so that the gem is still used as input for the build. I was not successful though, and posted about this in opensuse-ruby [1]. I didn't have any time recently to chase the build failures, but I just committed my local changes to my home repo [2], maybe it's a good starting point for you. HTH, Robert [1]: http://lists.opensuse.org/opensuse-ruby/2015-05/msg00040.html [2]: https://build.opensuse.org/project/show/home:robert_munteanu:branches:devel:...
Kind regards, Erwin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, Thanks for the answer, I really hope that it is fixed soon in openSUSE, it is becoming an important tool for me and I guess for many developers/administrators nowadays. If I have time tonight, I'll try to tinker with it :) Kind regards, Erwin On Thu, Jun 11, 2015 at 10:09 AM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
Hi Erwin
On Sat, Jun 6, 2015 at 3:25 PM, Erwin Van de Velde <erwin.vandevelde@gmail.com> wrote:
Hi all,
I am having difficulties with installing vagrant in TW;
The package is not built against the latest ruby, so it fails to install. I tried building it from source RPM, but that also fails and I cannot find the reason for this error:
+ cd vagrant-1.7.2 + /usr/lib/rpm/gem_install.sh --default-gem vagrant-1.7.2.gem --gem-name=vagrant --gem-version=1.7.2 --build-root /usr/src/packages/BUILDROOT/rubygem-vagrant-1.7.2-1.6.x86_64 -f I, [2015-06-06T14:15:35.943169 #11524] INFO -- : unhandled options: ["-f"] E, [2015-06-06T14:15:35.943686 #11524] ERROR -- : Can not find any gem file I, [2015-06-06T14:15:36.023428 #11526] INFO -- : unhandled options: ["-f"] E, [2015-06-06T14:15:36.023791 #11526] ERROR -- : Can not find any gem file error: Bad exit status from /var/tmp/rpm-tmp.T0PC1s (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.T0PC1s (%install)
Why it can not find any gem file and how to fix it, remains a mystery to me, can anyone assist? :)
The gist of it is - vagrant is not published as a rubygem anymore, so it can't use the exact process that other ruby gems use. When it doesn't use the same process, things start breaking down.
I've tried to change the build to be a two-step process, so that the gem is still used as input for the build. I was not successful though, and posted about this in opensuse-ruby [1].
I didn't have any time recently to chase the build failures, but I just committed my local changes to my home repo [2], maybe it's a good starting point for you.
HTH,
Robert
[1]: http://lists.opensuse.org/opensuse-ruby/2015-05/msg00040.html [2]: https://build.opensuse.org/project/show/home:robert_munteanu:branches:devel:...
Kind regards, Erwin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Erwin Van de Velde
-
Robert Munteanu