Rockman8 n00b
Joined: 19 Sep 2023 Posts: 31
|
Posted: Wed Oct 16, 2024 9:26 pm Post subject: libguestfs missing alias (symlink) for completed command |
|
|
Hello,
I was trying to run vagrant package and I stumbled upon this
Code: | vagrant package
==> default: Packaging domain...
==> default: Downloading learn_how_to_shell_script_through_project-based_training_default.img to /home/user/.vagrant.d/tmp/vagrant-package-20241016-29898-68f628/box.img
==> default: Image has backing image, copying image and rebasing ...
/home/user/.vagrant.d/gems/3.2.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/package_domain.rb:153:in ``': No such file or directory - virt-sysprep (Errno::ENOENT)
from /home/user/.vagrant.d/gems/3.2.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/package_domain.rb:153:in `sysprep_domain'
from /home/user/.vagrant.d/gems/3.2.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/package_domain.rb:73:in `package_v1'
from /home/user/.vagrant.d/gems/3.2.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/package_domain.rb:60:in `call'
from /home/user/.vagrant.d/gems/3.2.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/package_domain.rb:60:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/general/package.rb:87:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /home/user/.vagrant.d/gems/3.2.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/forward_ports.rb:202:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builtin/config_validate.rb:28:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/general/package_setup_files.rb:49:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/general/package_setup_folders.rb:28:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builtin/config_validate.rb:28:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/machine.rb:247:in `action_raw'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/machine.rb:216:in `block in action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/environment.rb:649:in `lock'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/machine.rb:202:in `call'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/machine.rb:202:in `action'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/plugins/commands/package/command.rb:97:in `package_vm'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/plugins/commands/package/command.rb:86:in `block in package_target'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/plugin/v2/command.rb:249:in `block in with_target_vms'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/plugin/v2/command.rb:238:in `each'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/plugin/v2/command.rb:238:in `with_target_vms'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/plugins/commands/package/command.rb:84:in `package_target'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/plugins/commands/package/command.rb:52:in `execute'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/cli.rb:67:in `execute'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/lib/vagrant/environment.rb:319:in `cli'
from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/bin/vagrant:248:in `<main>'
|
Found out that I was missing app-emulation/libguestfs so I emerged it
Code: | INFO: setup
Package: app-emulation/libguestfs-1.48.6-r1:0/1.48
Repository: gentoo
USE: abi_x86_64 amd64 elibc_glibc fuse gtk kernel_linux libvirt lua_single_target_lua5-1 ocaml perl python_single_target_python3_12
FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
Determining the location of the kernel source code
Found kernel source directory:
/usr/src/linux
Found sources for kernel version:
6.6.52-gentoo-pietinger
Checking for suitable kernel configuration options ...
INFO: prepare
Running eautoreconf in '/var/tmp/portage/app-emulation/libguestfs-1.48.6-r1/work/libguestfs-1.48.6' ...
Running 'libtoolize --install --copy --force --automake' ...
Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/app-emulation/libguestfs-1.48.6-r1/temp/aclocal' ...
Running 'autoconf --force' ...
Running 'autoheader --force' ...
Running 'automake --add-missing --copy --foreign --force-missing' ...
INFO: test
Skipping make test/check due to ebuild restriction.
INFO: install
Final size of build directory: 172908 KiB (168.8 MiB)
Final size of installed tree: 16892 KiB ( 16.4 MiB)
INFO: postinst
Please ensure you are in the 'kvm' group for decent performance!
Note that common tools like virt-resize are now part of app-emulation/guestfs-tools
QA: other
QA Notice: Problems with installed bash completions were found:
virt-diff: missing alias (symlink) for completed command.
virt-edit: missing alias (symlink) for completed command.
virt-alignment-scan: missing alias (symlink) for completed command.
virt-dib: missing alias (symlink) for completed command.
virt-filesystems: missing alias (symlink) for completed command.
virt-log: missing alias (symlink) for completed command.
virt-customize: missing alias (symlink) for completed command.
virt-inspector: missing alias (symlink) for completed command.
virt-get-kernel: missing alias (symlink) for completed command.
virt-sysprep: missing alias (symlink) for completed command.
virt-cat: missing alias (symlink) for completed command.
virt-ls: missing alias (symlink) for completed command.
virt-tail: missing alias (symlink) for completed command.
virt-builder: missing alias (symlink) for completed command.
virt-df: missing alias (symlink) for completed command.
virt-sparsify: missing alias (symlink) for completed command.
virt-resize: missing alias (symlink) for completed command.
virt-format: missing alias (symlink) for completed command.
virt-win-reg: missing alias (symlink) for completed command.
For more details on installing bash-completions, please see:
https://wiki.gentoo.org/wiki/Bash/Installing_completion_files
|
I got a bunch of missing alias including the virt-sysprep
Also found this
https://bugs.gentoo.org/930590
and there's my build log too
https://pastebin.com/BQqxpkmm
Is there anyway around this? |
|