[fedora-virt] Re: libguestfs: fix for checking perl modules

Richard W.M. Jones rjones at redhat.com
Tue Apr 28 11:18:41 UTC 2009


On Tue, Apr 28, 2009 at 11:52:17AM +0100, Luciano Miguel Ferreira Rocha wrote:
> fakechroot-2.9-20

You could try 2.9-22 which includes the FAKECHROOT_CMD_SUBST patch.
This allows us to substitute for commands like /sbin/ldconfig which
are statically linked.

http://cvs.fedoraproject.org/viewvc/devel/fakechroot/fakechroot.spec?revision=1.13&view=markup

Having said that, even if /sbin/ldconfig fails, it shouldn't cause yum
(or make) to exit with an error.  It's possible that the older version
of yum in RHEL 5.3 behaves differently and exits if a %post script
fails (which newer versions from Rawhide certainly don't do).

In that case you could try (as a gross hack) ...

  febootstrap $modules [etc] ||:

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Fedora-virt mailing list