[GHC] #11729: `make sdist` target fails

#11729: `make sdist` target fails -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Other Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- In the top level `Makefile` the comment above the `sdist` target says: {{{ # Just running `./boot && ./configure && make sdist` should work, so skip # phase 0 and 1 and don't build any dependency files. }}} but when I try that (both for `master` and the `ghc-8.0` branch, I get: {{{ cd sdistprep/ghc/ghc-8.1.20160320 && for i in mk rules docs distrib bindisttest libffi includes utils docs rts compiler ghc driver libraries libffi- tarballs iserv; do mkdir -p $i; ( cd $i && lndir /home/erikd/Git/ghc- upstream/$i ); done /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found /bin/bash: lndir: command not found ghc.mk:1205: recipe for target 'sdist-ghc-prep-tree' failed make[1]: *** [sdist-ghc-prep-tree] Error 127 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11729 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11729: `make sdist` target fails -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by erikd): Still fails after the tree is built. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11729#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11729: `make sdist` target fails -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.0.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * version: 7.10.3 => 8.0.1-rc2 Comment: Hmm, not really sure what to say about this. It seems to work fine for me. What operating system are you on? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11729#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11729: `make sdist` target fails -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by erikd): * version: 8.0.1-rc2 => 7.10.3 Comment: Seems my make was missing the `lndir` executable which in Debian is part of the `xutils-dev` package. Would be nice of the build system failed more gracefully when it hits this issue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11729#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11729: `make sdist` target fails horribly if `lndir` is unavailable -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11729#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11729: `make sdist` target fails horribly if `lndir` is unavailable -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.10.3 Resolution: wontfix | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by erikd): * status: new => closed * resolution: => wontfix Comment: Not sure of this is worth keeping open. It may be possible to detect its availablity and print an error message during `make sdist` when its missing, but I'm not sure if the effort is worth it. Very few ghc devs actually do `make sdist` and those that do should remember than `lndir` is required. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11729#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC