#2942: witten/ghc-6.10.1-powerpc-apple-darwin.tar.bz2: make install fails on 
case-
sensitive file system
----------------------------+-----------------------------------------------
    Reporter:  thorkilnaur  |        Owner:  igloo     
        Type:  bug          |       Status:  closed    
    Priority:  normal       |    Milestone:  6.10.2    
   Component:  None         |      Version:  6.10.1    
    Severity:  normal       |   Resolution:  worksforme
    Keywords:               |   Difficulty:  Unknown   
    Testcase:               |           Os:  MacOS X   
Architecture:  powerpc      |  
----------------------------+-----------------------------------------------
Comment (by thorkilnaur):

 Thanks a lot. Note that it is {{{dist-install/build/haddock/haddock}}}
 that is reported as missing, not {{{dist-install/build/Haddock/haddock}}}.
 And the fix is to create {{{utils/haddock/dist-install/build/haddock ->
 Haddock}}}.

 I can reproduce the problem as follows:
 {{{
 $ tar xjf
 
/Volumes/tn18_HD_1/Users/thorkilnaur/tn/download/GHC/www.haskell.org/ghc/dist/6.10.1/witten/ghc-6.10.1
 -powerpc-apple-darwin.tar.bz2
 $ cd ghc-6.10.1/dist/
 $ ./configure
 --prefix=/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B
 checking build system type... powerpc-apple-darwin9.6.0
 checking host system type... powerpc-apple-darwin9.6.0
 checking target system type... powerpc-apple-darwin9.6.0
 Which we'll further canonicalise into: powerpc-apple-darwin
 checking for path to top of build tree...
 /Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist
 checking for perl... /usr/bin/perl
 checking if your perl works in shell scripts... yes
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether ln -s works... yes
 checking for ar... /usr/bin/ar
 checking whether /usr/bin/ar is GNU ar... no
 checking for ar arguments... clqs
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking whether ranlib is needed... yes
 checking for ranlib... ranlib
 checking for sed... /usr/bin/sed
 checking version of gcc... 4.0.1
 checking how to run the C preprocessor... gcc -E
 checking for extra options to pass gcc when compiling via C...  -fwrapv
 configure: creating ./config.status
 config.status: creating Makefile-vars
 config.status: creating extra-gcc-opts
 ****************************************************
 Configuration done, ready to 'make install'
 (see README and INSTALL files for more info.)
 ****************************************************
 $ make install
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/mkdirhier/mkdirhier
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 mkdir /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B
 mkdir /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 make -C includes  install      DOING_BIN_DIST=YES
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/mkdirhier/mkdirhier
 
/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/include
 mkdir /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib
 mkdir
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1
 mkdir
 
/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/include
 for i in Block.h Bytecodes.h ClosureMacros.h ClosureTypes.h Closures.h
 Cmm.h Constants.h DNInvoke.h DerivedConstants.h Dotnet.h FileLock.h
 GHCConstants.h GranSim.h Hooks.h HsFFI.h InfoTables.h Linker.h Liveness.h
 MachDeps.h MachRegs.h OSThreads.h Parallel.h Regs.h Rts.h RtsAPI.h
 RtsConfig.h RtsExternal.h RtsFlags.h RtsMessages.h RtsTypeable.h
 RtsTypes.h SMP.h SMPClosureOps.h STM.h SchedAPI.h Signals.h SpinLock.h
 Stable.h Stg.h StgDLL.h StgFun.h StgLdvProf.h StgMiscClosures.h StgProf.h
 StgTypes.h Storage.h TSO.h TailCalls.h TickyCounters.h config.h
 ghcconfig.h ieee-flpt.h ghcautoconf.h ghcplatform.h; do \
                 /usr/bin/install -c -m 644    $i
 
/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/include;
 \
         done
 make -C utils     install      DOING_BIN_DIST=YES
 ------------------------------------------------------------------------
 == Recursively making `install' in mkdirhier hp2ps parallel unlit ...
 PWD =
 /Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 ------------------------------------------------------------------------
 ------------------------------------------------------------------------
 == make install ;
  in
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/mkdirhier
 ------------------------------------------------------------------------
 make[2]: Nothing to be done for `install'.
 Finished making install in mkdirhier: 0
 ------------------------------------------------------------------------
 == make install ;
  in
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/hp2ps
 ------------------------------------------------------------------------
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/mkdirhier/mkdirhier
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 for i in  hp2ps; do \
                     /usr/bin/install -c -m 755   -m 755   $i
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin ;  \
                     if test "" = "1"; then \
                       sh /mk/fix_install_names.sh
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin/$i ; \
                     fi ; \
         done
 Finished making install in hp2ps: 0
 ------------------------------------------------------------------------
 == make install ;
  in
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/parallel
 ------------------------------------------------------------------------
 make[2]: Nothing to be done for `install'.
 Finished making install in parallel: 0
 ------------------------------------------------------------------------
 == make install ;
  in
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/unlit
 ------------------------------------------------------------------------
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/mkdirhier/mkdirhier
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1
 for i in  unlit; do \
                 /usr/bin/install -c -m 755   -m 755   $i
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1;
 \
                 if test "" = "1"; then \
                         sh /mk/fix_install_names.sh
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1
 
/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/`basename
 $i` ; \
                 fi ; \
         done
 Finished making install in unlit: 0
 ------------------------------------------------------------------------
 == Finished making `install' in mkdirhier hp2ps parallel unlit ...
 PWD =
 /Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 ------------------------------------------------------------------------
 make -C ghc-pkg install
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/installPackage
 /install-inplace/bin/installPackage install
 \
 '/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 /ghc-pkg/dist-install/build/ghc-pkg/ghc-pkg'                      \
 
'/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/package.conf'
 \
                            ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 ''       \
                            --distpref dist-install
 \
                            --enable-shell-wrappers
 Installing executable(s) in
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 make -C hasktags install
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/installPackage
 /install-inplace/bin/installPackage install
 \
 '/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 /ghc-pkg/dist-install/build/ghc-pkg/ghc-pkg'                      \
 
'/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/package.conf'
 \
                            ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 ''       \
                            --distpref dist-install
 \

 Installing executable(s) in
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 make -C runghc install
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/installPackage
 /install-inplace/bin/installPackage install
 \
 '/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 /ghc-pkg/dist-install/build/ghc-pkg/ghc-pkg'                      \
 
'/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/package.conf'
 \
                            ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 ''       \
                            --distpref dist-install
 \
                            --enable-shell-wrappers
 Installing executable(s) in
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 make -C hpc install
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/installPackage
 /install-inplace/bin/installPackage install
 \
 '/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 /ghc-pkg/dist-install/build/ghc-pkg/ghc-pkg'                      \
 
'/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/package.conf'
 \
                            ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 ''       \
                            --distpref dist-install
 \

 Installing executable(s) in
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 make -C haddock install
 
/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils/installPackage
 /install-inplace/bin/installPackage install
 \
 '/Users/thorkilnaur/tn/test/GHC/trac/2942/work/unpack/ghc-6.10.1/dist/utils
 /ghc-pkg/dist-install/build/ghc-pkg/ghc-pkg'                      \
 
'/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/package.conf'
 \
                            ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 ''
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1'
 \
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 '/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/share/doc/ghc'
 ''       \
                            --distpref dist-install
 \
                            --enable-shell-wrappers
 Installing library in
 
/Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/lib/ghc-6.10.1/haddock-2.3.0
 Installing executable(s) in
 /Volumes/tn18_HD_1/Users/thorkilnaur/tn/install/ghc-6.10.1_B/bin
 installPackage: dist-install/build/haddock/haddock: copyFile: does not
 exist (No such file or directory)
 make[2]: *** [install] Error 1
 make[1]: *** [install.haddock] Error 2
 make: *** [install] Error 2
 $
 }}}
 I have left the ticket closed. As mentioned, I have a work-around for this
 problem and I have no need for further activities related to this ticket.

 Thanks again and best regards
 Thorkil

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2942#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to