Re: [Bug 885474] make bails with *** INTERNAL: readdir: Bad file descriptor

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

 



On 09/02/2013 01:44 PM, Petr Machata wrote:
Ralf Corsepius <rc040203@xxxxxxxxxx> 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 of files. The "new school" automake approach (ca. 10 years old) to avoid such issue is to use deps on dirstamp-files.

Ralf


--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux