Thanks for your info. The final 'mkdir' hangs at 'wait' and I have to 'kill -9 ' to stop it.
736 [00000034d04db527] mkdir("confdir3", 0700 [wait(0x0009) = 3982]
WIFSIGNALED,sig=SIGKILL
$ cat /proc/3982/status
Name: a.out
State: D (disk sleep)
Tgid: 3982
Pid: 3982
PPid: 3978
TracerPid: 3978
BR
Wang Qingchuan
-----Original Message-----
From: Paul Eggert <[email protected]>
Sent: 2019年11月1日 4:05
To: Qingchuan Wang (qingcwan) <[email protected]>
Cc: [email protected]; Gnulib bugs <[email protected]>
Subject: Re: Configure hangs at 'checking whether getcwd handles long file
names properly...'
In <https://lists.gnu.org/r/bug-tar/2019-10/msg00001.html>, Qingchuan Wang
(qingcwan) wrote:
> It hangs when ‘./configure’, I tried 1.29, 1.31 and 1.32, all same.
>
> The ‘mkdir’ didn’t return peeking by /strace./
If mkdir did not return, that sounds like a significant bug in your kernel or
filer or network. I could not reproduce the problem on a system similar to
yours (RHEL 6.10, Linux kernel 2.6.32-754.23.1.el6.x86_64, in an NFS file
system served by a Netapp filer on a local area network).
To help you diagnose the problem, I suggest running the the attached program in
your file system. This program is derived from the 'tar'
configure script. I ran the program on my system and got the attached strace
output. If you get similar output, then the bug is in how 'configure' runs its
program somehow. If you get output where the 'mkdir' syscall hangs, you'll have
a simple test program that you can send to your sysadmins and help them find
the bug with their setup.
I'll CC: this to bug-gnulib since the symptoms arise in Gnulib-derived code.
getcwd-test.wqc.trace.1.gz
Description: getcwd-test.wqc.trace.1.gz
getcwd-test.wqc.trace.2.gz
Description: getcwd-test.wqc.trace.2.gz
