Remote use of libguestfs
by Richard W.M. Jones
[Stefan asked an interesting question on IRC about how / whether it is
possible to use libguestfs remotely. The answer is too detailed for IRC]
Consider this model of the libguestfs architecture[i]:
(2) libguestfs (3) Linux
(1) API protocol syscalls
program <--------> libguestfs <--------> qemu <--------> devices
guestfsd disk images
kernel
There are three places where you might want to use libguestfs
remotely.
You can remote libguestfs at (3). For example if your disk is located
remotely and made available to the local machine using iSCSI, it
appears as /dev/sdX and you can just access that directly with
libguestfs. Another possibility is to use the NBD or http drivers
built into qemu. Another possibility is to use sshfs (which we
already advocate for access to VMware ESX VMFS[ii]).
One user has successfully remoted libguestfs at (1), but it depends on
the programming language you are using. He used rpyc[iii] to
automatically generate Python stubs for libguestfs plus a remote
daemon. Same is probably possible in Java using (eg) RMI. It's
obviously a lot more complicated if you just consider the C API.
The interesting case is (2), and I believe it's also possible to
remote libguestfs here. In libguestfs 1.10 we added support for
accessing live guests. The way this works under the hood is that
instead of launching the qemu backend, you tell libguestfs to connect
to an existing Unix domain socket. To access a live guest, the idea
is that this is set up to point to a virtio-serial channel into the
running guest. But you could use the same underlying API[iv] to
connect to a remote qemu that you run yourself. You could start the
remote qemu using (eg.) ssh and have it forward the virtio-serial
channel back to something on the local side (nc -U?). Additionally
you would have to work out how to send the appliance over to the
remote side and/or arrange that there's a compatible appliance and
qemu available to run remotely.
As a final note, I should add that libguestfs will have different
performance characteristics depending on which remote method you use.
The reason is that some functionality exists only in the library
(eg. setting and getting various flags), some functionality runs
mainly in the library but makes lots of calls over the protocol
(eg. the core inspection API), and some functionality happens almost
entirely in guestfsd.
Rich.
[i] http://libguestfs.org/guestfs.3.html#architecture
[ii] https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-gu...
[iii] http://rpyc.wikidot.com/
[iv] http://libguestfs.org/guestfs.3.html#attaching_to_running_daemons
--
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
13 years, 5 months
Re: [Libguestfs] How to run the java demo code contained inlibguestfs package ???
by Richard W.M. Jones
[Please keep replies on the list]
On Mon, May 23, 2011 at 04:44:48PM +0800, 毛宏 wrote:
> Thanks, I am using libguestfs-1.10.3, the stable release. But I
> can't find the libguestfs_jni.so.1 or the jar file from the package,
> where can I get one ?
Are you compiling from source?
In the standard build, libtool puts the libguestfs_jni.so* files in
"java/.libs" so you would use:
java -Djava.library.path=.libs t/GuestFS005Load
(See java/run-java/tests)
The jar file should be built in the java/ directory. However you
don't need it when running the tests because the JVM can find the
separate *.class files it needs from the current directory.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
13 years, 5 months
Re: [Libguestfs] Fwd: Re: febootstrap in Debian
by Richard W.M. Jones
[CC also to libguestfs mailing list]
On Tue, May 17, 2011 at 08:11:10PM +0200, Guido Günther wrote:
> As to binary debs: I wonder if we can't just get away by adding the
> needed packages as build-depends (so they end up installed on the buildd
> before the package built) and modify febootstrap to look at the
> _installed_ files instead of at the downloaded debs.
>
> Looking at febootstrap_debian.ml this looks possible but very likely I'm
> missing something. I'm not very good at OCaml though.
I guess the (non-obvious) thing you're missing is that we can't use
installed configuration files, because the sysadmin may have changed
them. We need the original of all files, and we get those from the
*.debs.
In the special case (and only in this special case) where we are
building on the Debian builders, there's no sysadmin and so no one
could have modified any configuration or other files.
However there may still be other problems I haven't seen. How to get
the list of files in each package (should be OK: dpkg -L). How to
resolve the dependencies so we know we have all packages / files?
With the Fedora builders, we have the *.rpm files left around and we
use them. Is that not the same in the Debian case?
> Is the insmod.static issue somehow resolved? Maybe filing a wishlist bug
> would help?
Still a bug AFAIK.
In Fedora we build module-init-tools from source and we don't do
anything special[1] to get insmod.static, so I'm not sure why it
doesn't exist on Debian too.
> Having febootstrap/libguestfs in Debian would be great, I've met so many
> people asking about it's status! Roland, do you plan to work on
> libguestfs? If so I'd be happy to add you to the pkg-libvirt team.
Hope you can get something worked out. Let me know if you need any
more help.
libguestfs is legendarily hard to build ...
Rich.
[1] http://pkgs.fedoraproject.org/gitweb/?p=module-init-tools.git;a=blob;f=mo...
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
13 years, 5 months
How to run the java demo code contained in libguestfs package ???
by 毛宏
Hi all,
I would like to use libguestfs to manage the virtual disk images of virtual machines on XenServer, which is a virtualization platform.
When I try to do some test of the Java codes contained in the libguestfs package, the following error promped up:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no guestfs_jni in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.redhat.et.libguestfs.GuestFS.<clinit>(GuestFS.java:44)
at test.GuestFS005Load.main(GuestFS005Load.java:27)
It seems that I need to build guestfs_jni before I could use libguestfs through Java. But I am not clear how to get this "guestfs_jni".......
Does anybody know how to fix this problem? Thank you very very much!
13 years, 5 months
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
by Richard Jones
This is an automatic message generated by the builder on
builder-debian for febootstrap. Log files from the build
follow below.
Linux builder-debian.home.annexia.org 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010 x86_64 GNU/Linux
Fri May 20 20:00:01 BST 2011
-----
+ git pull --rebase git://git.annexia.org/git/febootstrap.git master
>From git://git.annexia.org/git/febootstrap
* branch master -> FETCH_HEAD
Current branch master is up to date.
+ git clean -d -f
++ awk '{print $2}'
++ head -1
++ git log
+ gitsha=6ab9465001dfaa52edc5992ee71f2e9aecc2085d
+ ./autogen.sh
Module list with included dependencies (indented):
alloca-opt
arg-nonnull
bitrotate
c++defs
c-ctype
chdir-long
chown
cloexec
close
close-hook
cycle-check
d-ino
d-type
dev-ino
dirent
dirent-safer
dirfd
dirname-lgpl
double-slash-root
dup2
errno
error
exitfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format
Notice from module xvasprintf:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars: --flag=xasprintf:1:c-format
File list:
build-aux/arg-nonnull.h
build-aux/c++defs.h
build-aux/warn-on-use.h
lib/alloca.in.h
lib/asnprintf.c
lib/asprintf.c
lib/at-func.c
lib/basename-lgpl.c
lib/bitrotate.h
lib/c-ctype.c
lib/c-ctype.h
lib/chdir-long.c
lib/chdir-long.h
lib/chown.c
lib/cloexec.c
lib/cloexec.h
lib/close-hook.c
lib/close-hook.h
lib/close.c
lib/creat-safer.c
lib/cycle-check.c
lib/cycle-check.h
lib/dev-ino.h
lib/dirent--.h
lib/dirent-safer.h
lib/dirent.in.h
lib/dirfd.c
lib/dirname-lgpl.c
lib/dirname.h
lib/dup-safer.c
lib/dup2.c
lib/errno.in.h
lib/error.c
lib/error.h
lib/exitfail.c
lib/exitfail.h
lib/fchdir.c
lib/fchmodat.c
lib/fchown-stub.c
lib/fchownat.c
lib/fclose.c
lib/fcntl--.h
lib/fcntl-safer.h
lib/fcntl.c
lib/fcntl.in.h
lib/fd-safer.c
lib/fdopendir.c
lib/filevercmp.c
lib/filevercmp.h
lib/float+.h
lib/float.in.h
lib/fstatat.c
lib/fts-cycle.c
lib/fts.c
lib/fts_.h
lib/full-write.c
lib/full-write.h
lib/getcwd.c
lib/getdtablesize.c
lib/getopt.c
lib/getopt.in.h
lib/getopt1.c
lib/getopt_int.h
lib/gettext.h
lib/hash-pjw.c
lib/hash-pjw.h
lib/hash.c
lib/hash.h
lib/i-ring.c
lib/i-ring.h
lib/intprops.h
lib/inttypes.in.h
lib/lchown.c
lib/lstat.c
lib/malloc.c
lib/memchr.c
lib/memchr.valgrind
lib/mempcpy.c
lib/memrchr.c
lib/mkdir.c
lib/mkdirat.c
lib/open-safer.c
lib/open.c
lib/openat-die.c
lib/openat-priv.h
lib/openat-proc.c
lib/openat-safer.c
lib/openat.c
lib/openat.h
lib/opendir-safer.c
lib/pipe-safer.c
lib/printf-args.c
lib/printf-args.h
lib/printf-parse.c
lib/printf-parse.h
lib/realloc.c
lib/rmdir.c
lib/safe-read.c
lib/safe-read.h
lib/safe-write.c
lib/safe-write.h
lib/same-inode.h
lib/save-cwd.c
lib/save-cwd.h
lib/size_max.h
lib/stat.c
lib/stdarg.in.h
lib/stdbool.in.h
lib/stddef.in.h
lib/stdint.in.h
lib/stdio-write.c
lib/stdio.in.h
lib/stdlib.in.h
lib/strdup.c
lib/strerror.c
lib/string.in.h
lib/stripslash.c
lib/sys_stat.in.h
lib/sys_wait.in.h
lib/time.in.h
lib/unistd--.h
lib/unistd-safer.h
lib/unistd.in.h
lib/unlink.c
lib/unlinkat.c
lib/vasnprintf.c
lib/vasnprintf.h
lib/vasprintf.c
lib/verify.h
lib/wchar.in.h
lib/write.c
lib/xalloc-die.c
lib/xalloc.h
lib/xasprintf.c
lib/xgetcwd.c
lib/xgetcwd.h
lib/xmalloc.c
lib/xsize.h
lib/xstrtol-error.c
lib/xstrtol.c
lib/xstrtol.h
lib/xstrtoul.c
lib/xvasprintf.c
lib/xvasprintf.h
m4/00gnulib.m4
m4/alloca.m4
m4/asm-underscore.m4
m4/chdir-long.m4
m4/chown.m4
m4/cloexec.m4
m4/close.m4
m4/cycle-check.m4
m4/d-ino.m4
m4/d-type.m4
m4/dirent-safer.m4
m4/dirent_h.m4
m4/dirfd.m4
m4/dirname.m4
m4/dos.m4
m4/double-slash-root.m4
m4/dup2.m4
m4/errno_h.m4
m4/error.m4
m4/extensions.m4
m4/fchdir.m4
m4/fclose.m4
m4/fcntl-o.m4
m4/fcntl-safer.m4
m4/fcntl.m4
m4/fcntl_h.m4
m4/fdopendir.m4
m4/float_h.m4
m4/fts.m4
m4/getcwd-abort-bug.m4
m4/getcwd-path-max.m4
m4/getcwd.m4
m4/getdtablesize.m4
m4/getopt.m4
m4/gnulib-common.m4
m4/hash.m4
m4/i-ring.m4
m4/include_next.m4
m4/inline.m4
m4/intmax_t.m4
m4/inttypes-pri.m4
m4/inttypes.m4
m4/inttypes_h.m4
m4/lchown.m4
m4/longlong.m4
m4/lstat.m4
m4/malloc.m4
m4/memchr.m4
m4/mempcpy.m4
m4/memrchr.m4
m4/mkdir.m4
m4/mmap-anon.m4
m4/mode_t.m4
m4/multiarch.m4
m4/onceonly.m4
m4/open.m4
m4/openat.m4
m4/printf.m4
m4/realloc.m4
m4/rmdir.m4
m4/safe-read.m4
m4/safe-write.m4
m4/save-cwd.m4
m4/size_max.m4
m4/ssize_t.m4
m4/stat.m4
m4/stdarg.m4
m4/stdbool.m4
m4/stddef_h.m4
m4/stdint.m4
m4/stdint_h.m4
m4/stdio_h.m4
m4/stdlib_h.m4
m4/strdup.m4
m4/strerror.m4
m4/string_h.m4
m4/sys_stat_h.m4
m4/sys_wait_h.m4
m4/time_h.m4
m4/unistd-safer.m4
m4/unistd_h.m4
m4/unlink.m4
m4/vasnprintf.m4
m4/vasprintf.m4
m4/warn-on-use.m4
m4/wchar_h.m4
m4/wchar_t.m4
m4/wint_t.m4
m4/write.m4
m4/xalloc.m4
m4/xgetcwd.m4
m4/xsize.m4
m4/xstrtol.m4
m4/xvasprintf.m4
Finished.
You may need to add #include directives for the following .h files.
#include "error.h"
#include "filevercmp.h"
#include "fts_.h"
#include "full-write.h"
#include "hash-pjw.h"
#include "hash.h"
#include "xalloc.h"
#include "xstrtol.h"
#include "xvasprintf.h"
You may need to use the following Makefile variables when linking.
Use them in <program>_LDADD when linking a program, or
in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
Don't forget to
- add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
- mention "lib" in SUBDIRS in Makefile.am,
- mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
- mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
- invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC,
- invoke gl_INIT in ./configure.ac.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for function prototypes... yes
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether chown dereferences symlinks... yes
checking for chown... yes
checking for fchown... yes
checking for fdopendir... yes
checking for dup2... yes
checking for fchdir... yes
checking for fcntl... yes
checking for lchmod... no
checking for fstatfs... yes
checking for getdtablesize... yes
checking for lstat... yes
checking for mprotect... yes
checking for memchr... yes
checking for strdup... yes
checking for pipe... yes
checking for vasnprintf... no
checking whether chown honors trailing slash... yes
checking whether chown always updates ctime... yes
checking whether the preprocessor supports include_next... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inttypes.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether system is Windows or MSDOS... no
checking whether // is distinct from /... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking for working fcntl.h... yes
checking whether lstat correctly handles trailing slash... yes
checking whether unlink honors trailing slashes... yes
checking whether unlink of a parent directory fails is it should... guessing yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking whether getcwd is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking whether getopt_clip is declared... no
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether stdint.h conforms to C99... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking whether imaxabs is declared... yes
checking whether imaxdiv is declared... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking for C/C++ restrict keyword... __restrict
checking whether memrchr is declared... yes
checking for ssize_t... yes
checking for wchar_t... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether strdup is declared... yes
checking for working strerror function... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking for wint_t... yes
checking for size_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether <wchar.h> uses 'inline' correctly... yes
checking for alloca as a compiler built-in... yes
checking whether this system has an arbitrary file name length limit... yes
checking for d_ino member in directory struct... yes
checking for d_type member in directory struct... yes
checking whether alphasort is declared without a macro... yes
checking whether dirfd is declared without a macro... yes
checking whether fdopendir is declared without a macro... yes
checking whether scandir is declared without a macro... yes
checking for dirfd... yes
checking whether dirfd is declared... (cached) yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fcntl is declared without a macro... yes
checking whether openat is declared without a macro... yes
checking whether fdopendir is declared... (cached) yes
checking whether fdopendir works... yes
checking for fchmodat... yes
checking for fstatat... yes
checking for mkdirat... yes
checking for openat... yes
checking for unlinkat... yes
checking for fchownat... yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... yes
checking for struct statfs.f_type... yes
checking whether getcwd handles long file names properly... no, but it is partly working
checking for getpagesize... yes
checking whether getcwd aborts when 4k < cwd_length < 16k... no
checking whether the compiler generally respects inline... yes
checking whether inttypes.h conforms to C99... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether imaxabs is declared without a macro... yes
checking whether imaxdiv is declared without a macro... yes
checking whether strtoimax is declared without a macro... yes
checking whether strtoumax is declared without a macro... yes
checking for lchown... yes
checking for mempcpy... yes
checking for memrchr... yes
checking whether mkdir handles trailing slash... yes
checking whether mkdir handles trailing dot... yes
checking whether open recognizes a trailing slash... yes
checking for fchmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether stdint.h conforms to C99... (cached) yes
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... no
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... yes
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking for random.h... no
checking for struct random_data... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... yes
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking whether waitpid is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking whether unlink honors trailing slashes... (cached) yes
checking whether unlink of a parent directory fails is it should... (cached) guessing yes
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking for stdint.h... (cached) yes
checking for ocamlc... ocamlc
OCaml version is 3.12.0
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking for perldoc... perldoc
checking for yum... no
checking for rpm... no
checking for yumdownloader... no
checking for aptitude... aptitude
checking for dpkg... dpkg
checking for pacman... no
checking for insmod.static... /sbin/insmod.static
checking for mke2fs... /sbin/mke2fs
checking for error_message in -lcom_err... yes
checking for ext2fs_file_open2 in -lext2fs... yes
checking ext2fs/ext2fs.h usability... yes
checking ext2fs/ext2fs.h presence... yes
checking for ext2fs/ext2fs.h... yes
configure: creating ./config.status
config.status: creating config.ml
config.status: creating debian/changelog
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating helper/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
+ make
rm -f .depend .depend-t
ocamlfind ocamldep config.ml febootstrap_utils.mli febootstrap_utils.ml febootstrap_cmdline.mli febootstrap_cmdline.ml febootstrap_package_handlers.mli febootstrap_package_handlers.ml febootstrap_yum_rpm.ml febootstrap_debian.ml febootstrap_pacman.ml febootstrap.ml > .depend-t
mv .depend-t .depend
cd . && automake --foreign --add-missing --foreign Makefile
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
make all-recursive
make[1]: Entering directory `/home/rjones/d/febootstrap'
Making all in lib
make[2]: Entering directory `/home/rjones/d/febootstrap/lib'
make all-recursive
make[3]: Entering directory `/home/rjones/d/febootstrap/lib'
make[4]: Entering directory `/home/rjones/d/febootstrap/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[3]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[2]: Leaving directory `/home/rjones/d/febootstrap/lib'
Making all in helper
make[2]: Entering directory `/home/rjones/d/febootstrap/helper'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rjones/d/febootstrap/helper'
make[2]: Entering directory `/home/rjones/d/febootstrap'
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c config.ml -o config.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_cmdline.ml -o febootstrap_cmdline.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_package_handlers.ml -o febootstrap_package_handlers.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_yum_rpm.ml -o febootstrap_yum_rpm.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_debian.ml -o febootstrap_debian.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_pacman.ml -o febootstrap_pacman.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap.ml -o febootstrap.cmx
ocamlfind opt -warn-error CDEFLMPSUVXYZ -package unix,str -linkpkg \
config.cmx febootstrap_utils.cmx febootstrap_cmdline.cmx febootstrap_package_handlers.cmx febootstrap_yum_rpm.cmx febootstrap_debian.cmx febootstrap_pacman.cmx febootstrap.cmx -o febootstrap
make[2]: Leaving directory `/home/rjones/d/febootstrap'
make[1]: Leaving directory `/home/rjones/d/febootstrap'
+ make check
Making check in lib
make[1]: Entering directory `/home/rjones/d/febootstrap/lib'
make check-recursive
make[2]: Entering directory `/home/rjones/d/febootstrap/lib'
make[3]: Entering directory `/home/rjones/d/febootstrap/lib'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[2]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[1]: Leaving directory `/home/rjones/d/febootstrap/lib'
Making check in helper
make[1]: Entering directory `/home/rjones/d/febootstrap/helper'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/rjones/d/febootstrap/helper'
make[1]: Entering directory `/home/rjones/d/febootstrap'
make[1]: Leaving directory `/home/rjones/d/febootstrap'
+ ok
+ mail -s 'builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d' libguestfs(a)redhat.com
13 years, 5 months
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
by Richard Jones
This is an automatic message generated by the builder on
builder-debian for febootstrap. Log files from the build
follow below.
Linux builder-debian.home.annexia.org 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010 x86_64 GNU/Linux
Tue May 17 20:00:01 BST 2011
-----
+ git pull --rebase git://git.annexia.org/git/febootstrap.git master
>From git://git.annexia.org/git/febootstrap
* branch master -> FETCH_HEAD
Current branch master is up to date.
+ git clean -d -f
++ awk '{print $2}'
++ head -1
++ git log
+ gitsha=6ab9465001dfaa52edc5992ee71f2e9aecc2085d
+ ./autogen.sh
Module list with included dependencies (indented):
alloca-opt
arg-nonnull
bitrotate
c++defs
c-ctype
chdir-long
chown
cloexec
close
close-hook
cycle-check
d-ino
d-type
dev-ino
dirent
dirent-safer
dirfd
dirname-lgpl
double-slash-root
dup2
errno
error
exitfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdint
stdio
stdlib
strdup-posix
strerror
string
sys_stat
sys_wait
time
unistd
unistd-safer
unlink
vasnprintf
vasprintf
verify
warn-on-use
wchar
write
xalloc
xalloc-die
xgetcwd
xsize
xstrtol
xvasprintf
Notice from module error:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module vasprintf:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
--flag=asprintf:2:c-format --flag=vasprintf:2:c-format
Notice from module xvasprintf:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars: --flag=xasprintf:1:c-format
File list:
build-aux/arg-nonnull.h
build-aux/c++defs.h
build-aux/warn-on-use.h
lib/alloca.in.h
lib/asnprintf.c
lib/asprintf.c
lib/at-func.c
lib/basename-lgpl.c
lib/bitrotate.h
lib/c-ctype.c
lib/c-ctype.h
lib/chdir-long.c
lib/chdir-long.h
lib/chown.c
lib/cloexec.c
lib/cloexec.h
lib/close-hook.c
lib/close-hook.h
lib/close.c
lib/creat-safer.c
lib/cycle-check.c
lib/cycle-check.h
lib/dev-ino.h
lib/dirent--.h
lib/dirent-safer.h
lib/dirent.in.h
lib/dirfd.c
lib/dirname-lgpl.c
lib/dirname.h
lib/dup-safer.c
lib/dup2.c
lib/errno.in.h
lib/error.c
lib/error.h
lib/exitfail.c
lib/exitfail.h
lib/fchdir.c
lib/fchmodat.c
lib/fchown-stub.c
lib/fchownat.c
lib/fclose.c
lib/fcntl--.h
lib/fcntl-safer.h
lib/fcntl.c
lib/fcntl.in.h
lib/fd-safer.c
lib/fdopendir.c
lib/filevercmp.c
lib/filevercmp.h
lib/float+.h
lib/float.in.h
lib/fstatat.c
lib/fts-cycle.c
lib/fts.c
lib/fts_.h
lib/full-write.c
lib/full-write.h
lib/getcwd.c
lib/getdtablesize.c
lib/getopt.c
lib/getopt.in.h
lib/getopt1.c
lib/getopt_int.h
lib/gettext.h
lib/hash-pjw.c
lib/hash-pjw.h
lib/hash.c
lib/hash.h
lib/i-ring.c
lib/i-ring.h
lib/intprops.h
lib/inttypes.in.h
lib/lchown.c
lib/lstat.c
lib/malloc.c
lib/memchr.c
lib/memchr.valgrind
lib/mempcpy.c
lib/memrchr.c
lib/mkdir.c
lib/mkdirat.c
lib/open-safer.c
lib/open.c
lib/openat-die.c
lib/openat-priv.h
lib/openat-proc.c
lib/openat-safer.c
lib/openat.c
lib/openat.h
lib/opendir-safer.c
lib/pipe-safer.c
lib/printf-args.c
lib/printf-args.h
lib/printf-parse.c
lib/printf-parse.h
lib/realloc.c
lib/rmdir.c
lib/safe-read.c
lib/safe-read.h
lib/safe-write.c
lib/safe-write.h
lib/same-inode.h
lib/save-cwd.c
lib/save-cwd.h
lib/size_max.h
lib/stat.c
lib/stdarg.in.h
lib/stdbool.in.h
lib/stddef.in.h
lib/stdint.in.h
lib/stdio-write.c
lib/stdio.in.h
lib/stdlib.in.h
lib/strdup.c
lib/strerror.c
lib/string.in.h
lib/stripslash.c
lib/sys_stat.in.h
lib/sys_wait.in.h
lib/time.in.h
lib/unistd--.h
lib/unistd-safer.h
lib/unistd.in.h
lib/unlink.c
lib/unlinkat.c
lib/vasnprintf.c
lib/vasnprintf.h
lib/vasprintf.c
lib/verify.h
lib/wchar.in.h
lib/write.c
lib/xalloc-die.c
lib/xalloc.h
lib/xasprintf.c
lib/xgetcwd.c
lib/xgetcwd.h
lib/xmalloc.c
lib/xsize.h
lib/xstrtol-error.c
lib/xstrtol.c
lib/xstrtol.h
lib/xstrtoul.c
lib/xvasprintf.c
lib/xvasprintf.h
m4/00gnulib.m4
m4/alloca.m4
m4/asm-underscore.m4
m4/chdir-long.m4
m4/chown.m4
m4/cloexec.m4
m4/close.m4
m4/cycle-check.m4
m4/d-ino.m4
m4/d-type.m4
m4/dirent-safer.m4
m4/dirent_h.m4
m4/dirfd.m4
m4/dirname.m4
m4/dos.m4
m4/double-slash-root.m4
m4/dup2.m4
m4/errno_h.m4
m4/error.m4
m4/extensions.m4
m4/fchdir.m4
m4/fclose.m4
m4/fcntl-o.m4
m4/fcntl-safer.m4
m4/fcntl.m4
m4/fcntl_h.m4
m4/fdopendir.m4
m4/float_h.m4
m4/fts.m4
m4/getcwd-abort-bug.m4
m4/getcwd-path-max.m4
m4/getcwd.m4
m4/getdtablesize.m4
m4/getopt.m4
m4/gnulib-common.m4
m4/hash.m4
m4/i-ring.m4
m4/include_next.m4
m4/inline.m4
m4/intmax_t.m4
m4/inttypes-pri.m4
m4/inttypes.m4
m4/inttypes_h.m4
m4/lchown.m4
m4/longlong.m4
m4/lstat.m4
m4/malloc.m4
m4/memchr.m4
m4/mempcpy.m4
m4/memrchr.m4
m4/mkdir.m4
m4/mmap-anon.m4
m4/mode_t.m4
m4/multiarch.m4
m4/onceonly.m4
m4/open.m4
m4/openat.m4
m4/printf.m4
m4/realloc.m4
m4/rmdir.m4
m4/safe-read.m4
m4/safe-write.m4
m4/save-cwd.m4
m4/size_max.m4
m4/ssize_t.m4
m4/stat.m4
m4/stdarg.m4
m4/stdbool.m4
m4/stddef_h.m4
m4/stdint.m4
m4/stdint_h.m4
m4/stdio_h.m4
m4/stdlib_h.m4
m4/strdup.m4
m4/strerror.m4
m4/string_h.m4
m4/sys_stat_h.m4
m4/sys_wait_h.m4
m4/time_h.m4
m4/unistd-safer.m4
m4/unistd_h.m4
m4/unlink.m4
m4/vasnprintf.m4
m4/vasprintf.m4
m4/warn-on-use.m4
m4/wchar_h.m4
m4/wchar_t.m4
m4/wint_t.m4
m4/write.m4
m4/xalloc.m4
m4/xgetcwd.m4
m4/xsize.m4
m4/xstrtol.m4
m4/xvasprintf.m4
Finished.
You may need to add #include directives for the following .h files.
#include "error.h"
#include "filevercmp.h"
#include "fts_.h"
#include "full-write.h"
#include "hash-pjw.h"
#include "hash.h"
#include "xalloc.h"
#include "xstrtol.h"
#include "xvasprintf.h"
You may need to use the following Makefile variables when linking.
Use them in <program>_LDADD when linking a program, or
in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
Don't forget to
- add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
- mention "lib" in SUBDIRS in Makefile.am,
- mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
- mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
- invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC,
- invoke gl_INIT in ./configure.ac.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for function prototypes... yes
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether chown dereferences symlinks... yes
checking for chown... yes
checking for fchown... yes
checking for fdopendir... yes
checking for dup2... yes
checking for fchdir... yes
checking for fcntl... yes
checking for lchmod... no
checking for fstatfs... yes
checking for getdtablesize... yes
checking for lstat... yes
checking for mprotect... yes
checking for memchr... yes
checking for strdup... yes
checking for pipe... yes
checking for vasnprintf... no
checking whether chown honors trailing slash... yes
checking whether chown always updates ctime... yes
checking whether the preprocessor supports include_next... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inttypes.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether system is Windows or MSDOS... no
checking whether // is distinct from /... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking for working fcntl.h... yes
checking whether lstat correctly handles trailing slash... yes
checking whether unlink honors trailing slashes... yes
checking whether unlink of a parent directory fails is it should... guessing yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking whether getcwd is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking whether getopt_clip is declared... no
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether stdint.h conforms to C99... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking whether imaxabs is declared... yes
checking whether imaxdiv is declared... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking for C/C++ restrict keyword... __restrict
checking whether memrchr is declared... yes
checking for ssize_t... yes
checking for wchar_t... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether strdup is declared... yes
checking for working strerror function... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking for wint_t... yes
checking for size_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether <wchar.h> uses 'inline' correctly... yes
checking for alloca as a compiler built-in... yes
checking whether this system has an arbitrary file name length limit... yes
checking for d_ino member in directory struct... yes
checking for d_type member in directory struct... yes
checking whether alphasort is declared without a macro... yes
checking whether dirfd is declared without a macro... yes
checking whether fdopendir is declared without a macro... yes
checking whether scandir is declared without a macro... yes
checking for dirfd... yes
checking whether dirfd is declared... (cached) yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fcntl is declared without a macro... yes
checking whether openat is declared without a macro... yes
checking whether fdopendir is declared... (cached) yes
checking whether fdopendir works... yes
checking for fchmodat... yes
checking for fstatat... yes
checking for mkdirat... yes
checking for openat... yes
checking for unlinkat... yes
checking for fchownat... yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... yes
checking for struct statfs.f_type... yes
checking whether getcwd handles long file names properly... no, but it is partly working
checking for getpagesize... yes
checking whether getcwd aborts when 4k < cwd_length < 16k... no
checking whether the compiler generally respects inline... yes
checking whether inttypes.h conforms to C99... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether imaxabs is declared without a macro... yes
checking whether imaxdiv is declared without a macro... yes
checking whether strtoimax is declared without a macro... yes
checking whether strtoumax is declared without a macro... yes
checking for lchown... yes
checking for mempcpy... yes
checking for memrchr... yes
checking whether mkdir handles trailing slash... yes
checking whether mkdir handles trailing dot... yes
checking whether open recognizes a trailing slash... yes
checking for fchmodat... (cached) yes
checking for fstatat... (cached) yes
checking for mkdirat... (cached) yes
checking for openat... (cached) yes
checking for unlinkat... (cached) yes
checking for fchownat... (cached) yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... (cached) yes
checking whether rmdir works... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... (cached) yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether stdint.h conforms to C99... (cached) yes
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... no
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... yes
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking for random.h... no
checking for struct random_data... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... yes
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking whether waitpid is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking whether unlink honors trailing slashes... (cached) yes
checking whether unlink of a parent directory fails is it should... (cached) guessing yes
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking for stdint.h... (cached) yes
checking for ocamlc... ocamlc
OCaml version is 3.12.0
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking for perldoc... perldoc
checking for yum... no
checking for rpm... no
checking for yumdownloader... no
checking for aptitude... aptitude
checking for dpkg... dpkg
checking for pacman... no
checking for insmod.static... /sbin/insmod.static
checking for mke2fs... /sbin/mke2fs
checking for error_message in -lcom_err... yes
checking for ext2fs_file_open2 in -lext2fs... yes
checking ext2fs/ext2fs.h usability... yes
checking ext2fs/ext2fs.h presence... yes
checking for ext2fs/ext2fs.h... yes
configure: creating ./config.status
config.status: creating config.ml
config.status: creating debian/changelog
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating helper/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
+ make
rm -f .depend .depend-t
ocamlfind ocamldep config.ml febootstrap_utils.mli febootstrap_utils.ml febootstrap_cmdline.mli febootstrap_cmdline.ml febootstrap_package_handlers.mli febootstrap_package_handlers.ml febootstrap_yum_rpm.ml febootstrap_debian.ml febootstrap_pacman.ml febootstrap.ml > .depend-t
mv .depend-t .depend
cd . && automake --foreign --add-missing --foreign Makefile
cd . && /bin/sh ./config.status Makefile
config.status: creating Makefile
make all-recursive
make[1]: Entering directory `/home/rjones/d/febootstrap'
Making all in lib
make[2]: Entering directory `/home/rjones/d/febootstrap/lib'
make all-recursive
make[3]: Entering directory `/home/rjones/d/febootstrap/lib'
make[4]: Entering directory `/home/rjones/d/febootstrap/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[3]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[2]: Leaving directory `/home/rjones/d/febootstrap/lib'
Making all in helper
make[2]: Entering directory `/home/rjones/d/febootstrap/helper'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rjones/d/febootstrap/helper'
make[2]: Entering directory `/home/rjones/d/febootstrap'
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c config.ml -o config.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_cmdline.ml -o febootstrap_cmdline.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_package_handlers.ml -o febootstrap_package_handlers.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_yum_rpm.ml -o febootstrap_yum_rpm.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_debian.ml -o febootstrap_debian.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap_pacman.ml -o febootstrap_pacman.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ -package unix,str -c febootstrap.ml -o febootstrap.cmx
ocamlfind opt -warn-error CDEFLMPSUVXYZ -package unix,str -linkpkg \
config.cmx febootstrap_utils.cmx febootstrap_cmdline.cmx febootstrap_package_handlers.cmx febootstrap_yum_rpm.cmx febootstrap_debian.cmx febootstrap_pacman.cmx febootstrap.cmx -o febootstrap
make[2]: Leaving directory `/home/rjones/d/febootstrap'
make[1]: Leaving directory `/home/rjones/d/febootstrap'
+ make check
Making check in lib
make[1]: Entering directory `/home/rjones/d/febootstrap/lib'
make check-recursive
make[2]: Entering directory `/home/rjones/d/febootstrap/lib'
make[3]: Entering directory `/home/rjones/d/febootstrap/lib'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[2]: Leaving directory `/home/rjones/d/febootstrap/lib'
make[1]: Leaving directory `/home/rjones/d/febootstrap/lib'
Making check in helper
make[1]: Entering directory `/home/rjones/d/febootstrap/helper'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/rjones/d/febootstrap/helper'
make[1]: Entering directory `/home/rjones/d/febootstrap'
make[1]: Leaving directory `/home/rjones/d/febootstrap'
+ ok
+ mail -s 'builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d' libguestfs(a)redhat.com
13 years, 5 months