[Bug 885474] make bails with *** INTERNAL: readdir: Bad file descriptor
rc040203 at freenet.de
Mon Sep 2 16:45:33 UTC 2013
On 09/02/2013 01:44 PM, Petr Machata wrote:
> Ralf Corsepius <rc040203 at freenet.de> writes:
>> I guess, no. AFAIS, this makefile carries deps on directories.
>> This is a very old known general limitation of and portability isse
>> with make and one of known "donts".
>> "Deps on dirs" work on local Linux file systems, but doesn't work on
>> linux nfs and is known to not have worked with local files systems on
>> other *nices.
> Apparently, Linux just joined the ranks of "other *nices"--I can
> reproduce the problem on local filesystems just fine. I didn't know
> it's a "don't", thanks for pointing this out.
Well, maybe my recollection was correct. Many years ago, I got burried
in "deps on dirs" issues and am avoiding them since then ;)
However, I recall another case, "deps on dirs" often don't work:
(massively) "parallel make".
Did you try to build the package single-threaded (make -j1)?
The "old school" automake approach (ca. 20 years old) to avoid such
issues was to not use "deps in dirs", but to create dirs as side-effect
The "new school" automake approach (ca. 10 years old) to avoid such
issue is to use deps on dirstamp-files.
More information about the devel