Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477902 - app-emulation/libguestfs-1.20.6 should install /usr/bin/virt-resize
Summary: app-emulation/libguestfs-1.20.6 should install /usr/bin/virt-resize
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreis Vinogradovs ( slepnoga )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-23 13:02 UTC by Ernest CHIARELLO
Modified: 2014-04-16 11:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernest CHIARELLO 2013-07-23 13:02:38 UTC
hello,

virt-resize is not present in libguestfs-1.20.6

# epm -ql libguestfs | grep virt-resize
#

but it should be, because "Virt-resize is a tool which can resize a virtual machine disk, making it larger or smaller overall, and resizing or deleting any partitions contained within".

on my Ubuntu host, it is present :

$ dgkg -L libguestfs | grep virt-resize
$ /usr/bin/virt-resize
$ /usr/share/man/man1/virt-resize.1.gz

but not on my Gentoo host :-(
Linux accort 3.8.13-gentoo #1 SMP Tue Jul 23 11:39:09 CEST 2013 x86_64 Intel(R) Xeon(R) CPU E5345 @ 2.33GHz GenuineIntel GNU/Linux

an idea ?


Ernest.
Comment 1 Andreis Vinogradovs ( slepnoga ) 2013-08-01 06:53:03 UTC
Please provide USE flag on you installation libguestfs
Comment 2 Ernest CHIARELLO 2013-09-13 15:04:21 UTC
(In reply to Andreis Vinogradovs ( slepnoga ) from comment #1)
> Please provide USE flag on you installation libguestfs

a very late answser... sorry !


# emerge -pva libguestfs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] app-emulation/libguestfs-1.20.6:0/1.20  USE="fuse perl -debug -doc -erlang -inspect-icons -introspection -lua -ocaml -ruby (-selinux) -static-libs -systemtap {-test}" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 3 Andreis Vinogradovs ( slepnoga ) 2013-10-17 12:26:06 UTC
(In reply to Ernest CHIARELLO from comment #2)
> (In reply to Andreis Vinogradovs ( slepnoga ) from comment #1)
> > Please provide USE flag on you installation libguestfs
> 
> a very late answser... sorry !
> 
> 
> # emerge -pva libguestfs
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ~] app-emulation/libguestfs-1.20.6:0/1.20  USE="fuse perl
> -debug -doc -erlang -inspect-icons -introspection -lua -ocaml -ruby
> (-selinux) -static-libs -systemtap {-test}" 0 kB
> 
> Total: 1 package (1 reinstall), Size of downloads: 0 kB
> 
>  * IMPORTANT: 8 news items need reading for repository 'gentoo'.
>  * Use eselect news to read news items.

Please enable ocaml USE and rebuild libguestfs - resize written in Ocaml
https://github.com/libguestfs/libguestfs/blob/master/resize/resize.ml
Comment 4 Ernest CHIARELLO 2014-02-18 08:05:00 UTC
that's write !

accort ~ # emerge -pva libguestfs
[ebuild   R   ~] app-emulation/libguestfs-1.24.0:0/1.24  USE="fuse ocaml perl -debug -doc -erlang -inspect-icons -introspection -lua -ruby (-selinux) -static-libs -systemtap {-test}" 0 kB


all virt command are now available :

accort ~ # virt
virt-alignment-scan    virt-edit              virt-list-partitions   virt-resize            virt-win-reg
virt-builder           virt-filesystems       virtlockd              virt-sparsify          virt-xml-validate
virt-cat               virt-format            virt-ls                virt-sysprep           
virt-copy-in           virt-host-validate     virt-make-fs           virt-tar               
virt-copy-out          virt-inspector         virt-pki-validate      virt-tar-in            
virt-df                virt-list-filesystems  virt-rescue            virt-tar-out           


Merci beaucoup !


Ernest.
Comment 5 Thomas Beutin 2014-04-16 11:27:38 UTC
IMHO it would be very helpful to have this announced in a message before/after installing this package.