SVN-2008-0104 - Chapter 6.9 Glibc 2.7

Ken Moffat ken at linuxfromscratch.org
Fri Jan 18 07:55:22 PST 2008


On Fri, Jan 18, 2008 at 01:34:14PM +0100, Marcus Taschenberger wrote:
> Hi,
> i have some error by make check.
 As a general rule, don't get too worried if you get one or two
errors in glibc.
> 
> root:/sources/glibc-build# make -k check 2>&1 | tee glibc-check-log
> 
> the last lines from terminal....
> 
> _compat.h resource/sys/resource.h resource/sys/vlimit.h resource/sys/vtimes.h resource/ulimit.h rt/aio.h rt/mqueue.h setjmp/setjmp.h shadow/shadow.h signal/signal.h signal/sys/signal.h socket/sys/socket.h socket/sys/un.h stdio-common/printf.h stdio-common/stdio_ext.h stdlib/stdlib.h stdlib/alloca.h stdlib/monetary.h stdlib/fmtmsg.h stdlib/ucontext.h sysdeps/generic/inttypes.h sysdeps/generic/stdint.h stdlib/errno.h stdlib/sys/errno.h string/string.h string/strings.h string/memory.h string/endian.h string/argz.h string/envz.h string/byteswap.h sunrpc/rpc/auth.h sunrpc/rpc/auth_des.h sunrpc/rpc/auth_unix.h sunrpc/rpc/clnt.h sunrpc/rpc/des_crypt.h sunrpc/rpc/key_prot.h sunrpc/rpc/netdb.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/pmap_prot.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/rpc.h sunrpc/rpc/rpc_des.h sunrpc/rpc/rpc_msg.h sunrpc/rpc/svc.h sunrpc/rpc/svc_auth.h sunrpc/rpc/types.h sunrpc/rpc/xdr.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/sh
>  m.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /sources/glibc-build/begin-end-check.out
> make[1]: Target `check' not remade because of errors.
> make[1]: Leaving directory `/sources/glibc-2.7'
> make: *** [check] Error 2
> root:/sources/glibc-build#
> 

 I think that part is totally normal - any error, including the
expected/ignored error in annexc, causes the tests to end with
'Error 2'.
> 
> try root:/sources/glibc-build# grep Error glibc-check-log
> 
> make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
> make[2]: *** [/sources/glibc-build/crypt/sha512c-test.out] Error 1
> make[1]: *** [crypt/tests] Error 2
> make: *** [check] Error 2
> 
 Seems to be known, see
http://sourceware.org/ml/glibc-bugs/2007-10/msg00124.html
 and if you read the response from drepper you'll see that he has
changed the timeout to a higher value.

 I suppose that while the book is using glibc-2.7, this is a candidate
for adding to the book (or even for working out what he changed and
putting that into a patch).  Hmm, weird - I have a snapshot from
20071217 kicking around, that doesn't contain the change.  Found the
change at
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/crypt/sha512c-test.c.diff?cvsroot=glibc&r2=1.2&r1=1.1&f=u
 The 20071217 snapshot matches jakub's change on 12th December where
he took the '#define TIMEOUT 6' out again.  So, it was changed, and
then the change was reverted.  Maybe there is a better fix somewhere
else in upstream.  I'll defer to someone who understands the detail
of glibc development.  Meanwhile, I think your results are expected,
so you should continue the build.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-support mailing list