You are not logged in.

#1 2012-05-11 16:14:00

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

[closed]Qemu showing not installed but it is

Hi, I was installing libquestfs to enable me to retrieve data from a vmdk file. The install went fine but then stopped insisting that qemu be installed when it is. I have the version from extra installed, does anyone have an idea of how to show that it is indeed installed?


thanks in advance.

--jerry

Pacman does see it as installed.

questfs-browser was the original package that I attempted to install, it failed on the libguestfs portion.

Last edited by jk121960 (2012-05-22 01:06:41)


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#2 2012-05-11 20:07:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: [closed]Qemu showing not installed but it is

you used a q in the package names instead of a g : it's libguestfs and guestfs-browser.
For future questions remember to indicate it concerns aur packages , maybe even include links to the pacakges..

about the error :
qemu is listed as dependency in the guestfs PKGBUILD , so makepkg should detect it is present.
Can you post the whole error message ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2012-05-11 20:34:42

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [closed]Qemu showing not installed but it is

Is it pacman or questfs that is trowing the error about missing qemu? If the later it might be due to the recent changes to qemu.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2012-05-11 20:43:40

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [closed]Qemu showing not installed but it is

Sorry about the typo and not mentioning it is AUR, I will do that in the future. Here is the whole message and a couple of lines above where it checks for qemu

checking for qemu-kvm... no
checking for qemu... no
configure: error: qemu must be installed
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build libguestfs.
==> Restart building libguestfs ? [y/N]
==> -----------------------------------
==> 

and here is the qemu package query

[root@localhost ~]# yaourt qemu
1 extra/qemu 1.0.1-3 [installed]
    A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation.
2 extra/qemu-kvm 1.0.1-3
    Latest KVM QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation.
3 extra/vde2 2.3.2-1 [installed]
    Virtual Distributed Ethernet for emulators like qemu
4 community/libvirt 0.9.11-2 [installed]

I notice it also checked for qemu-kvm so I installed qemu-kvm which removed qemu and this is the error then although it got farther through the build before it failed.

collect2: error: ld returned 1 exit status
make[3]: *** [guestfsd] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-libguestfs/src/libguestfs-1.16.20/daemon'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-libguestfs/src/libguestfs-1.16.20/daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-libguestfs/src/libguestfs-1.16.20'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build libguestfs.
==> Restart building libguestfs ? [y/N]

I re-installed qemu and got the same exact error as the first attempt

thanks for your help on this.

--jerry

Last edited by jk121960 (2012-05-11 20:44:40)


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#5 2012-05-11 20:53:09

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [closed]Qemu showing not installed but it is

It's a lot easier to see why this fails if you aren't using yaourt. The PKGBUILD passes --with-qemu="qemu-kvm qemu", meaning that it should search for qemu as either of those binary names. extra/qemu doesn't provide such a thing. Both those binary names belong to qemu-kvm. Modify the PKGBUILD to point to the correct binary name (such as qemu-x86_64 or qemu-i386.

Offline

#6 2012-05-11 23:19:10

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [closed]Qemu showing not installed but it is

ok that worked much better but now libguestfs is whining about a help flag on qemu (-help) but the help flag is (-h) ?

checking for qemu-kvm... no
checking for qemu-x86_64... /usr/bin/qemu-x86_64
checking that /usr/bin/qemu-x86_64 -help works... no
configure: error: in `/root/Software/builds/libguestfs/src/libguestfs-1.16.20':
configure: error: /usr/bin/qemu-x86_64 -help: command failed.

This could be a very old version of qemu, or qemu might not be
working.


See `config.log' for more details

this version of qemu is up to date it is in extra.


Here is the portion of config.log that is from that part of the transaction.

25484 configure:47080: checking that /usr/bin/qemu-x86_64 -help works
25485 usage: qemu-x86_64 [options] program [arguments...]
25486 Linux CPU emulator (compiled for x86_64 emulation)
25487 
25488 Options and associated environment variables:
25489 
25490 Argument     Env-variable     Description
25491 -h                            print this help
25492 -g port      QEMU_GDB         wait gdb connection to 'port'
25493 -L path      QEMU_LD_PREFIX   set the elf interpreter prefix to 'path'
25494 -s size      QEMU_STACK_SIZE  set the stack size to 'size' bytes
25495 -cpu model   QEMU_CPU         select CPU (-cpu ? for list)
25496 -E var=value QEMU_SET_ENV     sets targets environment variable (see below)
25497 -U var       QEMU_UNSET_ENV   unsets targets environment variable (see below)
25498 -0 argv0     QEMU_ARGV0       forces target process argv[0] to be 'argv0'
25499 -r uname     QEMU_UNAME       set qemu uname release string to 'uname'
25500 -B address   QEMU_GUEST_BASE  set guest_base address to 'address'
25501 -R size      QEMU_RESERVED_VA reserve 'size' bytes for guest virtual address space
25502 -d options   QEMU_LOG         activate log
25503 -p pagesize  QEMU_PAGESIZE    set the host page size to 'pagesize'
25504 -singlestep  QEMU_SINGLESTEP  run in singlestep mode
25505 -strace      QEMU_STRACE      log system calls
25506 -version     QEMU_VERSION     display version information and exit
25507 
25508 Defaults:
25509 QEMU_LD_PREFIX  = /usr/gnemul/qemu-x86_64
25510 QEMU_STACK_SIZE = 8388608 byte
25511 QEMU_LOG        = /tmp/qemu.log
25512 
25513 You can use -E and -U options or the QEMU_SET_ENV and
25514 QEMU_UNSET_ENV environment variables to set and unset
25515 environment variables for the target process.
25516 It is possible to provide several variables by separating them
25517 by commas in getsubopt(3) style. Additionally it is possible to
25518 provide the -E and -U options multiple times.
25519 The following lines are equivalent:
25520     -E var1=val2 -E var2=val2 -U LD_PRELOAD -U LD_DEBUG
25521     -E var1=val2,var2=val2 -U LD_PRELOAD,LD_DEBUG
25522     QEMU_SET_ENV=var1=val2,var2=val2 QEMU_UNSET_ENV=LD_PRELOAD,LD_DEBUG
25523 Note that if you provide several changes to a single variable
25524 the last change will stay in effect.
25525 configure:47086: result: no
25526 configure:47088: error: in `/root/Software/builds/libguestfs/src/libguestfs-1.16.20':
25527 configure:47090: error: /usr/bin/qemu-x86_64 -help: command failed.
25528 
25529 This could be a very old version of qemu, or qemu might not be
25530 working.
25531 
25532 See `config.log' for more details
25533 
25534 ## ---------------- ##
25535 ## Cache variables. ##
25536 ## ---------------- ##

your help is greatly appreciated.

--jerry

Last edited by jk121960 (2012-05-11 23:20:59)


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

Board footer

Powered by FluxBB