Re: RPM packaging for version 0.8.12
[Date Prev][Date Next] [Thread Prev][Thread Next]Re: RPM packaging for version 0.8.12
- From: Juan Asensio Sánchez <okelet [at] gmail.com>
- To: Arthur de Jong <arthur [at] arthurdejong.org>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: RPM packaging for version 0.8.12
- Date: Fri, 7 Dec 2012 09:10:59 +0100
Hi again
Thanks Arthur for all your help. Here are the results of the tests you requested:
==============================================================================================================================
[root@myserver ~]# rpm -qa | grep glibc
glibc-headers-2.5-49.el5_5.7
glibc-devel-2.5-49.el5_5.7
glibc-common-2.5-49.el5_5.7
glibc-2.5-49.el5_5.7
[root@myserver ~]# lsb_release -d
Description: CentOS release 5.5 (Final)
[root@myserver ~]# uname -i
i386
==============================================================================================================================
0.8.10 without attached test_tio.c:
==============================================================================================================================
[root@myserver nss-pam-ldapd-0.8.10]# pwd
/root/nss-pam-ldapd-0.8.10
[root@myserver nss-pam-ldapd-0.8.10]# ./configure
# OK
[root@myserver nss-pam-ldapd-0.8.10]# make
# OK
[root@myserver nss-pam-ldapd-0.8.10]# cd tests
[root@myserver nss-pam-ldapd-0.8.10]# LANG=C make check
make test_dict test_set test_tio test_expr test_getpeercred test_cfg test_myldap test_common
make[1]: Entering directory `/root/nss-pam-ldapd-0.8.10/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_dict.o -MD -MP -MF .deps/test_dict.Tpo -c -o test_dict.o test_dict.c
mv -f .deps/test_dict.Tpo .deps/test_dict.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT dict.o -MD -MP -MF .deps/dict.Tpo -c -o dict.o `test -f '../common/dict.c' || echo './'`../common/dict.c
mv -f .deps/dict.Tpo .deps/dict.Po
gcc -pthread -g -g -O2 -o test_dict test_dict.o dict.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_set.o -MD -MP -MF .deps/test_set.Tpo -c -o test_set.o test_set.c
mv -f .deps/test_set.Tpo .deps/test_set.Po
gcc -pthread -g -g -O2 -o test_set test_set.o ../common/libdict.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_tio.o -MD -MP -MF .deps/test_tio.Tpo -c -o test_tio.o test_tio.c
mv -f .deps/test_tio.Tpo .deps/test_tio.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT tio.o -MD -MP -MF .deps/tio.Tpo -c -o tio.o `test -f '../common/tio.c' || echo './'`../common/tio.c
mv -f .deps/tio.Tpo .deps/tio.Po
gcc -pthread -g -g -O2 -pthread -o test_tio test_tio.o tio.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_expr.o -MD -MP -MF .deps/test_expr.Tpo -c -o test_expr.o test_expr.c
mv -f .deps/test_expr.Tpo .deps/test_expr.Po
gcc -pthread -g -g -O2 -o test_expr test_expr.o ../common/set.o ../common/dict.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_getpeercred.o -MD -MP -MF .deps/test_getpeercred.Tpo -c -o test_getpeercred.o test_getpeercred.c
mv -f .deps/test_getpeercred.Tpo .deps/test_getpeercred.Po
gcc -pthread -g -g -O2 -o test_getpeercred test_getpeercred.o ../compat/libcompat.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_cfg.o -MD -MP -MF .deps/test_cfg.Tpo -c -o test_cfg.o test_cfg.c
mv -f .deps/test_cfg.Tpo .deps/test_cfg.Po
gcc -pthread -g -g -O2 -o test_cfg test_cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_myldap.o -MD -MP -MF .deps/test_myldap.Tpo -c -o test_myldap.o test_myldap.c
test_myldap.c: In function 'test_get':
test_myldap.c:124: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:125: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:126: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:127: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
mv -f .deps/test_myldap.Tpo .deps/test_myldap.Po
gcc -pthread -g -g -O2 -o test_myldap test_myldap.o ../nslcd/cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_common.o -MD -MP -MF .deps/test_common.Tpo -c -o test_common.o test_common.c
mv -f .deps/test_common.Tpo .deps/test_common.Po
gcc -pthread -g -g -O2 -o test_common test_common.o ../nslcd/cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
make[1]: Leaving directory `/root/nss-pam-ldapd-0.8.10/tests'
make check-TESTS
make[1]: Entering directory `/root/nss-pam-ldapd-0.8.10/tests'
PASS: test_dict
PASS: test_set
test_tio: writing 11 blocks of 400 bytes (4400 total)
test_tio: reading 400 blocks of 11 bytes (4400 total)
test_tio: writing 11 blocks of 10240 bytes (112640 total)
test_tio: reading 1024 blocks of 110 bytes (112640 total)
test_tio: writing 20 blocks of 5115 bytes (102300 total)
test_tio: reading 5 blocks of 20460 bytes (102300 total)
test_tio: test_tio.c:299: test_timeout_reader: Assertion `end>start' failed.
/bin/sh: line 5: 31480 Aborted ${dir}$tst
FAIL: test_tio
PASS: test_expr
PASS: test_getpeercred
PASS: test_cfg
test_myldap.sh: LDAP server ldap://127.0.0.1/ not available for dc=test,dc=tld
SKIP: test_myldap.sh
PASS: test_common
./test_nsscmds.sh: LDAP server ldaps://localhost not available for dc=test,dc=tld
SKIP: test_nsscmds.sh
./test_pamcmds.sh: LDAP server ldaps://localhost not available for dc=test,dc=tld
SKIP: test_pamcmds.sh
===========================================================
1 of 7 tests failed
(3 tests were not run)
Please report to nss-pam-ldapd-users [at] lists.arthurdejong.org
===========================================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/root/nss-pam-ldapd-0.8.10/tests'
make: *** [check-am] Error 2
==============================================================================================================================
0.8.10 with attached test_tio.c:
==============================================================================================================================
[root@myserver nss-pam-ldapd-0.8.10]# pwd
/root/nss-pam-ldapd-0.8.10
[root@myserver nss-pam-ldapd-0.8.10]# ./configure
# OK
[root@myserver nss-pam-ldapd-0.8.10]# make
# OK
[root@myserver nss-pam-ldapd-0.8.10]# cd tests
[root@myserver nss-pam-ldapd-0.8.10]# LANG=C make check
make test_dict test_set test_tio test_expr test_getpeercred test_cfg test_myldap test_common
make[1]: Entering directory `/root/nss-pam-ldapd-0.8.10/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_dict.o -MD -MP -MF .deps/test_dict.Tpo -c -o test_dict.o test_dict.c
mv -f .deps/test_dict.Tpo .deps/test_dict.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT dict.o -MD -MP -MF .deps/dict.Tpo -c -o dict.o `test -f '../common/dict.c' || echo './'`../common/dict.c
mv -f .deps/dict.Tpo .deps/dict.Po
gcc -pthread -g -g -O2 -o test_dict test_dict.o dict.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_set.o -MD -MP -MF .deps/test_set.Tpo -c -o test_set.o test_set.c
mv -f .deps/test_set.Tpo .deps/test_set.Po
gcc -pthread -g -g -O2 -o test_set test_set.o ../common/libdict.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_tio.o -MD -MP -MF .deps/test_tio.Tpo -c -o test_tio.o test_tio.c
test_tio.c: In function 'help_tiowriter':
test_tio.c:121: warning: passing argument 2 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c:121: warning: passing argument 3 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c: In function 'help_tioreader':
test_tio.c:177: warning: passing argument 2 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c:177: warning: passing argument 3 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c: In function 'test_reset':
test_tio.c:415: warning: passing argument 2 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c:415: warning: passing argument 3 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c: In function 'test_timeout_reader':
test_tio.c:559: warning: passing argument 2 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c:559: warning: passing argument 3 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c: In function 'test_timeout_writer':
test_tio.c:609: warning: passing argument 2 of 'tio_fdopen' makes pointer from integer without a cast
test_tio.c:609: warning: passing argument 3 of 'tio_fdopen' makes pointer from integer without a cast
mv -f .deps/test_tio.Tpo .deps/test_tio.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT tio.o -MD -MP -MF .deps/tio.Tpo -c -o tio.o `test -f '../common/tio.c' || echo './'`../common/tio.c
mv -f .deps/tio.Tpo .deps/tio.Po
gcc -pthread -g -g -O2 -pthread -o test_tio test_tio.o tio.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_expr.o -MD -MP -MF .deps/test_expr.Tpo -c -o test_expr.o test_expr.c
mv -f .deps/test_expr.Tpo .deps/test_expr.Po
gcc -pthread -g -g -O2 -o test_expr test_expr.o ../common/set.o ../common/dict.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_getpeercred.o -MD -MP -MF .deps/test_getpeercred.Tpo -c -o test_getpeercred.o test_getpeercred.c
mv -f .deps/test_getpeercred.Tpo .deps/test_getpeercred.Po
gcc -pthread -g -g -O2 -o test_getpeercred test_getpeercred.o ../compat/libcompat.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_cfg.o -MD -MP -MF .deps/test_cfg.Tpo -c -o test_cfg.o test_cfg.c
mv -f .deps/test_cfg.Tpo .deps/test_cfg.Po
gcc -pthread -g -g -O2 -o test_cfg test_cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_myldap.o -MD -MP -MF .deps/test_myldap.Tpo -c -o test_myldap.o test_myldap.c
test_myldap.c: In function 'test_get':
test_myldap.c:124: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:125: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:126: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:127: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
mv -f .deps/test_myldap.Tpo .deps/test_myldap.Po
gcc -pthread -g -g -O2 -o test_myldap test_myldap.o ../nslcd/cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_common.o -MD -MP -MF .deps/test_common.Tpo -c -o test_common.o test_common.c
mv -f .deps/test_common.Tpo .deps/test_common.Po
gcc -pthread -g -g -O2 -o test_common test_common.o ../nslcd/cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
make[1]: Leaving directory `/root/nss-pam-ldapd-0.8.10/tests'
make check-TESTS
make[1]: Entering directory `/root/nss-pam-ldapd-0.8.10/tests'
PASS: test_dict
PASS: test_set
test_tio: writing 11 blocks of 400 bytes (4400 total)
test_tio: reading 400 blocks of 11 bytes (4400 total)
/bin/sh: line 5: 8107 Segmentation fault ${dir}$tst
FAIL: test_tio
PASS: test_expr
PASS: test_getpeercred
PASS: test_cfg
test_myldap.sh: LDAP server ldap://127.0.0.1/ not available for dc=test,dc=tld
SKIP: test_myldap.sh
PASS: test_common
./test_nsscmds.sh: LDAP server ldaps://localhost not available for dc=test,dc=tld
SKIP: test_nsscmds.sh
./test_pamcmds.sh: LDAP server ldaps://localhost not available for dc=test,dc=tld
SKIP: test_pamcmds.sh
===========================================================
1 of 7 tests failed
(3 tests were not run)
Please report to nss-pam-ldapd-users [at] lists.arthurdejong.org
===========================================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/root/nss-pam-ldapd-0.8.10/tests'
make: *** [check-am] Error 2
==============================================================================================================================
0.8.12 with attached test_tio.c:
==============================================================================================================================
[root@myserver nss-pam-ldapd-0.8.12]# pwd
/root/nss-pam-ldapd-0.8.12
[root@myserver nss-pam-ldapd-0.8.12]# ./configure
# OK
[root@myserver nss-pam-ldapd-0.8.12]# make
# OK
[root@myserver nss-pam-ldapd-0.8.12]# cd tests
[root@myserver nss-pam-ldapd-0.8.12]# LANG=C make check
make test_dict test_set test_tio test_expr test_getpeercred test_cfg test_myldap test_common
make[1]: Entering directory `/root/nss-pam-ldapd-0.8.12/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_dict.o -MD -MP -MF .deps/test_dict.Tpo -c -o test_dict.o test_dict.c
mv -f .deps/test_dict.Tpo .deps/test_dict.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT dict.o -MD -MP -MF .deps/dict.Tpo -c -o dict.o `test -f '../common/dict.c' || echo './'`../common/dict.c
mv -f .deps/dict.Tpo .deps/dict.Po
gcc -pthread -g -g -O2 -o test_dict test_dict.o dict.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_set.o -MD -MP -MF .deps/test_set.Tpo -c -o test_set.o test_set.c
mv -f .deps/test_set.Tpo .deps/test_set.Po
gcc -pthread -g -g -O2 -o test_set test_set.o ../common/libdict.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_tio.o -MD -MP -MF .deps/test_tio.Tpo -c -o test_tio.o test_tio.c
mv -f .deps/test_tio.Tpo .deps/test_tio.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT tio.o -MD -MP -MF .deps/tio.Tpo -c -o tio.o `test -f '../common/tio.c' || echo './'`../common/tio.c
mv -f .deps/tio.Tpo .deps/tio.Po
gcc -pthread -g -g -O2 -pthread -o test_tio test_tio.o tio.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_expr.o -MD -MP -MF .deps/test_expr.Tpo -c -o test_expr.o test_expr.c
mv -f .deps/test_expr.Tpo .deps/test_expr.Po
gcc -pthread -g -g -O2 -o test_expr test_expr.o ../common/set.o ../common/dict.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_getpeercred.o -MD -MP -MF .deps/test_getpeercred.Tpo -c -o test_getpeercred.o test_getpeercred.c
mv -f .deps/test_getpeercred.Tpo .deps/test_getpeercred.Po
gcc -pthread -g -g -O2 -o test_getpeercred test_getpeercred.o ../compat/libcompat.a
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_cfg.o -MD -MP -MF .deps/test_cfg.Tpo -c -o test_cfg.o test_cfg.c
mv -f .deps/test_cfg.Tpo .deps/test_cfg.Po
gcc -pthread -g -g -O2 -o test_cfg test_cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_myldap.o -MD -MP -MF .deps/test_myldap.Tpo -c -o test_myldap.o test_myldap.c
test_myldap.c: In function 'test_get':
test_myldap.c:124: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:125: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:126: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
test_myldap.c:127: warning: ignoring return value of 'myldap_get_values', declared with attribute warn_unused_result
mv -f .deps/test_myldap.Tpo .deps/test_myldap.Po
gcc -pthread -g -g -O2 -o test_myldap test_myldap.o ../nslcd/cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -g -g -O2 -MT test_common.o -MD -MP -MF .deps/test_common.Tpo -c -o test_common.o test_common.c
mv -f .deps/test_common.Tpo .deps/test_common.Po
gcc -pthread -g -g -O2 -o test_common test_common.o ../nslcd/cfg.o ../nslcd/log.o ../nslcd/common.o ../nslcd/myldap.o ../nslcd/attmap.o ../nslcd/nsswitch.o ../nslcd/alias.o ../nslcd/ether.o ../nslcd/group.o ../nslcd/host.o ../nslcd/netgroup.o ../nslcd/network.o ../nslcd/passwd.o ../nslcd/protocol.o ../nslcd/rpc.o ../nslcd/service.o ../nslcd/shadow.o ../nslcd/pam.o ../common/libtio.a ../common/libdict.a ../common/libexpr.a ../compat/libcompat.a -lldap -ldl
make[1]: Leaving directory `/root/nss-pam-ldapd-0.8.12/tests'
make check-TESTS
make[1]: Entering directory `/root/nss-pam-ldapd-0.8.12/tests'
PASS: test_dict
PASS: test_set
test_tio: writing 11 blocks of 400 bytes (4400 total)
test_tio: reading 400 blocks of 11 bytes (4400 total)
test_tio: writing 11 blocks of 10240 bytes (112640 total)
test_tio: reading 1024 blocks of 110 bytes (112640 total)
test_tio: writing 20 blocks of 5115 bytes (102300 total)
test_tio: reading 5 blocks of 20460 bytes (102300 total)
test_tio: test_tio.c:569: test_timeout_reader: Assertion `end>start' failed.
/bin/sh: line 5: 3638 Aborted ${dir}$tst
FAIL: test_tio
PASS: test_expr
PASS: test_getpeercred
PASS: test_cfg
test_myldap.sh: LDAP server ldap://127.0.0.1/ not available for dc=test,dc=tld
SKIP: test_myldap.sh
PASS: test_common
./test_nsscmds.sh: LDAP server ldaps://localhost not available for dc=test,dc=tld
SKIP: test_nsscmds.sh
./test_pamcmds.sh: LDAP server ldaps://localhost not available for dc=test,dc=tld
SKIP: test_pamcmds.sh
===========================================================
1 of 7 tests failed
(3 tests were not run)
Please report to nss-pam-ldapd-users [at] lists.arthurdejong.org
===========================================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/root/nss-pam-ldapd-0.8.12/tests'
make: *** [check-am] Error 2
==============================================================================================================================
Regards.
2012/12/6 Arthur de Jong <arthur [at] arthurdejong.org>
On Tue, 2012-12-04 at 13:28 +0100, Juan Asensio Sánchez wrote:This disables running the tests. If there is a legitimate failure in the
> After some digging in the SPEC file I found that there is a "check"
> section that calls make in the tests directory:
>
> %check
> make check
>
> I removed that section and now the compilation works fine and the RPM
> package is built succesfully.
tests I would still like to be able to reproduce the issue because it
could also show up in production environments.
The test_timeout_writer test writes to a stream that no one is reading
> test_tio: test_timeout_writer: written 186 blocks of 20 bytes in 0 second(s)
> test_tio: test_tio.c:321: test_timeout_writer: Assertion `end>start' failed.
> /bin/sh: line 5: 8676 Abortado ${dir}$tst
> FAIL: test_tio
anything from. The timeout is set to a little over one second which
means that the 0 second(s) reported indicates that the timeout mechanism
is not properly working.
Could you try nss-pam-ldapd 0.8.10 for me and see if the tests pass for
that release? Could you tell me the version of Glibc that you are using
as well as the kernel version?
Attached is a version of test_tio.c that also checks errno which may be
interesting. Also strace output of the failing test could also be
helpful.
Thanks,
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe [at] lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see http://lists.arthurdejong.org/nss-pam-ldapd-users/
- Re: RPM packaging for version 0.8.12, (continued)
- Re: RPM packaging for version 0.8.12,
Arthur de Jong
- Re: RPM packaging for version 0.8.12,
Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12,
Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12, Arthur de Jong
- Re: RPM packaging for version 0.8.12, Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12, Arthur de Jong
- Re: RPM packaging for version 0.8.12,
Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12,
Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12,
Arthur de Jong
- Prev by Date: Re: RPM packaging for version 0.8.12
- Next by Date: Re: RPM packaging for version 0.8.12
- Previous by thread: Re: RPM packaging for version 0.8.12
- Next by thread: Re: RPM packaging for version 0.8.12