Uploaded image for project: 'BoxGrinder Build'
  1. BoxGrinder Build
  2. BGBUILD-368

/usr/bin/qemu: No such file or directory on Fedora 17 32-bit

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 0.10.2
    • Fix Version/s: 0.10.3
    • Component/s: CLI
    • Labels:
      None
    • Environment:

      Fedora 17 32-bit

      Description

      On a clean install of Fedora 17 32-bit, after a `yum install rubygem-boxgrinder-build` (which installs 0.10.2), boxgrinder segfaults when building a vmware image with `boxgrinder-build appliance.appl -p vmware --platform-config type:personal,thin_disk:true --debug --trace` per the below:

      "T, 2012-07-04T16:54:49.852551 #31593 TRACE – : GFS: [00381ms] begin testing qemu features
      /usr/share/gems/gems/boxgrinder-build-0.10.2/lib/boxgrinder-build/helpers/qemu.wrapper: line 15: /usr/bin/qemu: No such file or directory
      D, 2012-07-04T16:54:49.879004 #31593 DEBUG – : GFS: launch = -1 (error)
      F, 2012-07-04T16:54:49.879644 #31593 FATAL – : Guestfs::Error: command failed: LC_ALL=C '/usr/share/gems/gems/boxgrinder-build-0.10.2/lib/boxgrinder-build/helpers/qemu.wrapper' -nographic -help

      If qemu is located on a non-standard path, try setting the LIBGUESTFS_QEMU
      environment variable. There may also be errors printed above."

      It appears that /usr/share/gems/gems/boxgrinder-build-0.10.2/lib/boxgrinder-build/helpers/qemu.wrapper has "bin=/usr/bin/qemu" hardcoded for 32-bit systems, but on Fedora 17, /usr/bin/qemu doesn't exist (even after a `yum install qemu*`. However, /usr/bin/qemu-system-i386 does exist; tweaking qemu.wrapper accordingly eliminates the error and segfault.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                msavy Marc Savy
                Reporter:
                malan David Malan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: