It might be that test-getlogin_r.c test fails because I'm building inside OpenVZ VM
container.
--
----------------------------------------------
Andres Toomsalu, andres(a)active.ee
On 01.04.2010, at 0:18, Richard W.M. Jones wrote:
On Wed, Mar 31, 2010 at 11:24:30PM +0300, Active Systems OÜ wrote:
[Please CC your messages to libguestfs mailing list, since the
answer may help others in future.]
> One more error popped up during building - any clues what might be wrong or how to
bypass that test? It might be related to locale - Im using by default:
> LANG=et_EE.utf8
> LC_CTYPE="et_EE.utf8"
> LC_NUMERIC="et_EE.utf8"
> LC_TIME="et_EE.utf8"
> LC_COLLATE="et_EE.utf8"
> LC_MONETARY="et_EE.utf8"
> LC_MESSAGES="et_EE.utf8"
> LC_PAPER="et_EE.utf8"
> LC_NAME="et_EE.utf8"
> LC_ADDRESS="et_EE.utf8"
> LC_TELEPHONE="et_EE.utf8"
> LC_MEASUREMENT="et_EE.utf8"
> LC_IDENTIFICATION="et_EE.utf8"
> LC_ALL=
>
> Ill try to change back to en_US.
>
> Build log:
>
> PASS: test-getdtablesize
> PASS: test-getgroups
> PASS: test-getline
> test-getlogin_r.c:55: assertion failed
> /bin/sh: line 5: 7764 Aborted EXEEXT='' srcdir='.'
LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_JA='ja_JP'
LOCALE_ZH_CN='zh_CN.GB18030' LOCALE_FR_UTF8='fr_FR.UTF-8'
LOCALE_FR='fr_FR' LOCALE_FR_UTF8='fr_FR.UTF-8' LOCALE_JA='ja_JP'
LOCALE_ZH_CN='zh_CN.GB18030' ${dir}$tst
> FAIL: test-getlogin_r
> PASS: test-gettimeofday
> PASS: test-glob
> PASS: test-hash
> PASS: test-inet_ntop
> PASS: test-inet_pton
> PASS: test-lchown
> PASS: test-lseek.sh
> PASS: test-lstat
> PASS: test-mbrtowc1.sh
> PASS: test-mbrtowc2.sh
> PASS: test-mbrtowc3.sh
> PASS: test-mbrtowc4.sh
> PASS: test-mbsinit.sh
> PASS: test-mbsrtowcs1.sh
> PASS: test-mbsrtowcs2.sh
> PASS: test-mbsrtowcs3.sh
> PASS: test-mbsrtowcs4.sh
> PASS: test-memchr
> PASS: test-memrchr
> PASS: test-mkdir
> PASS: test-netdb
> PASS: test-netinet_in
> PASS: test-open
> PASS: test-fchownat
> PASS: test-fstatat
> PASS: test-mkdirat
> PASS: test-openat
> PASS: test-unlinkat
> PASS: test-perror.sh
> PASS: test-pread.sh
> PASS: test-priv-set
> PASS: test-rawmemchr
> PASS: test-readlink
> PASS: test-rmdir
> Unconnected socket test... passed
> Connected sockets test... passed
> General socket test with fork... passed
> Pipe test... passed
> PASS: test-select
> ./test-select-in.sh: line 21: echo: write error: Broken pipe
> PASS: test-select-in.sh
> PASS: test-select-out.sh
> PASS: test-sleep
> PASS: test-snprintf
> PASS: test-sockets
> PASS: test-stat
> PASS: test-stat-time
> PASS: test-stdbool
> PASS: test-stddef
> PASS: test-stdint
> PASS: test-stdio
> PASS: test-stdlib
> PASS: test-strchrnul
> PASS: test-strerror
> PASS: test-string
> PASS: test-symlink
> PASS: test-symlinkat
> PASS: test-sys_ioctl
> PASS: test-sys_select
> PASS: test-sys_socket
> PASS: test-sys_stat
> PASS: test-sys_time
> PASS: test-sys_wait
> PASS: test-time
> PASS: test-dup-safer
> PASS: test-unistd
> PASS: test-unlink
> PASS: test-usleep
> skipping test: setting symlink time not supported on this file system
> SKIP: test-utimens
> PASS: test-vasnprintf
> PASS: test-vasprintf
> PASS: test-wchar
> PASS: test-wctype
> PASS: test-xalloc-die.sh
> ====================
> 1 of 93 tests failed
> (1 test was not run)
> ====================
> make[6]: *** [check-TESTS] Error 1
> make[6]: Leaving directory
`/home/rpmbuilder/redhat/BUILD/libguestfs-1.0.85/daemon/tests'
> make[5]: *** [check-am] Error 2
> make[5]: Leaving directory
`/home/rpmbuilder/redhat/BUILD/libguestfs-1.0.85/daemon/tests'
> make[4]: *** [check-recursive] Error 1
> make[4]: Leaving directory
`/home/rpmbuilder/redhat/BUILD/libguestfs-1.0.85/daemon/tests'
> make[3]: *** [check] Error 2
> make[3]: Leaving directory
`/home/rpmbuilder/redhat/BUILD/libguestfs-1.0.85/daemon/tests'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory
`/home/rpmbuilder/redhat/BUILD/libguestfs-1.0.85/daemon'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory
`/home/rpmbuilder/redhat/BUILD/libguestfs-1.0.85/daemon'
> make: *** [check-recursive] Error 1
> error: Bad exit status from /home/rpmbuilder/redhat/tmp/rpm-tmp.68538 (%check)
>
>
> RPM build errors:
> Bad exit status from /home/rpmbuilder/redhat/tmp/rpm-tmp.68538 (%check)
It's a gnulib bug. I'm not sure what, but you can generally skip
these, or report the bug directly to the gnulib upstream:
http://www.gnu.org/software/gnulib/
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw