Bug 781374
| Summary: | libvirt 0.9.9 doesn't build on OpenBSD 5.0-current (i386) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | jirib <jirib> | ||||
| Component: | libvirt | Assignee: | Eric Blake <eblake> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | berrange, clalancette, crobinso, dallan, dougsland, itamar, jasper, jbelka, jforbes, laine, libvirt-maint, veillard, virt-maint, xen-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Other | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-11-05 17:34:01 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Looks like we've hit a problem with GNULIB here. test with latest snapshot - 12:47 CET
Script started on Fri Jan 13 12:42:37 2012
# export CPPFLAGS="-I/usr/include -I/usr/local/include" ; export LDFLAGS="-L/usr/lib -L/usr/local/lib" ; ./configure --localstatedir=/var --enable-debug=no --without-python --wir/local/lib" ; ./configure --localstatedir=/var --enable-debug=no --without-python --wi <thout-sasl --without-avahi --without-esx --without-libssh2 --without-libvirtd --without-neout-sasl --without-avahi --without-esx --without-libssh2 --without-libvirtd --without-ne <twork --without-avahi --without-esx --without-libssh2 --without-libvirtd --without-networwork --without-avahi --without-esx --without-libssh2 --without-libvirtd --without-networ <k --without-polkit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i386-unknown-openbsd5.0
checking host system type... i386-unknown-openbsd5.0
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
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 for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
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 inline... inline
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking spawn.h usability... no
checking spawn.h presence... no
checking for spawn.h... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether <sys/socket.h> is self-contained... no
checking for struct sockaddr_storage... yes
checking for sa_family_t... yes
checking for struct sockaddr_storage.ss_family... yes
checking for working alloca.h... no
checking for alloca... yes
checking for C/C++ restrict keyword... __restrict
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for canonicalize_file_name... no
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for readlinkat... yes
checking for chown... yes
checking for fchown... yes
checking for _set_invalid_parameter_handler... no
checking for fcntl... yes
checking for symlink... yes
checking for ffs... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... no
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for fpurge... yes
checking for __fpurge... no
checking for __freading... no
checking for fsync... yes
checking for getdelim... no
checking for getdtablesize... yes
checking for __fsetlocking... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for mkstemp... yes
checking for mkstemps... yes
checking for alarm... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for strerror_r... yes
checking for __xpg_strerror_r... no
checking for pipe... yes
checking for pipe2... no
checking for posix_openpt... no
checking for pthread_sigmask... no
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for sleep... yes
checking for snprintf... yes
checking for strdup... yes
checking for catgets... yes
checking for strndup... yes
checking for strptime... yes
checking for localtime_r... yes
checking for timegm... yes
checking for usleep... yes
checking for vasnprintf... no
checking for iswcntrl... yes
checking for getegid... yes
checking for ftruncate... yes
checking for newlocale... no
checking for getgrouplist... yes
checking for socketpair... yes
checking for posix_spawn... no
checking for ptsname_r... no
checking for setenv... yes
checking for shutdown... yes
checking for wcrtomb... yes
checking for wctob... yes
checking for cfmakeraw... yes
checking for geteuid... yes
checking for getgid... yes
checking for getgrnam_r... yes
checking for getmntent_r... no
checking for getpwuid_r... yes
checking for getuid... yes
checking for initgroups... yes
checking for kill... yes
checking for mmap... yes
checking for posix_fallocate... no
checking for posix_memalign... yes
checking for regexec... yes
checking for sched_getaffinity... no
checking whether // is distinct from /... no
checking whether realpath works... no
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 whether chown honors trailing slash... yes
checking whether chown always updates ctime... no
checking for unsigned long long int... yes
checking whether byte ordering is bigendian... no
checking if environ is properly declared... no
checking for complete errno.h... no
checking for EMULTIHOP value... no
checking for ENOLINK value... no
checking for EOVERFLOW value... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking for pid_t... yes
checking for mode_t... yes
checking whether fdatasync is declared... no
checking for mbstate_t... yes
checking whether stdin defaults to large file offsets... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... no
checking whether ftello is declared... yes
checking for ftello... yes
checking whether ftello works... yes
checking for library containing gethostbyname... none required
checking for gethostbyname... yes
checking for library containing getservbyname... none required
checking for getservbyname... yes
checking for library containing inet_ntop... none required
checking whether inet_ntop is declared... yes
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking whether getdelim is declared... no
checking whether getline is declared... no
checking whether getpass is declared... yes
checking whether fflush_unlocked is declared... no
checking whether flockfile is declared... yes
checking whether fputs_unlocked is declared... no
checking whether funlockfile is declared... yes
checking whether putc_unlocked is declared... yes
checking for struct timeval... yes
checking for nl_langinfo and CODESET... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for long long int... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking for a traditional french locale... none
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for promoted mode_t type... mode_t
checking for library containing forkpty... -lutil
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking whether strerror(0) succeeds... no
checking whether strerror_r is declared... yes
checking for external symbol _system_configuration... no
checking for library containing setsockopt... none needed
checking whether imported symbols can be declared weak... yes
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... (cached) yes
checking for multithread API to use... posix
checking for sigset_t... yes
checking for SIGPIPE... yes
checking whether <sys/select.h> is self-contained... no
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking whether stdint.h conforms to C99... yes
checking whether strdup is declared... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking for struct tm.tm_gmtoff... yes
checking whether strtok_r is declared... yes
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether localtime_r is declared... yes
checking whether ttyname_r is declared... 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 where to find the exponent in a 'double'... word 1 bit 20
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... no
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether strerror_r is declared... (cached) yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... no
checking for sig_atomic_t... yes
checking whether ungetc works on arbitrary bytes... yes
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether alarm is declared... yes
checking whether setenv is declared... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether unsetenv is declared... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking whether fflush works on input streams... (cached) no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... yes
checking for fdatasync... no
checking whether fflush works on input streams... (cached) no
checking whether conversion from 'int' to 'long double' works... yes
checking for working POSIX fnmatch... yes
checking whether fpurge is declared... yes
checking whether fpurge works... no
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) no
checking for ftello... (cached) yes
checking whether ftello works... (cached) yes
checking whether __func__ is available... yes
configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo
checking for library containing getaddrinfo... none required
checking for getaddrinfo... yes
checking whether gai_strerror is declared... yes
checking whether gai_strerrorA is declared... no
checking for gai_strerror with POSIX signature... yes
checking for struct sockaddr.sa_len... yes
checking whether getaddrinfo is declared... yes
checking whether freeaddrinfo is declared... yes
checking whether getnameinfo is declared... yes
checking for struct addrinfo... yes
checking for flockfile... yes
checking for funlockfile... yes
checking whether getc_unlocked is declared... (cached) yes
checking for gethostname... yes
checking for HOST_NAME_MAX... yes
checking for getline... no
checking for getpass... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking for library containing gethostbyname... (cached) none required
checking for gethostbyname... (cached) yes
checking for library containing inet_ntop... (cached) none required
checking whether inet_ntop is declared... (cached) yes
checking for library containing inet_pton... none required
checking whether inet_pton is declared... yes
checking for ioctl... yes
checking for ioctl with POSIX signature... no
checking whether lseek detects pipes... yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbsrtowcs works... guessing yes
checking for working mkstemp... yes
checking for working mktime... yes
checking for __mktime_internal... no
checking whether <netinet/in.h> is self-contained... no
checking for netinet/in.h... (cached) yes
checking whether open recognizes a trailing slash... yes
checking whether openpty is declared... yes
checking for const-safe openpty signature... no
checking for struct msghdr.msg_accrights... no
checking whether perror matches strerror... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/param.h... (cached) yes
checking for sys/systemcfg.h... no
checking for sys/sysctl.h... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for sysctl... yes
checking for table... no
checking for poll... yes
checking for a shell that conforms to POSIX... /bin/sh
checking for pthread_t... yes
checking for pthread_spinlock_t... no
checking for library containing pthread_join... -lpthread
checking for pthread_sigmask in -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking for raise... yes
checking for sigprocmask... yes
checking for random.h... no
checking for struct random_data... no
checking for random_r... no
checking for rawmemchr... no
checking whether readlink signature is correct... no
checking whether readlink handles trailing slash correctly... yes
checking whether select supports a 0 argument... yes
checking for library containing getservbyname... (cached) none required
checking for getservbyname... (cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for sigprocmask... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... yes
checking for working sleep... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking for library containing setsockopt... (cached) none needed
checking for socklen_t... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for working stdalign.h... no
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for stpcpy... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... yes
checking for strchrnul... no
checking for working strndup... yes
checking for working strnlen... yes
checking for strsep... yes
checking for strtok_r... yes
checking whether strtok_r works... yes
checking whether <sys/ioctl.h> declares ioctl... yes
checking whether <sys/select.h> is self-contained... (cached) no
checking whether <sys/socket.h> is self-contained... (cached) no
checking for struct sockaddr_storage... (cached) yes
checking for sa_family_t... (cached) yes
checking for struct sockaddr_storage.ss_family... (cached) yes
checking for nlink_t... yes
checking for struct utsname... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking for ttyname_r... yes
checking whether ttyname_r is compatible with its POSIX signature... yes
checking whether ttyname_r works with small buffers... yes
checking for uname... yes
checking for useconds_t... yes
checking whether usleep allows large arguments... yes
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether printf supports POSIX/XSI format strings with positions... (cached) yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for stdint.h... (cached) yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... guessing yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional french locale... (cached) none
checking for a turkish Unicode locale... none
checking for error_at_line... no
checking whether fdopen sets errno... yes
checking whether getgroups handles negative values... no
checking for getpagesize... yes
checking whether getpagesize is declared... yes
checking for grantpt... no
checking for setrlimit... yes
checking whether byte ordering is bigendian... (cached) no
checking whether byte ordering is bigendian... (cached) no
checking whether the compiler generally respects inline... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... no
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... no
checking whether locale.h conforms to POSIX:2001... yes
checking for setlocale... yes
checking for uselocale... no
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether posix_spawn_file_actions_addclose works... no
checking whether posix_spawn_file_actions_adddup2 works... no
checking whether posix_spawn_file_actions_addopen works... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for confstr... yes
checking for sched_setparam... no
checking for sched_setscheduler... no
checking for setegid... yes
checking for seteuid... yes
checking for vfork... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking for ptsname... no
checking for putenv compatible with GNU and SVID... no
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether setenv validates arguments... no
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether symlink handles trailing slash correctly... yes
checking for pthread_atfork... yes
checking for unlockpt... no
checking for revoke... yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... yes
checking for waitid... no
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether wcrtomb return value is correct... guessing yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether wctob works... guessing yes
checking whether wctob is declared... yes
checking for sched_yield in -lrt... no
checking for sched_yield in -lposix4... no
checking for uid_t in sys/types.h... (cached) yes
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for ar... (cached) ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... openbsd5.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by gcc -std=gnu99... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for how to mark DSO non-deletable at runtime... -Wl,-z -Wl,nodelete
checking for how to set DSO symbol versions... -Wl,--version-script=
checking whether -Wno-missing-field-initializers is supported... yes
checking whether -Wno-missing-field-initializers is needed... yes
checking whether compiler handles -Wall... yes
checking whether compiler handles -W... yes
checking whether compiler handles -Wformat-y2k... yes
checking whether compiler handles -Wformat-security... yes
checking whether compiler handles -Winit-self... yes
checking whether compiler handles -Wmissing-include-dirs... yes
checking whether compiler handles -Wunused... yes
checking whether compiler handles -Wunknown-pragmas... yes
checking whether compiler handles -Wstrict-aliasing... yes
checking whether compiler handles -Wshadow... yes
checking whether compiler handles -Wpointer-arith... yes
checking whether compiler handles -Wbad-function-cast... yes
checking whether compiler handles -Wcast-align... yes
checking whether compiler handles -Wwrite-strings... yes
checking whether compiler handles -Wlogical-op... no
checking whether compiler handles -Waggregate-return... yes
checking whether compiler handles -Wstrict-prototypes... yes
checking whether compiler handles -Wold-style-definition... yes
checking whether compiler handles -Wmissing-prototypes... yes
checking whether compiler handles -Wmissing-declarations... yes
checking whether compiler handles -Wmissing-noreturn... yes
checking whether compiler handles -Wmissing-format-attribute... yes
checking whether compiler handles -Wredundant-decls... yes
checking whether compiler handles -Wnested-externs... yes
checking whether compiler handles -Winline... yes
checking whether compiler handles -Winvalid-pch... yes
checking whether compiler handles -Wvolatile-register-var... yes
checking whether compiler handles -Wdisabled-optimization... yes
checking whether compiler handles -Wbuiltin-macro-redefined... no
checking whether compiler handles -Wmudflap... no
checking whether compiler handles -Wpacked-bitfield-compat... no
checking whether compiler handles -Wsync-nand... no
checking whether compiler handles -Wattributes... yes
checking whether compiler handles -Wcoverage-mismatch... no
checking whether compiler handles -Wmultichar... yes
checking whether compiler handles -Wcpp... no
checking whether compiler handles -Wdeprecated-declarations... yes
checking whether compiler handles -Wdiv-by-zero... yes
checking whether compiler handles -Wdouble-promotion... no
checking whether compiler handles -Wendif-labels... yes
checking whether compiler handles -Wextra... yes
checking whether compiler handles -Wformat-contains-nul... no
checking whether compiler handles -Wformat-extra-args... yes
checking whether compiler handles -Wformat-zero-length... yes
checking whether compiler handles -Wformat=2... yes
checking whether compiler handles -Wmultichar... (cached) yes
checking whether compiler handles -Wnormalized=nfc... yes
checking whether compiler handles -Woverflow... yes
checking whether compiler handles -Wpointer-to-int-cast... yes
checking whether compiler handles -Wpragmas... yes
checking whether compiler handles -Wsuggest-attribute=const... no
checking whether compiler handles -Wsuggest-attribute=noreturn... no
checking whether compiler handles -Wsuggest-attribute=pure... no
checking whether compiler handles -Wtrampolines... yes
checking whether compiler handles -Wno-missing-field-initializers... yes
checking whether compiler handles -Wno-sign-compare... yes
checking whether compiler handles -Wjump-misses-init... no
checking whether compiler handles -Wno-format-nonliteral... yes
checking whether compiler handles -Wframe-larger-than=4096... no
checking whether compiler handles -Wp,-D_FORTIFY_SOURCE=2... yes
checking whether compiler handles -fexceptions... yes
checking whether compiler handles -fasynchronous-unwind-tables... yes
checking whether compiler handles -fdiagnostics-show-option... yes
checking whether compiler handles -funit-at-a-time... yes
checking whether compiler handles -fipa-pure-const... yes
checking whether compiler handles -Wno-suggest-attribute=pure... no
checking whether compiler handles -Wno-suggest-attribute=const... no
checking whether compiler handles -Wno-redundant-decls... yes
checking for CPUID instruction... yes
checking size of long... 4
checking for pthread_mutexattr_init... yes
checking for clock_gettime... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for paths.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking linux/magic.h usability... no
checking linux/magic.h presence... no
checking for linux/magic.h... no
checking for sys/un.h... (cached) yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking libtasn1.h usability... yes
checking libtasn1.h presence... yes
checking for libtasn1.h... yes
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h: section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to libvir-list ##
configure: WARNING: ## ------------------------------------- ##
checking for net/if.h... no
checking for struct ifreq in net/if.h... yes
checking for gettext in -lintl... no
checking for rpcgen... /usr/bin/rpcgen
checking for xmllint... /usr/local/bin/xmllint
checking for xmlcatalog... /usr/local/bin/xmlcatalog
checking for xsltproc... /usr/bin/xsltproc
checking for augparse... /usr/bin/augparse
checking for dnsmasq... dnsmasq
checking for radvd... radvd
checking for brctl... brctl
checking for tc... tc
checking for udevadm... no
checking for udevsettle... no
checking for modprobe... no
checking for init script flavor... check
checking for ip... /sbin/ip
checking for iptables... /sbin/iptables
checking for ip6tables... /sbin/ip6tables
checking for ebtables... /sbin/ebtables
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... none required
checking for xdr_u_int64_t... yes
checking where to find <rpc/rpc.h>... none
checking for dlfcn.h... (cached) yes
checking for library containing dlopen... none required
checking for xen_vm_start in -lxenserver... no
checking for libxl_domain_create_new in -lxenlight... no
checking for xs_read in -lxenstore... no
checking linux/kvm.h usability... no
checking linux/kvm.h presence... no
checking for linux/kvm.h... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for struct _xmlURI.query_raw... yes
checking for GNUTLS... yes
checking yajl/yajl_common.h usability... no
checking yajl/yajl_common.h presence... no
checking for yajl/yajl_common.h... no
checking sanlock.h usability... no
checking sanlock.h presence... no
checking for sanlock.h... no
checking libaudit.h usability... no
checking libaudit.h presence... no
checking for libaudit.h... no
checking for audit_encode_nv_string in -laudit... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking for fgetfilecon in -lselinux... no
checking sys/apparmor.h usability... no
checking sys/apparmor.h presence... no
checking for sys/apparmor.h... no
checking for aa_change_profile in -lapparmor... no
checking for aa_change_hat in -lapparmor... no
checking for LIBSSH2... no
configure: libssh2 is required for Phyp driver, disabling it
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for readline in -lreadline... no
checking for library containing tgetent... -lncurses
checking for rl_initialize in -lreadline... yes
checking for OPENWSMAN... no
configure: openwsman is required for the Hyper-V driver, disabling it
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so.6.0
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so.5.0 /usr/local/lib/libiconv.so.6.0
checking for BLKID... no
checking whether to compile with macvtap support... no
checking whether this build is done by a static analysis tool... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating docs/schemas/Makefile
config.status: creating gnulib/lib/Makefile
config.status: creating gnulib/tests/Makefile
config.status: creating libvirt.pc
config.status: creating libvirt.spec
config.status: creating mingw32-libvirt.spec
config.status: creating po/Makefile.in
config.status: creating include/libvirt/Makefile
config.status: creating include/libvirt/libvirt.h
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating daemon/Makefile
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating examples/apparmor/Makefile
config.status: creating examples/domain-events/events-c/Makefile
config.status: creating examples/domsuspend/Makefile
config.status: creating examples/dominfo/Makefile
config.status: creating examples/openauth/Makefile
config.status: creating examples/python/Makefile
config.status: creating examples/hellolibvirt/Makefile
config.status: creating examples/systemtap/Makefile
config.status: creating examples/xml/nwfilter/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure:
configure: Configuration summary
configure: =====================
configure:
configure: Drivers
configure:
configure: Xen: no
configure: QEMU: no
configure: UML: no
configure: OpenVZ: no
configure: VMware: yes
configure: VBox: yes
configure: XenAPI: no
configure: xenlight: no
configure: LXC: no
configure: PHYP: no
configure: ESX: no
configure: Hyper-V: no
configure: Test: yes
configure: Remote: yes
configure: Network: no
configure: Libvirtd: no
configure: netcf: no
configure: macvtap: no
configure: virtport: no
configure:
configure: Storage Drivers
configure:
configure: Dir: no
configure: FS: no
configure: NetFS: no
configure: LVM: no
configure: iSCSI: no
configure: SCSI: no
configure: mpath: no
configure: Disk: no
configure:
configure: Security Drivers
configure:
configure: SELinux: no
configure: AppArmor: no
configure:
configure: Driver Loadable Modules
configure:
configure: dlopen: no
configure:
configure: Libraries
configure:
configure: libxml: -I/usr/local/include/libxml2 -I/usr/local/include -L/usr/local/lib -lxml2
configure: dlopen:
configure: libcurl: no
configure: openwsman: no
configure: libssh2: no
configure: gnutls: -I/usr/local/include -pthread -I/usr/local/include/p11-kit-1 -L/usr/local/lib -pthread -lgnutls -lgcrypt
configure: sasl: no
configure: yajl: no
configure: sanlock: no
configure: avahi: no
configure: polkit: no
configure: audit: no
configure: selinux: no
configure: apparmor: no
configure: numactl: no
configure: capng: no
configure: xen: no
configure: xenapi: no
configure: xenlight: no
configure: hal: no
configure: udev: no
configure: netcf: no
configure: pcap: no
configure: nl: no
configure: mscom: no
configure: xdr:
configure:
configure: Test suite
configure:
configure: Coverage: no
configure: Alloc OOM: no
configure:
configure: Miscellaneous
configure:
configure: Debug: no
configure: Warnings: maximum
configure: Warning Flags: -Wall -W -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wvolatile-register-var -Wdisabled-optimization -Wattributes -Wmultichar -Wdeprecated-declarations -Wdiv-by-zero -Wendif-labels -Wextra -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar -Wnormalized=nfc -Woverflow -Wpointer-to-int-cast -Wpragmas -Wtrampolines -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-nonliteral -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const
configure: Readline: yes
configure: Python: no
configure: DTrace: no
configure: XML Catalog: /etc/xml/catalog
configure: Init script: check
configure:
configure: Privileges
configure:
configure: QEMU: root:root
configure:
# gmake
gmake all-recursive
gmake[1]: Entering directory `/home/libvirt-0.9.9'
Making all in gnulib/lib
gmake[2]: Entering directory `/home/libvirt-0.9.9/gnulib/lib'
GEN alloca.h
GEN c++defs.h
GEN warn-on-use.h
GEN arg-nonnull.h
GEN arpa/inet.h
GEN byteswap.h
GEN configmake.h
mv -f configmake.h-t configmake.h
GEN errno.h
GEN fcntl.h
GEN float.h
GEN netdb.h
GEN netinet/in.h
GEN poll.h
GEN pthread.h
GEN pty.h
GEN signal.h
GEN stdalign.h
GEN stdio.h
GEN stdlib.h
GEN string.h
GEN strings.h
GEN sys/ioctl.h
GEN sys/select.h
GEN sys/socket.h
GEN sys/stat.h
GEN sys/time.h
GEN sys/types.h
GEN sys/uio.h
GEN sys/utsname.h
GEN sys/wait.h
GEN termios.h
GEN time.h
GEN unistd.h
GEN wchar.h
GEN wctype.h
gmake all-am
gmake[3]: Entering directory `/home/libvirt-0.9.9/gnulib/lib'
CC allocator.lo
In file included from ./unistd.h:44,
from ./stdlib.h:90,
from ./pthread.h:38,
from ./signal.h:65,
from ./sys/select.h:58,
from /usr/include/sys/types.h:224,
from ./sys/types.h:28,
from /usr/include/stdlib.h:41,
from ./stdlib.h:35,
from allocator.c:4:
/usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set'
/usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set'
/usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set'
In file included from ./sys/select.h:81,
from /usr/include/sys/types.h:224,
from ./sys/types.h:28,
from /usr/include/stdlib.h:41,
from ./stdlib.h:35,
from allocator.c:4:
/usr/include/sys/select.h:91: error: conflicting types for 'select'
/usr/include/unistd.h:255: error: previous declaration of 'select' was here
gmake[3]: *** [allocator.lo] Error 1
gmake[3]: Leaving directory `/home/libvirt-0.9.9/gnulib/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/libvirt-0.9.9/gnulib/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/libvirt-0.9.9'
gmake: *** [all] Error 2
# exit
Script done on Fri Jan 13 12:45:38 2012
OpenBSD guys corrected typo in unistd.h http://article.gmane.org/gmane.os.openbsd.cvs/110114 now the error is: GEN alloca.h GEN c++defs.h GEN warn-on-use.h GEN arg-nonnull.h GEN arpa/inet.h GEN byteswap.h GEN configmake.h mv -f configmake.h-t configmake.h GEN errno.h GEN fcntl.h GEN float.h GEN netdb.h GEN netinet/in.h GEN poll.h GEN pthread.h GEN pty.h GEN signal.h GEN stdalign.h GEN stdio.h GEN stdlib.h GEN string.h GEN strings.h GEN sys/ioctl.h GEN sys/select.h GEN sys/socket.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN sys/uio.h GEN sys/utsname.h GEN sys/wait.h GEN termios.h GEN time.h GEN unistd.h GEN wchar.h GEN wctype.h gmake all-am gmake[1]: Entering directory `/home/libvirt-0.9.9/gnulib/lib' CC allocator.lo In file included from ./unistd.h:44, from ./stdlib.h:90, from ./pthread.h:38, from ./signal.h:65, from ./sys/select.h:58, from /usr/include/sys/types.h:224, from ./sys/types.h:28, from /usr/include/stdlib.h:41, from ./stdlib.h:35, from allocator.c:4: /usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set' /usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set' /usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set' gmake[1]: *** [allocator.lo] Error 1 gmake[1]: Leaving directory `/home/libvirt-0.9.9/gnulib/lib' gmake: *** [all] Error 2 An OpenBSD guy said the header are in bad order... http://article.gmane.org/gmane.os.openbsd.ports/53120 (In reply to comment #4) > An OpenBSD guy said the header are in bad order... > > http://article.gmane.org/gmane.os.openbsd.ports/53120 If you make that modification, does it build? POSIX requires that <unistd.h> be idempotent (that is, that you can include it prior to <sys/select.h> without ramifications). Gnulib should be able to work around these particular OpenBSD header flaws; I'll see about getting that done in gnulib. I'm also in the process of installing an OpenBSD VM so that I can try and reproduce these types of issues myself rather than tracking the BZ traffic. I think bugs like this would be better filed under "Virtualization Tools/libvirt" rather than "Fedora/libvirt". (When filing a new bug, you can find that category by selecting "Community" from the initial screen). (For that matter, a problem like this is often solved more quickly by email to libvir-list). I'm moving this bug to the Virtualization Tools category; if anyone else has a better idea, feel free to move it again. (also, for something as long as the configure output, making an attachment rather than putting it inline may make for easier reading of the history). Can you please post your compilation failures to bug-gnulib, so that we can get others to help out in resolving how best gnulib should work around the OpenBSD header situation? (In reply to comment #6) > POSIX requires that <unistd.h> be idempotent (that is, that you can include it > prior to <sys/select.h> without ramifications). Gnulib should be able to work > around these particular OpenBSD header flaws; I'll see about getting that done > in gnulib. I'm also in the process of installing an OpenBSD VM so that I can > try and reproduce these types of issues myself rather than tracking the BZ > traffic. "The man page for select from Debian linux ..... /* According to POSIX.1-2001 */ #include <sys/select.h> /* According to earlier standards */ #include <sys/time.h> #include <sys/types.h> #include <unistd.h> ..... That suggests you either use <sys/select.h> or <unistd.h> not both together. If <sys/select.h> is first then they could coexist." Created attachment 555344 [details]
build.log from libvirt hourly snapshot - Jan 15th cca 11am (UTC)
(In reply to comment #9) > (In reply to comment #6) > > POSIX requires that <unistd.h> be idempotent (that is, that you can include it > > prior to <sys/select.h> without ramifications). Gnulib should be able to work > > around these particular OpenBSD header flaws; I'll see about getting that done > > in gnulib. I'm also in the process of installing an OpenBSD VM so that I can > > try and reproduce these types of issues myself rather than tracking the BZ > > traffic. > > "The man page for select from Debian linux > ..... > /* According to POSIX.1-2001 */ Somewhat outdated information. We are now at POSIX 2008, which had specific changes from POSIX 2001 to require <unistd.h> and <sys/select.h> to be idempotent and includeable in either order (in fact, this change was made for most of the standard headers). That said, gnulib has worked around this on other platforms, and if you follow up to Bruno's request: https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00231.html we should have enough information to fix things in spite of OpenBSD not being at POSIX 2008 yet. Is this still an issue with libvirt 0.9.11-rc1? https://www.redhat.com/archives/libvir-list/2012-March/msg01086.html Still problem in gnulib subdir
...
gmake[3]: Entering directory `/tmp/libvirt-0.9.11/gnulib/lib'
CC allocator.lo
CC areadlink.lo
CC base64.lo
CC c-ctype.lo
CC c-strcasecmp.lo
CC c-strncasecmp.lo
CC c-strcasestr.lo
CC careadlinkat.lo
CC cloexec.lo
CC md5.lo
CC dirname-lgpl.lo
CC basename-lgpl.lo
CC stripslash.lo
CC fd-hook.lo
CC freading.lo
CC localcharset.lo
CC lock.lo
CC malloca.lo
CC nonblocking.lo
CC passfd.lo
CC physmem.lo
In file included from ./unistd.h:43,
from physmem.c:25:
/usr/include/unistd.h:160: error: conflicting types for 'rpl_readlink'
./unistd.h:1547: error: previous declaration of 'rpl_readlink' was here
gmake[3]: *** [physmem.lo] Error 1
gmake[3]: Leaving directory `/tmp/libvirt-0.9.11/gnulib/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/libvirt-0.9.11/gnulib/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/libvirt-0.9.11'
gmake: *** [all] Error 2
gmake V=1
gmake all-am
gmake[1]: Entering directory `/tmp/libvirt-0.9.11/gnulib/lib'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -I/usr/local/include -g -O2 -MT physmem.lo -MD -MP -MF .deps/physmem.Tpo -c -o physmem.lo physmem.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -I/usr/local/include -g -O2 -MT physmem.lo -MD -MP -MF .deps/physmem.Tpo -c physmem.c -fPIC -DPIC -o .libs/physmem.o
In file included from ./unistd.h:43,
from physmem.c:25:
/usr/include/unistd.h:160: error: conflicting types for 'rpl_readlink'
./unistd.h:1547: error: previous declaration of 'rpl_readlink' was here
gmake[1]: *** [physmem.lo] Error 1
gmake[1]: Leaving directory `/tmp/libvirt-0.9.11/gnulib/lib'
gmake: *** [all] Error 2
Debug from
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -I/usr/local/include -g -O2 -MT physmem.lo -MD -MP -MF .deps/physmem.Tpo -fPIC -DPIC -E > physmem.i physmem.c
saved at:
http://pastebin.com/FXPAGdLu
libvirt 0.10.1 does build on OpenBSD -current although several patches are needed. I will submit them this week. Please close this bug, jasper@ made libvirt working on OpenBSD. http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/libvirt/ Done; thanks for letting us know (and to Jasper for the patches) |
Description of problem: libvirt 0.9.9 doesn't build on OpenBSD 5.0-current (i386), although libvirt 0.8.6 was built successfully in the past. Version-Release number of selected component (if applicable): 0.9.9 How reproducible: Always. Steps to Reproduce: 1. Install OpenBSD 5.0-current (i386) from latest snapshot 2. Prior building some of these packages are necessary - autoconf-2.65 bzip2-1.0.6 curl-7.23.1 cyrus-sasl-2.1.25p1 db-4.6.21v0 gdbm-1.8.3p0 gettext-0.18.1p0 gmake-3.82 gmp-5.0.2p0 gnutls-2.12.14p0 gperf-3.0.4 groff-1.21p6 help2man-1.29p0 libffi-3.0.9 libgcrypt-1.4.6p1 libgpg-error-1.10 libiconv-1.14 libidn-1.22 libnettle-2.4 libsigsegv-2.8 libtasn1-2.9 libxml-2.7.8p3 lzo2-2.06 m4-1.4.16 metaauto-1.0 p11-kit-0.9 pb-0.1.0p3 python-2.7.1p12 sqlite3-3.7.9p0 tcl-8.5.11p0 tk-8.5.11 unzip-6.0p0 3. Build with - export CPPFLAGS="-I/usr/include -I/usr/local/include" ; export LDFLAGS="-L/usr/lib -L/usr/local/lib" ; ./configure --localstatedir=/var --enable-debug=no --without-python --without-sasl --without-avahi --without-esx --without-libssh2 --without-libvirtd --without-network --withohout-avahi --without-esx --without-libssh2 --without-libvirtd --without-network --witho Actual results: Working libvirt client. Expected results: # export CPPFLAGS="-I/usr/include -I/usr/local/include" # export LDFLAGS="-L/usr/lib -Lusr/ /usr/local/lib" # ./configure --localstatedir=/var --enable-debug=no --without-python --without-sasl --without-avahi --without-esx --without-libssh2 --without-libvirtd --without-network --withohout-avahi --without-esx --without-libssh2 --without-libvirtd --without-network --witho <ut-polkit --without-phyp --without-qemu --without-openvz --without-vbox checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to disable maintainer-specific portions of Makefiles... yes checking build system type... i386-unknown-openbsd5.0 checking host system type... i386-unknown-openbsd5.0 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes 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 for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no 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 inline... inline checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stdio_ext.h usability... no checking stdio_ext.h presence... no checking for stdio_ext.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking pty.h usability... no checking pty.h presence... no checking for pty.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking stdalign.h usability... no checking stdalign.h presence... no checking for stdalign.h... no checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking spawn.h usability... no checking spawn.h presence... no checking for spawn.h... no checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking whether <sys/socket.h> is self-contained... no checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking for C/C++ restrict keyword... __restrict checking whether malloc, realloc, calloc are POSIX compliant... yes checking for canonicalize_file_name... no checking for getcwd... yes checking for readlink... yes checking for realpath... yes checking for readlinkat... yes checking for chown... yes checking for fchown... yes checking for _set_invalid_parameter_handler... no checking for fcntl... yes checking for symlink... yes checking for ffs... yes checking for btowc... yes checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for mempcpy... no checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... no checking for fpurge... yes checking for __fpurge... no checking for __freading... no checking for fsync... yes checking for getdelim... no checking for getdtablesize... yes checking for __fsetlocking... no checking for tcgetattr... yes checking for tcsetattr... yes checking for gettimeofday... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for mkstemp... yes checking for mkstemps... yes checking for alarm... yes checking for recvmsg... yes checking for sendmsg... yes checking for strerror_r... yes checking for __xpg_strerror_r... no checking for pipe... yes checking for pipe2... no checking for posix_openpt... no checking for pthread_sigmask... no checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for sleep... yes checking for snprintf... yes checking for strdup... yes checking for catgets... yes checking for strndup... yes checking for strptime... yes checking for localtime_r... yes checking for timegm... yes checking for usleep... yes checking for vasnprintf... no checking for iswcntrl... yes checking for getegid... yes checking for ftruncate... yes checking for newlocale... no checking for getgrouplist... yes checking for socketpair... yes checking for posix_spawn... no checking for ptsname_r... no checking for setenv... yes checking for shutdown... yes checking for wcrtomb... yes checking for wctob... yes checking for cfmakeraw... yes checking for geteuid... yes checking for getgid... yes checking for getgrnam_r... yes checking for getmntent_r... no checking for getpwuid_r... yes checking for getuid... yes checking for initgroups... yes checking for kill... yes checking for mmap... yes checking for posix_fallocate... no checking for posix_memalign... yes checking for regexec... yes checking for sched_getaffinity... no checking whether // is distinct from /... no checking whether realpath works... no 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 whether chown honors trailing slash... yes checking whether chown always updates ctime... no checking for unsigned long long int... yes checking whether byte ordering is bigendian... no checking if environ is properly declared... no checking for complete errno.h... no checking for EMULTIHOP value... no checking for ENOLINK value... no checking for EOVERFLOW value... yes checking for working fcntl.h... no (bad O_NOATIME) checking for pid_t... yes checking for mode_t... yes checking whether fdatasync is declared... no checking for mbstate_t... yes checking whether stdin defaults to large file offsets... yes checking whether fseeko is declared... yes checking for fseeko... yes checking whether fflush works on input streams... no checking whether ftello is declared... yes checking for ftello... yes checking whether ftello works... yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing getservbyname... none required checking for getservbyname... yes checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking whether getcwd (NULL, 0) allocates memory for result... yes checking for getcwd with POSIX signature... yes checking whether getdelim is declared... no checking whether getline is declared... no checking whether getpass is declared... yes checking whether fflush_unlocked is declared... no checking whether flockfile is declared... yes checking whether fputs_unlocked is declared... no checking whether funlockfile is declared... yes checking whether putc_unlocked is declared... yes checking for struct timeval... yes checking for nl_langinfo and CODESET... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library 2.1 or newer... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking for pthread.h... (cached) yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking for multithread API to use... posix checking whether lstat correctly handles trailing slash... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for long long int... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for a traditional french locale... none checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether C symbols are prefixed with underscore at the linker level... no checking for promoted mode_t type... mode_t checking for library containing forkpty... -lutil checking util.h usability... yes checking util.h presence... yes checking for util.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking whether strerror(0) succeeds... no checking whether strerror_r is declared... yes checking for external symbol _system_configuration... no checking for library containing setsockopt... none needed checking whether imported symbols can be declared weak... yes checking for pthread.h... (cached) yes checking for pthread_kill in -lpthread... (cached) yes checking for multithread API to use... posix checking for sigset_t... yes checking for SIGPIPE... yes checking whether <sys/select.h> is self-contained... no checking whether snprintf returns a byte count as in C99... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking whether stdint.h conforms to C99... yes checking whether strdup is declared... yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking for struct tm.tm_gmtoff... yes checking whether strtok_r is declared... yes checking whether stat file-mode macros are broken... no checking for struct timespec in <time.h>... yes checking whether localtime_r is declared... yes checking whether ttyname_r is declared... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... no checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking whether <wchar.h> uses 'inline' correctly... yes checking whether strerror_r is declared... (cached) yes checking for strerror_r... (cached) yes checking whether strerror_r returns char *... no checking for sig_atomic_t... yes checking whether ungetc works on arbitrary bytes... yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether alarm is declared... yes checking whether setenv is declared... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking whether unsetenv is declared... yes checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking whether fflush works on input streams... (cached) no checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... yes checking for fdatasync... no checking whether fflush works on input streams... (cached) no checking whether conversion from 'int' to 'long double' works... yes checking for working POSIX fnmatch... yes checking whether fpurge is declared... yes checking whether fpurge works... no checking for fseeko... (cached) yes checking whether fflush works on input streams... (cached) no checking for ftello... (cached) yes checking whether ftello works... (cached) yes checking whether __func__ is available... yes configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking whether gai_strerror is declared... yes checking whether gai_strerrorA is declared... no checking for gai_strerror with POSIX signature... yes checking for struct sockaddr.sa_len... yes checking whether getaddrinfo is declared... yes checking whether freeaddrinfo is declared... yes checking whether getnameinfo is declared... yes checking for struct addrinfo... yes checking for flockfile... yes checking for funlockfile... yes checking whether getc_unlocked is declared... (cached) yes checking for gethostname... yes checking for HOST_NAME_MAX... yes checking for getline... no checking for getpass... yes checking whether gettimeofday clobbers localtime buffer... no checking for gettimeofday with POSIX signature... almost checking for library containing gethostbyname... (cached) none required checking for gethostbyname... (cached) yes checking for library containing inet_ntop... (cached) none required checking whether inet_ntop is declared... (cached) yes checking for library containing inet_pton... none required checking whether inet_pton is declared... yes checking for ioctl... yes checking for ioctl with POSIX signature... no checking whether lseek detects pipes... yes checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbsrtowcs works... guessing yes checking for working mkstemp... yes checking for working mktime... yes checking for __mktime_internal... no checking whether <netinet/in.h> is self-contained... no checking for netinet/in.h... (cached) yes checking whether open recognizes a trailing slash... yes checking whether openpty is declared... yes checking for const-safe openpty signature... no checking for struct msghdr.msg_accrights... no checking whether perror matches strerror... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/param.h... (cached) yes checking for sys/systemcfg.h... no checking for sys/sysctl.h... yes checking for pstat_getstatic... no checking for pstat_getdynamic... no checking for sysmp... no checking for getsysinfo... no checking for sysctl... yes checking for table... no checking for poll... yes checking for a shell that conforms to POSIX... /bin/sh checking for pthread_t... yes checking for pthread_spinlock_t... no checking for library containing pthread_join... -lpthread checking for pthread_sigmask in -lpthread... yes checking whether pthread_sigmask returns error numbers... yes checking whether pthread_sigmask unblocks signals correctly... guessing yes checking for raise... yes checking for sigprocmask... yes checking for random.h... no checking for struct random_data... no checking for random_r... no checking for rawmemchr... no checking whether readlink signature is correct... no checking whether readlink handles trailing slash correctly... yes checking whether select supports a 0 argument... yes checking for library containing getservbyname... (cached) none required checking for getservbyname... (cached) yes checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... no checking for sigprocmask... (cached) yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking whether sleep is declared... yes checking for working sleep... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking whether printf supports POSIX/XSI format strings with positions... yes checking for library containing setsockopt... (cached) none needed checking for socklen_t... yes checking for ssize_t... 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 for stpcpy... no checking for strcasecmp... yes checking for strncasecmp... yes checking whether strncasecmp is declared... yes checking for strchrnul... no checking for working strndup... yes checking for working strnlen... yes checking for strsep... yes checking for strtok_r... yes checking whether strtok_r works... yes checking whether <sys/ioctl.h> declares ioctl... yes checking whether <sys/select.h> is self-contained... (cached) no checking whether <sys/socket.h> is self-contained... (cached) no checking for struct sockaddr_storage... (cached) yes checking for sa_family_t... (cached) yes checking for struct sockaddr_storage.ss_family... (cached) yes checking for nlink_t... yes checking for struct utsname... yes checking whether localtime_r is compatible with its POSIX signature... yes checking for ttyname_r... yes checking whether ttyname_r is compatible with its POSIX signature... yes checking whether ttyname_r works with small buffers... yes checking for uname... yes checking for useconds_t... yes checking whether usleep allows large arguments... yes checking for ptrdiff_t... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... (cached) yes checking whether printf supports POSIX/XSI format strings with positions... (cached) yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking for stdint.h... (cached) yes checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... guessing yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional french locale... (cached) none checking for a turkish Unicode locale... none checking for error_at_line... no checking whether fdopen sets errno... yes checking whether getgroups handles negative values... no checking for getpagesize... yes checking whether getpagesize is declared... yes checking for grantpt... no checking for setrlimit... yes checking whether byte ordering is bigendian... (cached) no checking whether byte ordering is bigendian... (cached) no checking whether the compiler generally respects inline... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... no checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... no checking whether locale.h conforms to POSIX:2001... yes checking for setlocale... yes checking for uselocale... no checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for confstr... yes checking for sched_setparam... no checking for sched_setscheduler... no checking for setegid... yes checking for seteuid... yes checking for vfork... yes checking whether program_invocation_name is declared... no checking whether program_invocation_short_name is declared... no checking for ptsname... no checking for putenv compatible with GNU and SVID... no checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether setenv validates arguments... no checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for wchar_t... (cached) yes checking for wint_t... (cached) yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking whether symlink handles trailing slash correctly... yes checking for pthread_atfork... yes checking for unlockpt... no checking for revoke... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... yes checking for waitid... no checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether wcrtomb return value is correct... guessing yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking whether wctob works... guessing yes checking whether wctob is declared... yes checking for sched_yield in -lrt... no checking for sched_yield in -lposix4... no checking for uid_t in sys/types.h... (cached) yes checking how to print strings... print -r checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert i386-unknown-openbsd5.0 file names to i386-unknown-openbsd5.0 format... func_convert_file_noop checking how to convert i386-unknown-openbsd5.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... dlltool checking how to associate runtime and link libraries... print -r -- checking for archiver @FILE support... no checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd5.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by gcc -std=gnu99... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for how to mark DSO non-deletable at runtime... -Wl,-z -Wl,nodelete checking for how to set DSO symbol versions... -Wl,--version-script= checking whether -Wno-missing-field-initializers is supported... yes checking whether -Wno-missing-field-initializers is needed... yes checking whether compiler handles -Wall... yes checking whether compiler handles -W... yes checking whether compiler handles -Wformat-y2k... yes checking whether compiler handles -Wformat-security... yes checking whether compiler handles -Winit-self... yes checking whether compiler handles -Wmissing-include-dirs... yes checking whether compiler handles -Wunused... yes checking whether compiler handles -Wunknown-pragmas... yes checking whether compiler handles -Wstrict-aliasing... yes checking whether compiler handles -Wshadow... yes checking whether compiler handles -Wpointer-arith... yes checking whether compiler handles -Wbad-function-cast... yes checking whether compiler handles -Wcast-align... yes checking whether compiler handles -Wwrite-strings... yes checking whether compiler handles -Wlogical-op... no checking whether compiler handles -Waggregate-return... yes checking whether compiler handles -Wstrict-prototypes... yes checking whether compiler handles -Wold-style-definition... yes checking whether compiler handles -Wmissing-prototypes... yes checking whether compiler handles -Wmissing-declarations... yes checking whether compiler handles -Wmissing-noreturn... yes checking whether compiler handles -Wmissing-format-attribute... yes checking whether compiler handles -Wredundant-decls... yes checking whether compiler handles -Wnested-externs... yes checking whether compiler handles -Winline... yes checking whether compiler handles -Winvalid-pch... yes checking whether compiler handles -Wvolatile-register-var... yes checking whether compiler handles -Wdisabled-optimization... yes checking whether compiler handles -Wbuiltin-macro-redefined... no checking whether compiler handles -Wmudflap... no checking whether compiler handles -Wpacked-bitfield-compat... no checking whether compiler handles -Wsync-nand... no checking whether compiler handles -Wattributes... yes checking whether compiler handles -Wcoverage-mismatch... no checking whether compiler handles -Wmultichar... yes checking whether compiler handles -Wcpp... no checking whether compiler handles -Wdeprecated-declarations... yes checking whether compiler handles -Wdiv-by-zero... yes checking whether compiler handles -Wdouble-promotion... no checking whether compiler handles -Wendif-labels... yes checking whether compiler handles -Wextra... yes checking whether compiler handles -Wformat-contains-nul... no checking whether compiler handles -Wformat-extra-args... yes checking whether compiler handles -Wformat-zero-length... yes checking whether compiler handles -Wformat=2... yes checking whether compiler handles -Wmultichar... (cached) yes checking whether compiler handles -Wnormalized=nfc... yes checking whether compiler handles -Woverflow... yes checking whether compiler handles -Wpointer-to-int-cast... yes checking whether compiler handles -Wpragmas... yes checking whether compiler handles -Wsuggest-attribute=const... no checking whether compiler handles -Wsuggest-attribute=noreturn... no checking whether compiler handles -Wsuggest-attribute=pure... no checking whether compiler handles -Wtrampolines... yes checking whether compiler handles -Wno-missing-field-initializers... yes checking whether compiler handles -Wno-sign-compare... yes checking whether compiler handles -Wjump-misses-init... no checking whether compiler handles -Wno-format-nonliteral... yes checking whether compiler handles -Wframe-larger-than=4096... no checking whether compiler handles -Wp,-D_FORTIFY_SOURCE=2... yes checking whether compiler handles -fexceptions... yes checking whether compiler handles -fasynchronous-unwind-tables... yes checking whether compiler handles -fdiagnostics-show-option... yes checking whether compiler handles -funit-at-a-time... yes checking whether compiler handles -fipa-pure-const... yes checking whether compiler handles -Wno-suggest-attribute=pure... no checking whether compiler handles -Wno-suggest-attribute=const... no checking whether compiler handles -Wno-redundant-decls... yes checking for CPUID instruction... yes checking size of long... 4 checking for pthread_mutexattr_init... yes checking for clock_gettime... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for paths.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking net/ethernet.h usability... no checking net/ethernet.h presence... no checking for net/ethernet.h... no checking linux/magic.h usability... no checking linux/magic.h presence... no checking for linux/magic.h... no checking for sys/un.h... (cached) yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking libtasn1.h usability... yes checking libtasn1.h presence... yes checking for libtasn1.h... yes checking net/if.h usability... no checking net/if.h presence... yes configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: see the Autoconf documentation configure: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure: WARNING: net/if.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------- ## configure: WARNING: ## Report this to libvir-list ## configure: WARNING: ## ------------------------------------- ## checking for net/if.h... no checking for struct ifreq in net/if.h... yes checking for gettext in -lintl... no checking for rpcgen... /usr/bin/rpcgen checking for xmllint... /usr/local/bin/xmllint checking for xmlcatalog... /usr/local/bin/xmlcatalog checking for xsltproc... /usr/bin/xsltproc checking for augparse... /usr/bin/augparse checking for dnsmasq... dnsmasq checking for radvd... radvd checking for brctl... brctl checking for tc... tc checking for udevadm... no checking for udevsettle... no checking for modprobe... no checking for init script flavor... check checking for ip... /sbin/ip checking for iptables... /sbin/iptables checking for ip6tables... /sbin/ip6tables checking for ebtables... /sbin/ebtables checking for xdrmem_create in -lportablexdr... no checking for library containing xdrmem_create... none required checking for xdr_u_int64_t... yes checking where to find <rpc/rpc.h>... none checking for dlfcn.h... (cached) yes checking for library containing dlopen... none required checking for xen_vm_start in -lxenserver... no checking for libxl_domain_create_new in -lxenlight... no checking for xs_read in -lxenstore... no checking linux/kvm.h usability... no checking linux/kvm.h presence... no checking for linux/kvm.h... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML... yes checking for struct _xmlURI.query_raw... yes checking for GNUTLS... yes checking yajl/yajl_common.h usability... no checking yajl/yajl_common.h presence... no checking for yajl/yajl_common.h... no checking sanlock.h usability... no checking sanlock.h presence... no checking for sanlock.h... no checking libaudit.h usability... no checking libaudit.h presence... no checking for libaudit.h... no checking for audit_encode_nv_string in -laudit... no checking selinux/selinux.h usability... no checking selinux/selinux.h presence... no checking for selinux/selinux.h... no checking for fgetfilecon in -lselinux... no checking sys/apparmor.h usability... no checking sys/apparmor.h presence... no checking for sys/apparmor.h... no checking for aa_change_profile in -lapparmor... no checking for aa_change_hat in -lapparmor... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for readline in -lreadline... no checking for library containing tgetent... -lncurses checking for rl_initialize in -lreadline... yes checking for NETCF... no checking for OPENWSMAN... no configure: openwsman is required for the Hyper-V driver, disabling it checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... /usr/local/lib/libiconv.so.6.0 checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so.5.0 /usr/local/lib/libiconv.so.6.0 checking for BLKID... no checking whether to compile with macvtap support... no checking whether this build is done by a static analysis tool... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating docs/Makefile config.status: creating docs/schemas/Makefile config.status: creating gnulib/lib/Makefile config.status: creating gnulib/tests/Makefile config.status: creating libvirt.pc config.status: creating libvirt.spec config.status: creating mingw32-libvirt.spec config.status: creating po/Makefile.in config.status: creating include/libvirt/Makefile config.status: creating include/libvirt/libvirt.h config.status: creating python/Makefile config.status: creating python/tests/Makefile config.status: creating daemon/Makefile config.status: creating tools/Makefile config.status: creating tests/Makefile config.status: creating examples/apparmor/Makefile config.status: creating examples/domain-events/events-c/Makefile config.status: creating examples/domsuspend/Makefile config.status: creating examples/dominfo/Makefile config.status: creating examples/openauth/Makefile config.status: creating examples/python/Makefile config.status: creating examples/hellolibvirt/Makefile config.status: creating examples/systemtap/Makefile config.status: creating examples/xml/nwfilter/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: configure: Configuration summary configure: ===================== configure: configure: Drivers configure: configure: Xen: no configure: QEMU: no configure: UML: no configure: OpenVZ: no configure: VMware: yes configure: VBox: no configure: XenAPI: no configure: xenlight: no configure: LXC: no configure: PHYP: no configure: ESX: no configure: Hyper-V: no configure: Test: yes configure: Remote: yes configure: Network: no configure: Libvirtd: no configure: netcf: no configure: macvtap: no configure: virtport: no configure: configure: Storage Drivers configure: configure: Dir: no configure: FS: no configure: NetFS: no configure: LVM: no configure: iSCSI: no configure: SCSI: no configure: mpath: no configure: Disk: no configure: configure: Security Drivers configure: configure: SELinux: no configure: AppArmor: no configure: configure: Driver Loadable Modules configure: configure: dlopen: no configure: configure: Libraries configure: configure: libxml: -I/usr/local/include/libxml2 -I/usr/local/include -L/usr/local/lib -lxml2 configure: dlopen: configure: libcurl: no configure: openwsman: no configure: libssh2: no configure: gnutls: -I/usr/local/include -pthread -I/usr/local/include/p11-kit-1 -L/usr/local/lib -pthread -lgnutls -lgcrypt configure: sasl: no configure: yajl: no configure: sanlock: no configure: avahi: no configure: polkit: no configure: audit: no configure: selinux: no configure: apparmor: no configure: numactl: no configure: capng: no configure: xen: no configure: xenapi: no configure: xenlight: no configure: hal: no configure: udev: no configure: netcf: no configure: pcap: no configure: nl: no configure: mscom: no configure: xdr: configure: configure: Test suite configure: configure: Coverage: no configure: Alloc OOM: no configure: configure: Miscellaneous configure: configure: Debug: no configure: Warnings: maximum configure: Warning Flags: -Wall -W -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wvolatile-register-var -Wdisabled-optimization -Wattributes -Wmultichar -Wdeprecated-declarations -Wdiv-by-zero -Wendif-labels -Wextra -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar -Wnormalized=nfc -Woverflow -Wpointer-to-int-cast -Wpragmas -Wtrampolines -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-nonliteral -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const configure: Readline: yes configure: Python: no configure: DTrace: no configure: XML Catalog: /etc/xml/catalog configure: Init script: check configure: configure: Privileges configure: configure: QEMU: root:root configure: # gmake gmake all-recursive gmake[1]: Entering directory `/home/libvirt-0.9.9' Making all in gnulib/lib gmake[2]: Entering directory `/home/libvirt-0.9.9/gnulib/lib' GEN alloca.h GEN c++defs.h GEN warn-on-use.h GEN arg-nonnull.h GEN arpa/inet.h GEN byteswap.h GEN configmake.h mv -f configmake.h-t configmake.h GEN errno.h GEN fcntl.h GEN float.h GEN netdb.h GEN netinet/in.h GEN poll.h GEN pthread.h GEN pty.h GEN signal.h GEN stdalign.h GEN stdio.h GEN stdlib.h GEN string.h GEN strings.h GEN sys/ioctl.h GEN sys/select.h GEN sys/socket.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN sys/uio.h GEN sys/utsname.h GEN sys/wait.h GEN termios.h GEN time.h GEN unistd.h GEN wchar.h GEN wctype.h gmake all-recursive gmake[3]: Entering directory `/home/libvirt-0.9.9/gnulib/lib' gmake[4]: Entering directory `/home/libvirt-0.9.9/gnulib/lib' CC allocator.lo In file included from ./unistd.h:46, from ./stdlib.h:92, from ./pthread.h:40, from ./signal.h:67, from ./sys/select.h:60, from /usr/include/sys/types.h:224, from ./sys/types.h:30, from /usr/include/stdlib.h:41, from ./stdlib.h:37, from allocator.c:6: /usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set' /usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set' /usr/include/unistd.h:255: error: expected declaration specifiers or '...' before 'fd_set' In file included from ./sys/select.h:83, from /usr/include/sys/types.h:224, from ./sys/types.h:30, from /usr/include/stdlib.h:41, from ./stdlib.h:37, from allocator.c:6: /usr/include/sys/select.h:91: error: conflicting types for 'select' /usr/include/unistd.h:255: error: previous declaration of 'select' was here gmake[4]: *** [allocator.lo] Error 1 gmake[4]: Leaving directory `/home/libvirt-0.9.9/gnulib/lib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home/libvirt-0.9.9/gnulib/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/libvirt-0.9.9/gnulib/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/libvirt-0.9.9' gmake: *** [all] Error 2 Additional info: libvirt 0.8.6 was build successfully in the past.