Hello Ralf,
On 21.08.2010 10:17, Ralf Wildenhues wrote:
* Rainer Tammer wrote on Sat, Aug 07, 2010 at 09:35:56AM CEST:
I have added one additional patch (as I did for the last run):
# diff /daten/source/libtool-2.2.11a/tests/defs.in defs.in
[...]
# On AIX, shared libraries remain loaded in memory after use if they
# are world-readable, until root issues slibclean. On NFS, this causes
# a testsuite rerun to fail to clean up test group directories. Avoid
# this with a suitable umask. Do not do this on other systems, for
# example HP-UX suffers unless shared libraries are mode 555.
case $host_os in
aix*) umask o-rwx ;;
esac
I have pushed your patch now, as below.
OK,
this is working.
Now I get some new errors from the old test suite:
# grep FAIL check.log
FAIL: tests/f77demo-exec.test
FAIL: tests/f77demo-exec.test
FAIL: tests/fcdemo-exec.test
FAIL: tests/fcdemo-exec.test
...
This is because the LIBPATH is not OK:
This has been fixed since in git Libtool.
Sorry,
this is still not working with the current git.
...
FAIL: tests/f77demo-exec.test
PASS: tests/f77demo-shared.test
PASS: tests/f77demo-make.test
FAIL: tests/f77demo-exec.test
PASS: tests/fcdemo-static.test
PASS: tests/fcdemo-make.test
PASS: tests/fcdemo-exec.test
PASS: tests/fcdemo-conf.test
PASS: tests/fcdemo-make.test
FAIL: tests/fcdemo-exec.test
PASS: tests/fcdemo-shared.test
PASS: tests/fcdemo-make.test
FAIL: tests/fcdemo-exec.test
4 of 124 tests failed
Please report to bug-libt...@gnu.org
Which commit should fix the problem.
Cheers, and thanks again,
Ralf
Bye
Rainer Tammer
2010-08-21 Rainer Tammer tam...@... (tiny change)
Avoid issues with AIX resident shared libraries in old testsuite.
* tests/defs.m4sh [aix]: Remove file mode permission for others,
so shared libraries are not kept in memory after execution.
Fixes failures of repeated mdemo-inst.test with on AIX 5.3.
diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 1230555..183783e 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -130,6 +130,7 @@ func_get_config objext
objdir
CC
host
+host_os
host_alias
build
build_alias $LIBTOOL --config : fatal
@@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4
auxdir=$srcdir/libltdl/config
scripts=$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh
+# On AIX, shared libraries remain loaded in memory after use if they
+# are world-readable, until root issues slibclean. On NFS, this causes
+# a testsuite rerun to fail to clean up test group directories. Avoid
+# this with a suitable umask. Do not do this on other systems, for
+# example HP-UX suffers unless shared libraries are mode 555.
+case $host_os in
+aix*) umask o-rwx ;;
+esac
+
func_msg Running $progname
# Local Variables: