[GHC] #11326: bindist built in docker won't install

GHC ghc-devs at haskell.org
Thu Dec 31 18:06:29 UTC 2015


#11326: bindist built in docker won't install
-------------------------------------+-------------------------------------
           Reporter:  alanz          |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Building with
 https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux#Docker as
 follows

 {{{
 git checkout e4cc19de4bdbccea589d41717e31d63b088a8990
 git submodule update
 ./configure
 CPUS=5 ./validate
 }}}

 Thereafter

 {{{
 tar xvf ~/mysrc/git.haskell.org/ghc/bindistprep/ghc-7.11.20151229-x86_64
 -unknown-linux.tar.bz2
 cd ghc-7.11.20151229
 ./configure
 make install
 }}}

 Fails with

 {{{
 "utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries
 /ghc-prim dist-install "strip" '' '/opt/ghc/7.11.20151229'
 '/opt/ghc/7.11.20151229/lib/ghc-7.11.20151229'
 '/opt/ghc/7.11.20151229/share/doc/ghc/html/libraries' 'v  dyn'
 ghc-cabal: /home/ghc/libraries/ghc-prim/ghc-prim.cabal: does not exist
 }}}

 The path `/home/ghc/libraries/ghc-prim/ghc-prim.cabal` is the absolute
 path to the file in the docker file system, i.e. it is the location when
 the tar was constructed.

 Bisection log

 {{{
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git checkout
 5bb7fecb09f828ea41e5b5a295ea159fa405dcc5
 M       libraries/Cabal
 M       libraries/primitive
 M       libraries/unix
 M       utils/haddock
 Note: checking out '5bb7fecb09f828ea41e5b5a295ea159fa405dcc5'.

 You are in 'detached HEAD' state. You can look around, make experimental
 changes and commit them, and you can discard any commits you make in this
 state without impacting any branches by performing another checkout.

 If you want to create a new branch to retain commits you create, you may
 do so (now or later) by using -b with the checkout command again. Example:

   git checkout -b <new-branch-name>

 HEAD is now at 5bb7fec... Export some useful GHC API functions.
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git submodule update
 Submodule path 'libraries/Cabal': checked out
 '679812d2b679af952a7c9ab45a9a3a3476874a07'
 Submodule path 'libraries/primitive': checked out
 '83d3d23d2fa1583ecd1b59464cc889924e1b5fff'
 Submodule path 'utils/haddock': checked out
 '80f2f9805b61e8cea291bae8ce22db626dc11f21'
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git bisect good
 Bisecting: 11 revisions left to test after this (roughly 4 steps)
 [c06b46d0313cafe05f8250a660b4481d7c1d298f] Fix #11305.
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git bisect bad
 Bisecting: 5 revisions left to test after this (roughly 3 steps)
 [fcc76493c8b35001fc1b22738cc64ff9506e278a] Introduce negative patterns for
 literals (addresses #11303)
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git bisect good
 Bisecting: 2 revisions left to test after this (roughly 2 steps)
 [e4cc19de4bdbccea589d41717e31d63b088a8990] Update Cabal submodule to
 latest snapshot
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git bisect bad
 Bisecting: 0 revisions left to test after this (roughly 1 step)
 [adcbc98f50cd6bb01dfcf4c98ad5fe414f7cc40c] Add regression test for #11303
 alanz at alanz-laptop:~/mysrc/git.haskell.org/ghc$ git bisect good
 e4cc19de4bdbccea589d41717e31d63b088a8990 is the first bad commit
 commit e4cc19de4bdbccea589d41717e31d63b088a8990
 Author: Herbert Valerio Riedel <hvr at gnu.org>
 Date:   Tue Dec 29 22:19:54 2015 +0100

     Update Cabal submodule to latest snapshot

 :040000 040000 9ba8cf17f85a186265761f3f1e4a11c809d0a54f
 7cec7703b483a73f07d2414b364e0f3923970b1f M      libraries
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11326>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list