Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris -+-- Reporter: maeder|Owner: Type: bug | Status: new Priority: normal|Milestone: 6.12.1 Component: Build System | Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Os: Solaris Architecture: x86 | -+-- Comment (by maeder): I think, this can be closed. I'll attach my log for `gmake binary-dist`. http://www.informatik.uni- bremen.de/agbkb/forschung/formal_methods/CoFI/hets/intel- mac/ghcs/ghc-6.10.2-i386-apple-darwin.tar.bz2 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris -+-- Reporter: maeder|Owner: Type: bug | Status: closed Priority: normal|Milestone: 6.12.1 Component: Build System | Version: 6.8.1 Severity: normal| Resolution: fixed Keywords:| Difficulty: Unknown Testcase:| Os: Solaris Architecture: x86 | -+-- Changes (by igloo): * status: new = closed * resolution: = fixed Comment: Great, thanks! And thanks too for the bindist; I've added it to the 6.10.2 download page. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris -+-- Reporter: maeder|Owner: Type: bug | Status: new Priority: normal|Milestone: 6.12.1 Component: Build System | Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Os: Solaris Architecture: x86 | -+-- Changes (by igloo): * milestone: 6.10 branch = 6.12.1 Comment: The new build system probably already does this differently, so we just need to confirm that. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: 6.10 branch Component: Build System |Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: Solaris | --+- Changes (by igloo): * milestone: 6.8.3 = 6.10 branch Comment: This doesn't actually cause any real problems, so I'm punting on it. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8.3 Component: Build System |Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: Solaris | --+- Changes (by igloo): * milestone: 6.8.2 = 6.8.3 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8.2 Component: Build System |Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: Solaris | --+- Comment (by maeder): Looking into my binary distribution one can see that the problem was already in ghc-6.8.1, but I did not notice it before. I've only noticed it because of the following message: {{{ tar: ghc-6.8.1.20071206/compiler/stage2/DEPEND-NOTES/DLL- NOTES/HSghc.o/HsVersions.h/Makefile/Makefile.ghcbin/NOTES/Simon- log/basicTypes/cbits/cmm/codeGen/coreSyn/count_bytes/count_lines/cprAnalysis/deSugar /ghc-inplace/ghc-inplace.c/ghci/hsSyn/iface/ilxGen: prefix is greater than 155 }}} The (one-line) patch does not work: {{{ set -e; for d in `ls -1d stage2/*/`; do ../utils/mkdirhier/mkdirhier /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/compiler/$d; done stage2/*/: No such file or directory gmake[1]: *** [binary-dist] Error 2 }}} `ls` does not work as expected in a simple `/usr/bin/sh` shell (although it works for `/usr/xpg4/bin/sh`) {{{ ls -1d stage2/*/ stage2/*/: No such file or directory }}} In think, the whole line can be simply omitted, as it did not matter for a working distribution! Alternatively {{{ stagedirs = $(wildcard stage$(stage)/*/) [...] set -e; for d in $(stagedirs); do $(INSTALL_DIR) $(BIN_DIST_DIR)/compiler/$$d; done }}} in lines 955 and 963 (formerly 961) seems to work. I'll attach a full log once it's finished. It takes quite long and maybe more work is redone than necessary. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8.2 Component: Build System |Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: Solaris | --+- Comment (by maeder): I've only attached the old log, the new logs differ in the expected ways. The line (961) can be either omitted or my alternative (above) can be used. It seems only copying takes so long for me (at least OpenGL takes ages). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8.2 Component: Build System |Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: Solaris | --+- Comment (by igloo): `$(wildcard stage$(stage)/*/)` was matching files as well as directories for me, so I've put it back how it was originally for now. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris --+- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8.2 Component: Build System |Version: 6.8.1 Severity: normal| Resolution: Keywords:| Difficulty: Unknown Testcase:| Architecture: x86 Os: Solaris | --+- Changes (by igloo): * milestone: = 6.8.2 Comment: Hmm, is this a new problem, or has it always been like that? Does the attached patch fix it? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #1962: make binary-dist creates nested directories under solaris
#1962: make binary-dist creates nested directories under solaris -+-- Reporter: maeder| Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Build System | Version: 6.8.1 Severity: normal|Keywords: Difficulty: Unknown |Testcase: Architecture: x86 | Os: Solaris -+-- {{{ cat Makefile /home/maeder/haskell/pc- solaris/ghc-6.8.1 .20071206/ghc-6.8.1.20071206/compiler/Makefile /home/maeder/haskell/pc-solaris/ghc-6.8.1.20071206/install-sh -c -m 644 packa ge.conf.in /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.2007 1206/compiler/ set -e; for d in stage2/*/; do ../utils/mkdirhier/mkdirhier /home/maeder/haskell /pc-solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/compiler/$d; done mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES/DLL-NOTES mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES/DLL-NOTES/HSghc.o mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES/DLL-NOTES/HSghc.o/HsVersions.h mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES/DLL-NOTES/HSghc.o/HsVersions.h/Makefile mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES/DLL- NOTES/HSghc.o/HsVersions.h/Makefile/Makefile.ghcbin mkdir /home/maeder/haskell/pc- solaris/ghc-6.8.1.20071206/ghc-6.8.1.20071206/comp iler/stage2/DEPEND-NOTES/DLL- NOTES/HSghc.o/HsVersions.h/Makefile/Makefile.ghcbin /NOTES }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1962 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs