On Mon, Dec 31, 2012 at 09:56:51AM +0800, Aiping Liu wrote:
Dear Mr rjones,
My name is aiping.liu ,nice to meet you. I am from china.
Yesterday,i am build a libguestfs package with the OS
RHEL6.2(32bit),like this : rpmbuild -ba libguestfs.spec .I use a common
user.But then i get some errors follow:
...........................
+ febootstrap -i augeas-libs -i btrfs-progs -i cryptsetup-luks -i diffutils
-i e2fsprogs -i e4fsprogs -i gfs-utils -i gfs2-utils -i hfsplus-tools -i
iputils -i kernel -i MAKEDEV -i nilfs-utils -i ntfsprogs -i ntfs-3g -i
reiserfs-utils -i libselinux -i udev -i util-linux-ng -i vim-minimal -i xz
-i zfs-fuse -i acl -i attr -i bash -i binutils -i coreutils -i dosfstools
-i file -i gawk -i grub -i jfsutils -i lsof -i lvm2 -i module-init-tools -i
net-tools -i parted -i procps -i scrub -i strace -i xfsprogs -i zerofree -u
none rhel-6 initramfs file:///home/cacti/rpmbuild/
BUILD/libguestfs-1.7.17/repo
febootstrap
| 1.3 kB 00:00 ...
febootstrap/primary
| 206 B 00:00 ...
Setting up Install Process
No package augeas-libs available.
No package btrfs-progs available.
No package cryptsetup-luks available.
No package diffutils available.
No package e2fsprogs available.
No package e4fsprogs available.
No package gfs-utils available.
No package gfs2-utils available.
No package hfsplus-tools available.
No package iputils available.
No package kernel available.
No package MAKEDEV available.
No package nilfs-utils available.
No package ntfsprogs available.
No package ntfs-3g available.
No package reiserfs-utils available.
No package libselinux available.
No package udev available.
No package util-linux-ng available.
No package vim-minimal available.
No package xz available.
No package zfs-fuse available.
No package acl available.
No package attr available.
No package bash available.
No package binutils available.
No package coreutils available.
No package dosfstools available.
No package file available.
No package gawk available.
No package grub available.
No package jfsutils available.
No package lsof available.
No package lvm2 available.
No package module-init-tools available.
No package net-tools available.
No package parted available.
No package procps available.
No package scrub available.
No package strace available.
No package xfsprogs available.
No package zerofree available.
Error: Nothing to do
chroot: failed to run command `rm': No such file or directory
chroot: failed to run command `rm': No such file or directory
make[2]: *** [../initramfs/fakeroot.log] Error 1
make[2]: Leaving directory
`/home/cacti/rpmbuild/BUILD/libguestfs-1.7.17/appliance'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cacti/rpmbuild/BUILD/libguestfs-1.7.17'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.viluyK (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.viluyK (%build)
I am looking forward for your answers.Thank you.
See:
http://libguestfs.org/guestfs-faq.1.html#why-do-i-get-an-error-when-i-try...
Please send questions to the libguestfs mailing list, or if you've
got Red Hat support, through Red Hat support.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)