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.



The following reply was made to PR kern/57145; it has been noted by GNATS.

From: matthew green <mrg%eterna23.net@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost,
    Thomas Klausner <wiz%NetBSD.org@localhost>
Subject: re: pkg/57145: gmake: *** INTERNAL: readdir: Operation not supported. Stop.
Date: Thu, 12 Sep 2024 18:10:03 +1000

 > I'm still unclear on the EINVAL.  My best guess is that:
 >
 > 1. somehow, fp->f_offset gets set to something negative
 > 2. sys_lseek -> vn_seek -> VOP_SEEK -> genfs_seek fails with EINVAL
 >
 > I can't find a way for (1) to happen on ufs or tmpfs, but maybe it
 > could happen with nfs -- reviewing that code is a lot of work.
 
 for my setup, this happens with local mounts.  the pkg build dir
 is a plain local ffs, and /usr/pkgsrc is a r/o nullfs mount of the
 (different fs) local ffs r/w mount of pkgsrc.
 
 ie, nfs isn't involved at all, and besides nullfs for pkgsrc itself,
 the entire builddir is local ffs with no special options (no log,
 UFS2, block/frag = 32k/4k, samsung 990 pro nvme.)
 
 (i wonder if a type of build could be extra whiny about this and
 give us all the info.  for me, EINVAL happens *rarely*.  i once tried
 building something 500 times and it worked.)
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index