make sdist fails with repeated /bin/sh[1]: lndir: not found [No such file or directory]
It appears that source for lndir was intentionally included in utils and customized to handle .git directories: http://git.haskell.org/ghc.git/blobdiff/c629bd1539b1865cc28ce053234595e7aeb8a5c0..8023014ecf192381ffba4b60a3dd21630e5c1d18:/utils/lndir/lndir.c
This ignoring of .git directories has been in the upstream lndir.c since 2009: http://cgit.freedesktop.org/xorg/util/lndir/tree/lndir.c
However, lndir is not installed by default (on Ubuntu or SmartOS) and is not listed in the tools required to build: https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Tools
It does not appear to be built during the sync, boot, or make steps of a GHC build.
Here is an excerpt:
/bin/sh[1]: lndir: not found [No such file or directory]
/bin/sh[1]: lndir: not found [No such file or directory]
/bin/sh[1]: lndir: not found [No such file or directory]
/bin/sh[1]: lndir: not found [No such file or directory]
ghc.mk:1117: recipe for target 'sdist-ghc-prep' failed
gmake[1]: *** [sdist-ghc-prep] Error 127
Makefile:64: recipe for target 'sdist' failed
gmake: *** [sdist] Error 2
Here is a detailed log: http://haskell.inf.elte.hu/builders/smartos-x86_64-head/19/16.html
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |