[GHC] #9053: make sdist fails with repeated /bin/sh[1]: lndir: not found [No such file or directory]

#9053: make sdist fails with repeated /bin/sh[1]: lndir: not found [No such file or directory] -------------------------------------+------------------------------------- Reporter: AlainODea | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.8.2 Keywords: smartos illumos | Operating System: Solaris lndir sdist | Type of failure: Building GHC Architecture: Unknown/Multiple | failed Difficulty: Easy (less than 1 | Test Case: hour) | Blocking: Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- It appears that source for lndir was intentionally included in utils and customized to handle .git directories: http://git.haskell.org/ghc.git/blobdiff/c629bd1539b1865cc28ce053234595e7aeb8... 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9053 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9053: make sdist fails with repeated /bin/sh[1]: lndir: not found [No such file or directory] -------------------------------------+------------------------------------- Reporter: AlainODea | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.8.2 Resolution: | Keywords: smartos illumos Operating System: Solaris | lndir sdist Type of failure: Building GHC | Architecture: Unknown/Multiple failed | Difficulty: Easy (less than 1 Test Case: | hour) Blocking: | Blocked By: | Related Tickets: -------------------------------------+------------------------------------- Comment (by AlainODea): Based on my investigation lndir should be listed in the tools required to build and should be removed from the source. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9053#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9053: make sdist fails with repeated /bin/sh[1]: lndir: not found [No such file or directory] -------------------------------------+------------------------------------- Reporter: AlainODea | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Build | Version: 7.8.2 System | Keywords: smartos illumos Resolution: fixed | lndir sdist Operating System: Solaris | Architecture: Unknown/Multiple Type of failure: Building | Difficulty: Easy (less than 1 GHC failed | hour) Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed Comment: Thanks for the bug report. I listed lndir in [wiki:Building/Preparation/Tools], and also in [wiki:Building/Preparation/Linux]. The in-tree lndir is needed on MacOS, according to [wiki:Building/Using]. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9053#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC