Hello-- I've been trying to build libguestfs 1.2.14 with the appliance enabled on an older type of system at my company. Getting all the required dependencies installed has been an arduous process, but I've finally hit an obstacle I don't know how to get around. The final output of "make": + febootstrap-run initramfs -- /sbin/depmod -a ABOUT-NLS BUGS COPYING COPYING.LIB ChangeLog GNUmakefile HACKING Makefile Makefile.am Makefile.in README TODO aclocal.m4 appliance bindtests build-aux capitests config.h config.h.in config.log config.status configure configure.ac contrib daemon examples fish fuse gnulib haskell html images initramfs inspector java libguestfs.pc libguestfs.pc.in libtool m4 maint.mk make-recipes.sh ocaml perl po python recipes regressions ruby src stamp-h1 subdir-rules.mktest-tool tools chroot: cannot run command `/sbin/depmod': No such file or directory make[2]: *** [../initramfs/fakeroot.log] Error 1 make[2]: Leaving directory `/tmp/libguestfs-1.2.14/appliance' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/libguestfs-1.2.14' make: *** [all] Error 2 /sbin/depmod does indeed exist. I suppose that it doesn't exist inside the chroot febootstrap-run is running in, but I couldn't imagine why not. Can anyone offer any suggestions? Thanks in advance for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20110602/46af0efc/attachment.htm>
On Thu, Jun 02, 2011 at 05:22:16PM -0700, Sean McAfee wrote:> Hello-- > > I've been trying to build libguestfs 1.2.14 with the appliance enabled on an > older type of system at my company. Getting all the required dependencies > installed has been an arduous process, but I've finally hit an obstacle I > don't know how to get around. The final output of "make": > > + febootstrap-run initramfs -- /sbin/depmod -a ABOUT-NLS BUGS COPYING > COPYING.LIB ChangeLog GNUmakefile HACKING Makefile Makefile.am Makefile.in > README TODO aclocal.m4 appliance bindtests build-aux capitests config.h > config.h.in config.log config.status configure configure.ac contrib daemon > examples fish fuse gnulib haskell html images initramfs inspector java > libguestfs.pc libguestfs.pc.in libtool m4 maint.mk make-recipes.sh ocaml > perl po python recipes regressions ruby src stamp-h1 > subdir-rules.mktest-tool tools > chroot: cannot run command `/sbin/depmod': No such file or directory > make[2]: *** [../initramfs/fakeroot.log] Error 1 > make[2]: Leaving directory `/tmp/libguestfs-1.2.14/appliance' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/libguestfs-1.2.14' > make: *** [all] Error 2 > > /sbin/depmod does indeed exist. I suppose that it doesn't exist inside the > chroot febootstrap-run is running in, but I couldn't imagine why not. > > Can anyone offer any suggestions? Thanks in advance for any help.Does $PATH contain /sbin? I think you should really try a newer version of libguestfs. The 1.2 series is about 18 months old and contains a (low risk but known) vulnerability. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
On Thu, Jun 2, 2011 at 5:22 PM, Sean McAfee <eefacm at gmail.com> wrote:> Hello-- > > I've been trying to build libguestfs 1.2.14 with the appliance enabled on > an older type of system at my company. Getting all the required > dependencies installed has been an arduous process, but I've finally hit an > obstacle I don't know how to get around. The final output of "make": > > + febootstrap-run initramfs -- /sbin/depmod -a ABOUT-NLS BUGS\...snip...> chroot: cannot run command `/sbin/depmod': No such file or directory > make[2]: *** [../initramfs/fakeroot.log] Error 1 >Now I'm trying to build libguestfs-1.4.6, but I get a completely different error: ... mkdir -p ../perl/lib/Sys mkdir -p ../ruby/ext/guestfs mkdir -p ../java/com/redhat/et/libguestfs mkdir -p ../csharp cd .. && ocaml -warn-error A src/generator.ml Cannot find file xml-light.cma. File "src/generator.ml", line 11819, characters 4-53: Unbound constructor Xml.Element make[3]: *** [stamp-generator] Error 2 make[3]: Leaving directory `/tmp/libguestfs-1.4.6/src' make[2]: *** [../src/stamp-generator] Error 2 make[2]: Leaving directory `/tmp/libguestfs-1.4.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/libguestfs-1.4.6' make: *** [all] Error 2 Again, any pointers would be much appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20110603/99c8fa43/attachment.htm>
On Fri, Jun 03, 2011 at 11:38:45AM -0700, Sean McAfee wrote:> Each version of febootstrap I've tried leads to a slightly different > explosion of dependencies, each with its own idiosyncracies to be > addressed.Let's keep this thread on the list, since it may help others in future. When you say dependencies of febootstrap, do you really mean of febootstrap itself, or of the package list that libguestfs is trying to download and install? If the latter, you can reduce that by removing things from appliance/packagelist.in in the libguestfs sources. 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#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
Seemingly Similar Threads
- febootstrap failure
- [PATCH] Make appliance-building work on systems with default library search paths differing from the appliance's
- Building PXE Bootable images using the libguestfs toolchain
- Rethinking appliance building
- Generate coredumps of the guestfs appliance