[GHC] #12194: ghc-pkg, package database path containing a trailing slash, and ${pkgroot}
GHC
ghc-devs at haskell.org
Fri Jun 17 01:08:48 UTC 2016
#12194: ghc-pkg, package database path containing a trailing slash, and ${pkgroot}
-------------------------------------+-------------------------------------
Reporter: dudebout | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: ghc-pkg | Version: 8.0.1
Resolution: | Keywords: pkgroot
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2336
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dudebout):
I am seeing the same issue in ghc. If I am not mistaken, the same fix
applies in ghc/compiler/main/Packages.hs at line 419:
https://github.com/ghc/ghc/blob/1937ef1c506b538f0f93cd290fa4a42fc85ab769/compiler/main/Packages.hs#L419
Reading line 355 to 449, it seems like the name is taken straight from the
option or env var. See in particular lines 374/376/393 where the name
comes from.
I have not tried runghc. Would that share the ghc code?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12194#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list