On AIX 7.1, the first 'gmake check' run hung: There was an unkillable process 'shred --remove --exact a b'. A second 'gmake check' run then succeeded without problems. It would be good to know which system calls trigger this hang. The only unusual system calls (according to "nm -X 64 src/shread") are fsync and fdatasync...
On AIX 7.3 there are two test failures: FAIL: tests/install/basic-1 FAIL: tests/mkdir/p-3 See the attached log file. Already reported in https://lists.gnu.org/archive/html/coreutils/2025-09/msg00100.html
========================================================= GNU coreutils 9.9.258-49420: ./tests/test-suite.log ========================================================= # TOTAL: 706 # PASS: 493 # SKIP: 211 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 System information (uname -a): AIX 3 7 .. contents:: :depth: 2 FAIL: tests/install/basic-1 =========================== ++ initial_cwd_=/home/haible/coreutils-9.9.258-49420/build-64-gcc +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/coreutils-9.9.258-49420/build-64-gcc gt-basic-1.sh.XXXX +++ case $# in +++ destdir_=/home/haible/coreutils-9.9.258-49420/build-64-gcc +++ template_=gt-basic-1.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/home/haible/coreutils-9.9.258-49420/build-64-gcc/ +++ case $template_ in ++++ unset TMPDIR +++ d=/home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 +++ case $d in +++ : +++ test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 ++++ ls -dgo /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 +++ perms='drwx------ 2 256 Jan 23 12:17 /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4' +++ case $perms in +++ : +++ echo /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 +++ return ++ test_dir_=/home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 ++ cd /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/src/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/haible/prefix64/bin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/haible/bin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /etc/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/ucb/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/bin/X11/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11 ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ IFS=' ' ++ PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin ++ export PATH ++ trap remove_tmp_ EXIT + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/home/haible/coreutils-9.9.258-49420/build-64-gcc/./src + case $abs_path_dir_ in + PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/./src:/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin + create_exe_shims_ /home/haible/coreutils-9.9.258-49420/build-64-gcc/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ginstall + require_built_ ginstall + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env ginstall --version install (GNU coreutils) 9.9.258-49420 Copyright (C) 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. + skip_if_root_ + uid_is_privileged_ ++ id -u + my_uid=10264 + case $my_uid in + return 1 + dir=dir + file=file + rm -rf dir file + mkdir -p dir + echo foo + ginstall file dir + test -f file + test -f dir/file + dd=dd + dd2=dd2 + just_built_dd=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src/dd + test -r /home/haible/coreutils-9.9.258-49420/build-64-gcc/src/dd + cp /home/haible/coreutils-9.9.258-49420/build-64-gcc/src/dd . + cp dd dd2 + strip=-s + strip dd2 strip: dd2 -- 0654-423 dd2 is not valid in the current object file mode. Use the -X option to specify the desired object mode. + test -e /home/haible/coreutils-9.9.258-49420/build-64-gcc/src/coreutils + warn_ 'WARNING!!! Your strip command doesn'\''t seem to work, so skipping the test of install'\''s --strip option.' + case $IFS in + printf '%s\n' 'WARNING!!! Your strip command doesn'\''t seem to work, so skipping the test of install'\''s --strip option.' WARNING!!! Your strip command doesn't seem to work, so skipping the test of install's --strip option. + test 9 = 2 + local 'args=WARNING!!! Your strip command doesn'\''t seem to work, so skipping the test of install'\''s --strip option.' + local 'firstline=WARNING!!! Your strip command doesn'\''t seem to work,' + printf '%s\n' 'WARNING!!! Your strip command doesn'\''t seem to work,' + strip= + ginstall -c -m 555 dd dir + test -f dd ++ ls -l dir/dd ++ cut -b-10 + mode=-r-xr-xr-x + test -r-xr-xr-x = -r-xr-xr-x ++ printf %4001s '' ++ sed 's/\(.\{79\}\)./\1:/g' + PATH=' : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :/home/haible/coreutils-9.9.258-49420/build-64-gcc/./src:/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin' + ginstall -c -m 555 dd dir + ginstall -d . + ginstall -d newdir + test -d newdir + ginstall -d newdir1 newdir2 newdir3 + test -d newdir1 + test -d newdir2 + test -d newdir3 ++ pwd + iwd=/home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 + mkdir sub + cd sub + chmod 0 . + returns_ 1 ginstall -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4/xx/yy rel/sub1 rel/sub2 + chmod 755 sub + test -d xx/yy + test -d sub/rel + test -d xx/rel + is_local_dir_ . + test 1 = 1 + df --local . + mkdir -p sub1/d + cd sub1/d + chmod a-r . + chmod a-rx .. + ginstall -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4/xx/zz rel/a rel/b ginstall: cannot create directory 'rel': Permission denied + fail=1 + chmod 755 sub1 sub1/d + test -d xx/zz + test -d sub1/d/rel/a + fail=1 + test -d sub1/d/rel/b + touch file + ginstall -Dv file sub3/a/b/c/file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + LC_ALL=C + diff -u - out + ginstall -t sub4/a/b/c -Dv file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + LC_ALL=C + diff -u - out + touch sub4/file_exists + ginstall -t sub4/file_exists -Dv file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + LC_ALL=C + diff -u - out + mkdir sub4/dir_exists + touch sub4/dir_exists + ginstall -t sub4/dir_exists -Dv file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + LC_ALL=C + diff -u - out + returns_ 1 ginstall . . + printf '%s\n' 'ginstall: omitting directory '\''.'\''' + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + LC_ALL=C + diff -u exp err + mkdir -m 111 sub-ro + mkdir sub-ro/d mkdir: cannot create directory 'sub-ro/d': Permission denied + returns_ 1 ginstall -d sub-ro/d + grep 'cannot create directory' err ginstall: cannot create directory 'sub-ro/d': Permission denied + umask 0022 + touch file1 + ginstall file1 file2 --mode=+w ++ ls -l file2 ++ cut -b-10 + mode=--w--w--w- + test --w--w--w- = --w--w--w- + touch file3 + ginstall file3 file4 --mode=ug+rw,o+r ++ cut -b-10 ++ ls -l file4 + mode=-rw-rw-r-- + test -rw-rw-r-- = -rw-rw-r-- + ginstall -d testdir --mode=u+rwx,g+rx,o+r ++ cut -b-10 ++ ls -ld testdir + mode=drwxr-xr-- + test drwxr-xr-- = drwxr-xr-- + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /home/haible/coreutils-9.9.258-49420/build-64-gcc + chmod -R u+rwx /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 + rm -rf /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-basic-1.sh.R9f4 + exit 1 FAIL tests/install/basic-1.sh (exit status: 1) FAIL: tests/mkdir/p-3 ===================== ++ initial_cwd_=/home/haible/coreutils-9.9.258-49420/build-64-gcc +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/coreutils-9.9.258-49420/build-64-gcc gt-p-3.sh.XXXX +++ case $# in +++ destdir_=/home/haible/coreutils-9.9.258-49420/build-64-gcc +++ template_=gt-p-3.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/home/haible/coreutils-9.9.258-49420/build-64-gcc/ +++ case $template_ in ++++ unset TMPDIR +++ d=/home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 +++ case $d in +++ : +++ test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 ++++ ls -dgo /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 +++ perms='drwx------ 2 256 Jan 23 12:18 /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8' +++ case $perms in +++ : +++ echo /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 +++ return ++ test_dir_=/home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 ++ cd /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/src/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/haible/prefix64/bin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /home/haible/bin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /etc/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/ucb/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /usr/bin/X11/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11 ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin ++ for dir in $PATH ++ IFS=' ' ++ case "$dir" in ++ IFS=' ' ++ PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin ++ export PATH ++ trap remove_tmp_ EXIT + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/home/haible/coreutils-9.9.258-49420/build-64-gcc/./src + case $abs_path_dir_ in + PATH=/home/haible/coreutils-9.9.258-49420/build-64-gcc/./src:/home/haible/coreutils-9.9.258-49420/build-64-gcc/src:/home/haible/prefix64/bin:/home/haible/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin + create_exe_shims_ /home/haible/coreutils-9.9.258-49420/build-64-gcc/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir + require_built_ mkdir + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env mkdir --version mkdir (GNU coreutils) 9.9.258-49420 Copyright (C) 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. + skip_if_root_ + uid_is_privileged_ ++ id -u + my_uid=10264 + case $my_uid in + return 1 + mkdir no-access + mkdir no-acce2s + mkdir -p no-acce3s/d ++ pwd + p=/home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 + test 1 -eq 1 + test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/a/b + cd no-acce2s + chmod 0 . + mkdir -p /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/b/b /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/z + test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/b/b + test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/z + is_local_dir_ . + test 1 = 1 + df --local . + cd no-acce3s/d + chmod a-r . + chmod a-rx .. + mkdir -p a/b /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/b/c d/e mkdir: cannot create directory 'a': Permission denied mkdir: cannot create directory 'd': Permission denied + fail=1 + test -d /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/b/c ++ ls /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8/a ++ tr -d '\n' + b=b + test xb = xb + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /home/haible/coreutils-9.9.258-49420/build-64-gcc + chmod -R u+rwx /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 + rm -rf /home/haible/coreutils-9.9.258-49420/build-64-gcc/gt-p-3.sh.Nnq8 + exit 1 FAIL tests/mkdir/p-3.sh (exit status: 1)
