[Bug 1044087] New: vagrant 'package' command results in backtrace: cannot load such file -- /usr/share/vagrant/lib/vagrant/action/general/package (LoadError)
http://bugzilla.suse.com/show_bug.cgi?id=1044087
Bug ID: 1044087
Summary: vagrant 'package' command results in backtrace: cannot
load such file --
/usr/share/vagrant/lib/vagrant/action/general/package
(LoadError)
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Virtualization:Tools
Assignee: virt-bugs@suse.de
Reporter: markos.chandras@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
$ vagrant --version
Vagrant 1.9.1
$ vagrant package --base
openstack-ansible-rabbitmq_server_opensuse422_1497360075971_91358 --output
opensuse/foobar
/usr/share/vagrant/plugins/providers/virtualbox/action/package_setup_folders.rb:3:in
`require_relative': cannot load such file --
/usr/share/vagrant/lib/vagrant/action/general/package (LoadError)
from
/usr/share/vagrant/plugins/providers/virtualbox/action/package_setup_folders.rb:3:in
`
http://bugzilla.suse.com/show_bug.cgi?id=1044087
Charles Arnold
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c1
Robert Munteanu
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c2
Markos Chandras
Is this the version packaged from the official repos? What does
$ rpm -q vagrant
output?
I think so $ rpm -qi vagrant Name : vagrant Version : 1.9.1 Release : 1.2 Architecture: x86_64 Install Date: Mon 05 Jun 2017 03:07:46 PM BST Group : Development/Languages/Ruby Size : 4216664 License : MIT Signature : RSA/SHA256, Sun 28 May 2017 12:36:22 AM BST, Key ID b88b2fd43dbdc284 Source RPM : vagrant-1.9.1-1.2.src.rpm Build Date : Tue 07 Mar 2017 12:00:00 PM GMT Build Host : lamb15 Relocations : (not relocatable) Packager : https://bugs.opensuse.org Vendor : openSUSE URL : https://github.com/mitchellh/vagrant Summary : Build and distribute virtualized development environments Description : Vagrant is a tool for building and distributing virtualized development environments. Distribution: openSUSE Tumbleweed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c3
Robert Munteanu
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c4
Markos Chandras
Can you try the version that is proposed as an update to 1.9.5?
Still doesn't work. Same problem
$ vagrant --version
Vagrant 1.9.5
...
/usr/share/vagrant/plugins/providers/virtualbox/action/package_setup_folders.rb:3:in
`require_relative': cannot load such file --
/usr/share/vagrant/lib/vagrant/action/general/package_setup_folders (LoadError)
from
/usr/share/vagrant/plugins/providers/virtualbox/action/package_setup_folders.rb:3:in
`
http://bugzilla.suse.com/show_bug.cgi?id=1044087
Duncan Mac-Vicar
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c5
Johannes Kastl
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c7
Robert Munteanu
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c9
Markos Chandras
I may have a working solution, but it would be great for someone else to validate it. Can you edit the following files:
- /usr/share/vagrant/plugins/providers/virtualbox/action/package_setup_folders. rb - /usr/share/vagrant/plugins/providers/virtualbox/action/package.rb
and replace the require_relative calls with
require "vagrant/action/general/package"
That at least fixes the packaging for me.
That worked for me thank you -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c10
Robert Munteanu
(In reply to Robert Munteanu from comment #7)
I may have a working solution, but it would be great for someone else to validate it. Can you edit the following files:
- /usr/share/vagrant/plugins/providers/virtualbox/action/package_setup_folders. rb - /usr/share/vagrant/plugins/providers/virtualbox/action/package.rb
and replace the require_relative calls with
require "vagrant/action/general/package"
That at least fixes the packaging for me.
That worked for me thank you
Thanks for confirming. Now all we need is a working vagrant build in OBS so that I can submit the patches. Johannes - is that something that you might be working on? Not asking for commitment, just trying to make sure we don't overlap on the work. If not, I will try and find the time at the end of the week to fix the build and apply this patch. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1044087
http://bugzilla.suse.com/show_bug.cgi?id=1044087#c15
--- Comment #15 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com