FS#45846 - [qemu] qemu seems to require snappy

Attached to Project: Arch Linux
Opened by Aidan E. (aereaux) - Thursday, 30 July 2015, 15:46 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 03 August 2015, 13:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Running qemu with `sudo qemu-system-x86_64 -m 4G -smp 4 -enable-kvm -hda /dev/sda -snapshot -cpu host -pflash /usr/share/ovmf/ovmf_x64.bin -runas $USER -spice port=5930,disable-ticketing,addr= -vga qxl` results in the error `qemu-system-x86_64: error while loading shared libraries: libsnappy.so.1: cannot open shared object file: No such file or directory`. After installing the package snappy, it works. Either I'm doing something wrong, or qemu seems to require snappy. It would be nice if it were to be added as a depend or optional depend in the qemu package.

Additional info:
* package version(s)
qemu 2.3.0-5
* config and/or log files etc.
No config files were changed.

Steps to reproduce:
Every time I tried running qemu without snappy installed, it displayed this error, so I think that's it to reproduce it.
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Monday, 03 August 2015, 13:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  qemu 2.3.0-6
Comment by patrick (potomac) - Friday, 31 July 2015, 18:19 GMT
there is also another warning message after running qemu :

Failed to open module: libgfapi.so.0: cannot open shared object file: No such file or directory

despite this warning message qemu works without problems
Comment by Aidan E. (aereaux) - Friday, 31 July 2015, 18:23 GMT
Yes, although that does not stop qemu from running. There is some discussion of that issue here: https://bugs.archlinux.org/task/45819.
Comment by Kyle Keen (keenerd) - Saturday, 01 August 2015, 18:13 GMT
Just to simplify the test case, 'qemu-system-x86_64' all by itself as a plain user is enough to generate the snappy error.
Comment by Sébastien Luttringer (seblu) - Sunday, 02 August 2015, 17:49 GMT
I added it, will be ok on the next pkg release.