make check failure

Eray Aslan eray.aslan at caf.com.tr
Wed Feb 16 03:13:51 EST 2011


I have a user who has a failing make check run:

[...]
KRB5_CONFIG=./t_krb5.conf ; export KRB5_CONFIG ;\
LD_LIBRARY_PATH=`echo -L../../../lib | sed -e "s/-L//g" -e "s/ /:/g"`;
export LD_LIBRARY_PATH;   ./t_authdata
LD_LIBRARY_PATH=`echo -L../../../lib | sed -e "s/-L//g" -e "s/ /:/g"`;
export LD_LIBRARY_PATH;   ./t_pac
LD_LIBRARY_PATH=`echo -L../../../lib | sed -e "s/-L//g" -e "s/ /:/g"`;
export LD_LIBRARY_PATH;   ./t_princ
LD_LIBRARY_PATH=`echo -L../../../lib | sed -e "s/-L//g" -e "s/ /:/g"`;
export LD_LIBRARY_PATH;   ./t_etypes
x86_64-pc-linux-gnu-gcc -DLIBDIR=\"/usr/lib64\"  -I../../../include
-I../../../include -I./../os -I../../.. -DKRB5_DEPRECATED=1  -Wall -O2
-pipe -march=native -I/usr/include/et -Wall -Wcast-align -Wshadow
-Wmissing-prototypes -Wno-format-zero-length -Woverflow
-Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes
-Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function
-Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas
-Wsign-compare -Werror=declaration-after-statement
-Werror=variadic-macros -Werror-implicit-function-declaration -pthread
-c t_expire_warn.c
x86_64-pc-linux-gnu-gcc -L../../../lib  -Wall -O2 -pipe -march=native
-I/usr/include/et -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o
t_expire_warn t_expire_warn.o -lkrb5 -lk5crypto -lcom_err -lkrb5support
 -lkeyutils -lresolv  -ldl
PYTHONPATH=../../../util VALGRIND="" python ./t_expire_warn.py
*** Failure: ./t_expire_warn failed with code -6.

testlog is below.  I cannot reproduce it and the code looks OK.  Any
ideas on what might be wrong?  Version 1.9.

Thanks
Eray


*** [1] Executing:
/var/tmp/portage/app-crypt/mit-krb5-1.9-r1/work/krb5-1.9/src/kadmin/dbutil/kdb5_util
create -W -s -P master
Loading random data
Initializing database '/var/lib/krb5kdc/principal' for realm 'KRBTEST.COM',
master key name 'K/M at KRBTEST.COM'
*** [1] Completed with return code 0
*** [2] Starting:
/var/tmp/portage/app-crypt/mit-krb5-1.9-r1/work/krb5-1.9/src/kdc/krb5kdc -n
krb5kdc: starting...
*** [2] Started with pid 7142
*** [3] Executing:
/var/tmp/portage/app-crypt/mit-krb5-1.9-r1/work/krb5-1.9/src/kadmin/cli/kadmin.local
-q addprinc -pw pass noexpire
WARNING: no policy specified for noexpire at KRBTEST.COM; defaulting to no
policy
Authenticating as principal portage/admin at KRBTEST.COM with password.
Principal "noexpire at KRBTEST.COM" created.
*** [3] Completed with return code 0
*** [4] Executing:
/var/tmp/portage/app-crypt/mit-krb5-1.9-r1/work/krb5-1.9/src/kadmin/cli/kadmin.local
-q addprinc -pw pass -pwexpire "30 minutes" minutes
WARNING: no policy specified for minutes at KRBTEST.COM; defaulting to no
policy
Authenticating as principal portage/admin at KRBTEST.COM with password.
Principal "minutes at KRBTEST.COM" created.
*** [4] Completed with return code 0
*** [5] Executing:
/var/tmp/portage/app-crypt/mit-krb5-1.9-r1/work/krb5-1.9/src/kadmin/cli/kadmin.local
-q addprinc -pw pass -pwexpire "12 hours" hours
WARNING: no policy specified for hours at KRBTEST.COM; defaulting to no policy
Authenticating as principal portage/admin at KRBTEST.COM with password.
Principal "hours at KRBTEST.COM" created.
*** [5] Completed with return code 0
*** [6] Executing:
/var/tmp/portage/app-crypt/mit-krb5-1.9-r1/work/krb5-1.9/src/kadmin/cli/kadmin.local
-q addprinc -pw pass -pwexpire "3 days" days
WARNING: no policy specified for days at KRBTEST.COM; defaulting to no policy
Authenticating as principal portage/admin at KRBTEST.COM with password.
Principal "days at KRBTEST.COM" created.
*** [6] Completed with return code 0
*** [7] Executing: ./t_expire_warn noexpire pass 0
t_expire_warn: t_expire_warn.c:85: main: Assertion
`krb5_get_init_creds_password(ctx, &creds, client, password,
prompter_cb, &prompt_dummy, 0, service, opt) == 0' failed.
*** [7] Completed with return code -6



More information about the Kerberos mailing list