[GHC] #16378: bkpcabal01 fails with recent Cabal

GHC ghc-devs at haskell.org
Tue Mar 5 03:56:16 UTC 2019


#16378: bkpcabal01 fails with recent Cabal
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 A full log from running the test directly:
 {{{
 ~/ghc/ghc-8.8/testsuite/tests/backpack/cabal/bkpcabal01]$ make bkpcabal01
 rm -f -r tmp.d inst dist Setup
 make -s --no-print-directory clean
 '/mnt/work/ghc/ghc-8.8/inplace/bin/ghc-pkg' init tmp.d
 '/mnt/work/ghc/ghc-8.8/inplace/bin/ghc-stage2' -dcore-lint -dstg-lint
 -dcmm-lint -no-user-package-db -rtsopts  -fno-warn-missed-specialisations
 -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-
 caret -Werror=compat -dno-debug-output -v0 --make Setup
 cp p/P.hs.in1 p/P.hs
 cp q/Q.hs.in1 q/Q.hs
 # typecheck p
 ./Setup -v0 configure --enable-library-vanilla --disable-shared --with-
 ghc='/mnt/work/ghc/ghc-8.8/inplace/bin/ghc-stage2' --ghc-options='-dcore-
 lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts  -fno-warn-missed-
 specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-
 diagnostics-show-caret -Werror=compat -dno-debug-output' --package-
 db=tmp.d
 --prefix='/home/ben/ghc/ghc-8.8/testsuite/tests/backpack/cabal/bkpcabal01/inst'
 --cid "p-0.1" p
 ./Setup -v0 build
 ./Setup -v0 copy
 ./Setup -v0 register
 # build impl
 ./Setup -v0 configure --enable-library-vanilla --disable-shared --with-
 ghc='/mnt/work/ghc/ghc-8.8/inplace/bin/ghc-stage2' --ghc-options='-dcore-
 lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts  -fno-warn-missed-
 specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-
 diagnostics-show-caret -Werror=compat -dno-debug-output' --package-
 db=tmp.d
 --prefix='/home/ben/ghc/ghc-8.8/testsuite/tests/backpack/cabal/bkpcabal01/inst'
 --cid "impl-0.1" impl
 ./Setup -v0 build
 ./Setup -v0 copy
 ./Setup -v0 register
 # typecheck q
 ./Setup -v0 configure --enable-library-vanilla --disable-shared --with-
 ghc='/mnt/work/ghc/ghc-8.8/inplace/bin/ghc-stage2' --ghc-options='-dcore-
 lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts  -fno-warn-missed-
 specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-
 diagnostics-show-caret -Werror=compat -dno-debug-output' --package-
 db=tmp.d
 --prefix='/home/ben/ghc/ghc-8.8/testsuite/tests/backpack/cabal/bkpcabal01/inst'
 --cid "q-0.1" q
 Error:
     The following packages are broken because other packages they depend
 on are missing. These broken packages must be rebuilt before they can be
 used.
 planned package bkpcabal01-0.1.0.0 is broken due to missing package
 p-0.1+FBOSaiWyMx9DR2UZVI6wQJ

 make: *** [Makefile:25: bkpcabal01] Error 1
 }}}

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


More information about the ghc-tickets mailing list