NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/57145: gmake: *** INTERNAL: readdir: Operation not supported. Stop.



> Date: Tue, 20 Jan 2026 17:12:12 +0100 (CET)
> From: Havard Eidnes <he%NetBSD.org@localhost>
> 
> After the initial failure of this type, I decided to try to
> capture the system call information with "ktrace -i", and as it
> happened, the problem was reproduced with a ktrace.out file of a
> mere 520MB.

Great, thanks!

> The gmake system calls preceding this error were:
> 
>  14717  14717 gmake    CALL  lseek(6,0,0,1)
>  14717  14717 gmake    RET   lseek 0
>  14717  14717 gmake    CALL  __getdents30(6,0x79e73d4a0000,0x1000)
>  14717  14717 gmake    GIO   fd 6 read 4080 bytes
> ...(omitted here)...
>  14717  14717 gmake    RET   __getdents30 4080/0xff0
>  14717  14717 gmake    CALL  lseek(6,0,0,1)
>  14717  14717 gmake    RET   lseek 3132/0xc3c
>  14717  14717 gmake    CALL  __getdents30(6,0x79e73d4a0000,0x1000)
>  14717  14717 gmake    RET   __getdents30 -1 errno 22 Invalid argument
> 
> and it's all downhill from there.

Can you share the output of `mount' on this system, and say which file
system the build is running in?  (And, if you can figure it out,
confirm from the ktrace which file system the __getdents30 call
applies to, by finding where file descriptor 6 was opened from.)


Home | Main Index | Thread Index | Old Index