[GHC] #10624: th/T10279 testcase is broken
#10624: th/T10279 testcase is broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- On Debian 7, x86_64. {{{ Actual stderr output differs from expected: --- ./th/T10279.stderr 2015-07-06 17:16:38.923135777 -0400 +++ ./th/T10279.comp.stderr 2015-07-09 08:29:06.443205994 -0400 @@ -1,8 +1,7 @@ -T10279.hs:10:10: - Failed to load interface for ‘A’ - no package key matching ‘rts-1.0’ was found - (This package key looks like the source package ID; - the real package key is ‘rts’) - In the expression: (rts-1.0:A.Foo) - In an equation for ‘blah’: blah = (rts-1.0:A.Foo) +T10279.hs:10:8:ghc-stage2: panic! (the 'impossible' happened) + (GHC version 7.10.1.20150708 for x86_64-unknown-linux): + qual_pkg rts-1.0 + +Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug + *** unexpected failure for T10279(normal) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10624> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10624: th/T10279 testcase is broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by bgamari): * version: 7.10.1 => 7.11 * milestone: => 7.12.1 Comment: I will mark this test as `expect_broken` on the `ghc-7.10` branch for the 7.10.2 release. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10624#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10624: th/T10279 testcase is broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: ezyang Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D1060 -------------------------------------+------------------------------------- Changes (by ezyang): * status: new => patch * differential: => Phab:D1060 Comment: This can be fixed by cherry-picking the following commit from master: {{{ commit cf1d9751e7ca85e9b3284ad57882958b8dc73d16 Author: Edward Z. Yang <ezyang@cs.stanford.edu> Date: Tue Apr 7 09:08:54 2015 -0500 Don't repeat package key with -dppr-debug when package info is missing. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D802 }}} as well as applying the attached Phab diff. When I cherry-picked, I had to fix a minor parenthesization wibble: {{{ commit cbe0615b7d71d340f597032c2009ff771f1b91c8 Author: Edward Z. Yang <ezyang@cs.stanford.edu> Date: Thu Jul 9 10:21:28 2015 -0700 Parenthesization wibble in T10279. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> diff --git a/testsuite/tests/th/T10279.stderr b/testsuite/tests/th/T10279.stderr index 9c72bf9..071ee45 100644 --- a/testsuite/tests/th/T10279.stderr +++ b/testsuite/tests/th/T10279.stderr @@ -1,8 +1,8 @@ -T10279.hs:10:10: +T10279.hs:10:8: Failed to load interface for ‘A’ no package key matching ‘rts-1.0’ was found (This package key looks like the source package ID; the real package key is ‘rts’) - In the expression: (rts-1.0:A.Foo) - In an equation for ‘blah’: blah = (rts-1.0:A.Foo) + In the expression: rts-1.0:A.Foo + In an equation for ‘blah’: blah = rts-1.0:A.Foo }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10624#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10624: th/T10279 testcase is broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: ezyang Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D1060 -------------------------------------+------------------------------------- Comment (by Edward Z. Yang <ezyang@…>): In [changeset:"6f1c0766943cdb9a567c0e2b9d41c5e73c2ff5bc/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="6f1c0766943cdb9a567c0e2b9d41c5e73c2ff5bc" Make mkQualPackage more robust when package key is bad. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: bgamari, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1060 GHC Trac Issues: #10624 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10624#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10624: th/T10279 testcase is broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: ezyang Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.11 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1060 -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10624#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC