#4072: Local package DB doesn't take preference over global DB
---------------------------------+------------------------------------------
    Reporter:  tibbe             |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Package system    |      Version:  6.12.1      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by tibbe):

  * status:  infoneeded => new
  * version:  6.12.2 => 6.12.1


Comment:

 I reran everything on my Mac which uses GHC 6.12.1.

 {{{
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.12.1
 }}}

 {{{
 $ ghc -v -c tests/Append.hs -package-conf dist/package.conf.inplace
 Glasgow Haskell Compiler, Version 6.12.1, for Haskell 98, stage 2 booted
 by GHC version 6.10.4
 Using binary package database:
 /Users/tibell/lib/ghc-6.12.1/package.conf.d/package.cache
 Using binary package database:
 /Users/tibell/.ghc/i386-darwin-6.12.1/package.conf.d/package.cache
 Using package config file: dist/package.conf.inplace
 package text-0.7.1.0-3478e6d457c09a360e09e1754b887004 is shadowed by
 package text-0.7.1.0-f3ff1e691f6e2bb2c224b14eb7333296
 hiding package base-3.0.3.2 to avoid conflict with later version
 base-4.2.0.0
 hiding package parsec-2.1.0.1 to avoid conflict with later version
 parsec-3.1.0
 hiding package utf8-string-0.3.4 to avoid conflict with later version
 utf8-string-0.3.6
 wired-in package ghc-prim mapped to ghc-
 prim-0.2.0.0-3fbcc20c802efcd7c82089ec77d92990
 wired-in package integer-gmp mapped to integer-
 gmp-0.2.0.0-fa82a0df93dc30b4a7c5654dd7c68cf4
 wired-in package base mapped to
 base-4.2.0.0-0120a3650a6376da8d1b6a4e48a2973a
 wired-in package rts mapped to builtin_rts
 wired-in package haskell98 mapped to
 haskell98-1.0.1.1-0fdaf3b26bc38c43ce8371edf538dbf6
 wired-in package template-haskell mapped to template-
 haskell-2.4.0.0-6f9a3474dda67f558857ddda42966d27
 wired-in package dph-seq mapped to dph-
 seq-0.4.0-1f5167ea371010387123b68e975177b2
 wired-in package dph-par mapped to dph-
 par-0.4.0-4e569f28e047d67d87266113526bc6ec
 Hsc static flags: -static
 Created temporary directory:
 /var/folders/zz/zzzivhrRnAmviuee++0ZSk++dLg/-Tmp-//ghc32351_0
 *** Checking old interface for main:Append:
 *** Parser:
 *** Renamer/typechecker:

 tests/Append.hs:4:0:
     Failed to load interface for `Data.Text.Lazy.Builder':
       locations searched:
         Data/Text/Lazy/Builder.hi
         Data/Text/Lazy/Builder.hi-boot
 *** Deleting temp files:
 Deleting:
 /var/folders/zz/zzzivhrRnAmviuee++0ZSk++dLg/-Tmp-//ghc32351_0/ghc32351_0.s
 Warning: deleting non-existent
 /var/folders/zz/zzzivhrRnAmviuee++0ZSk++dLg/-Tmp-//ghc32351_0/ghc32351_0.s
 *** Deleting temp dirs:
 Deleting: /var/folders/zz/zzzivhrRnAmviuee++0ZSk++dLg/-Tmp-//ghc32351_0
 }}}

 {{{
 $ cat dist/package.conf.inplace
 [InstalledPackageInfo {installedPackageId = InstalledPackageId
 "text-0.7.1.0-3478e6d457c09a360e09e1754b887004", sourcePackageId =
 PackageIdentifier {pkgName = PackageName "text", pkgVersion = Version
 {versionBranch = [0,7,1,0], versionTags = []}}, license = BSD3, copyright
 = "2008-2009 Tom Harper, 2009 Bryan O'Sullivan", maintainer = "Bryan
 O'Sullivan <[email protected]>\nTom Harper
 <[email protected]>\nDuncan Coutts <[email protected]>",
 author = "Tom Harper <[email protected]>", stability = "",
 homepage = "", pkgUrl = "", description = "An efficient packed Unicode
 text type.", category = "Data, Text", exposed = True, exposedModules =
 
["Data.Text","Data.Text.Encoding","Data.Text.Encoding.Error","Data.Text.Foreign","Data.Text.IO","Data.Text.Lazy","Data.Text.Lazy.Builder","Data.Text.Lazy.Encoding","Data.Text.Lazy.IO"],
 hiddenModules =
 
["Data.Text.Array","Data.Text.Encoding.Fusion","Data.Text.Encoding.Fusion.Common","Data.Text.Encoding.Utf16","Data.Text.Encoding.Utf32","Data.Text.Encoding.Utf8","Data.Text.Fusion","Data.Text.Fusion.CaseMapping","Data.Text.Fusion.Common","Data.Text.Fusion.Internal","Data.Text.Fusion.Size","Data.Text.IO.Internal","Data.Text.Internal","Data.Text.Lazy.Encoding.Fusion","Data.Text.Lazy.Fusion","Data.Text.Lazy.Internal","Data.Text.Lazy.Search","Data.Text.Search","Data.Text.Unsafe","Data.Text.UnsafeChar","Data.Text.UnsafeShift"],
 importDirs = ["/Users/tibell/src/text/dist/build"], libraryDirs =
 ["/Users/tibell/src/text/dist/build"], hsLibraries = ["HStext-0.7.1.0"],
 extraLibraries = [], extraGHCiLibraries = [], includeDirs = [], includes =
 [], depends = [InstalledPackageId
 "base-4.2.0.0-0120a3650a6376da8d1b6a4e48a2973a",InstalledPackageId
 "bytestring-0.9.1.5-40bf742614570450dbe8c16aa8a1f22f",InstalledPackageId
 "deepseq-1.1.0.0-14fbf43e1c607f21a1eab1783c9c45d4",InstalledPackageId
 "ghc-prim-0.2.0.0-3fbcc20c802efcd7c82089ec77d92990"], hugsOptions = [],
 ccOptions = [], ldOptions = [], frameworkDirs = [], frameworks = [],
 haddockInterfaces =
 ["/Users/tibell/src/text/dist/doc/html/text/text.haddock"], haddockHTMLs =
 ["/Users/tibell/src/text/dist/doc/html/text"]}
 }}}

 {{{
 $ ghc-pkg list -v
 using cache:
 /Users/tibell/.ghc/i386-darwin-6.12.1/package.conf.d/package.cache
 using cache: /Users/tibell/lib/ghc-6.12.1/package.conf.d/package.cache
 /Users/tibell/lib/ghc-6.12.1/package.conf.d
    Cabal-1.8.0.2 (Cabal-1.8.0.2-a08510b9460f1b65f9dee06ed53f0650)
    array-0.3.0.0 (array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98)
    base-3.0.3.2 (base-3.0.3.2-52acef427378232ec569bca0486ee48f)
    base-4.2.0.0 (base-4.2.0.0-0120a3650a6376da8d1b6a4e48a2973a)
    bin-package-db-0.0.0.0 (bin-package-
 db-0.0.0.0-0c559ebe951f9972c4e6dfe5ebd4ce6a)
    bytestring-0.9.1.5
 (bytestring-0.9.1.5-40bf742614570450dbe8c16aa8a1f22f)
    containers-0.3.0.0
 (containers-0.3.0.0-409fe3b8f0dda25b98e03716d26be411)
    directory-1.0.1.0 (directory-1.0.1.0-76dcb137db629447ae580c8e076170d0)
    dph-base-0.4.0 (dph-base-0.4.0-385a36312e9cc9bc5a672eb91d4e2be8)
    dph-par-0.4.0 (dph-par-0.4.0-4e569f28e047d67d87266113526bc6ec)
    dph-prim-interface-0.4.0 (dph-prim-
 interface-0.4.0-1badc74b9fa32117e97af15c908ef542)
    dph-prim-par-0.4.0 (dph-prim-
 par-0.4.0-e3a413f286eb1d5d727762c2087de132)
    dph-prim-seq-0.4.0 (dph-prim-
 seq-0.4.0-23150bc82f21bd4268b1551af7a32901)
    dph-seq-0.4.0 (dph-seq-0.4.0-1f5167ea371010387123b68e975177b2)
    extensible-exceptions-0.1.1.1 (extensible-
 exceptions-0.1.1.1-95db30aec4429ef77db437055a224b2f)
    ffi-1.0 (builtin_ffi)
    filepath-1.1.0.3 (filepath-1.1.0.3-07812de93a673f50011d47451bcaac87)
    ghc-6.12.1 (ghc-6.12.1-847ad37a64be24ef1f05076e1cc08822)
    ghc-binary-0.5.0.2 (ghc-
 binary-0.5.0.2-359d07c3fa596bee47da084cc306672c)
    ghc-prim-0.2.0.0 (ghc-prim-0.2.0.0-3fbcc20c802efcd7c82089ec77d92990)
    haskell98-1.0.1.1 (haskell98-1.0.1.1-0fdaf3b26bc38c43ce8371edf538dbf6)
    hpc-0.5.0.4 (hpc-0.5.0.4-dfca13f05bd06f4a5ebf115df50daf93)
    integer-gmp-0.2.0.0 (integer-
 gmp-0.2.0.0-fa82a0df93dc30b4a7c5654dd7c68cf4)
    old-locale-1.0.0.2 (old-
 locale-1.0.0.2-ef43da9d308528e2994f68a00a6ea03f)
    old-time-1.0.0.3 (old-time-1.0.0.3-c6cff546303cb0a62627341768f3fe9d)
    pretty-1.0.1.1 (pretty-1.0.1.1-2bfa34c699efff7eed4d6297a2dac12d)
    process-1.0.1.2 (process-1.0.1.2-9a5e262f816b13040046ceaaabf515b9)
    random-1.0.0.2 (random-1.0.0.2-156803737564049405b3380fdb96ac75)
    rts-1.0 (builtin_rts)
    syb-0.1.0.2 (syb-0.1.0.2-1e7e0c316929641cb3237a60e3b63680)
    template-haskell-2.4.0.0 (template-
 haskell-2.4.0.0-6f9a3474dda67f558857ddda42966d27)
    time-1.1.4 (time-1.1.4-74673f7d068def85b6a33c1cfba358a9)
    unix-2.4.0.0 (unix-2.4.0.0-b7e23656587457fe3b2d4527ca7a9d1e)
    utf8-string-0.3.4 (utf8-string-0.3.4-933a608a1f0fee8fdcb9c114521ed4a3)
 /Users/tibell/.ghc/i386-darwin-6.12.1/package.conf.d
    HTTP-4000.0.9 (HTTP-4000.0.9-7e24b1122d18f0c24d4076c273b47984)
    HUnit-1.2.2.1 (HUnit-1.2.2.1-daec846a628edb1d64790c91b148ab44)
    QuickCheck-1.2.0.0
 (QuickCheck-1.2.0.0-7b47a96dc3702c437a94e77520813983)
    ansi-terminal-0.5.0 (ansi-
 terminal-0.5.0-d4c3d4a136c6a0dfe948ddb7633ba5dd)
    ansi-wl-pprint-0.5.1 (ansi-wl-
 pprint-0.5.1-7c43bf81a40fe6173bb137159009f383)
    attoparsec-0.7.2 (attoparsec-0.7.2-3df9c4f6e52ca46d839552e08a9ff6db)
    binary-0.5.0.2 (binary-0.5.0.2-32d59ff8fdfc79aa888e82997612374d)
    bytestring-lexing-0.2 (bytestring-
 lexing-0.2-0ee9e2b0a9f2ec3a843c96347b6192c4)
    bytestring-show-0.3.3 (bytestring-
 show-0.3.3-36ce6f59debf73cbcebdbf5ee60a171b)
    colorize-haskell-1.0.0 (colorize-
 haskell-1.0.0-0ca99a6b5f9d408a0c6bbb8326f1a84e)
    cpphs-1.11 (cpphs-1.11-20b9349b60ba9e187ce20bacef8124a5)
    criterion-0.5.0.0 (criterion-0.5.0.0-c6b1d4bd37e572ceed8875b211c24c92)
    darcs-2.4 (darcs-2.4-30a2cd4bf8000b7363ab65978447ae28)
    dataenc-0.13.0.2 (dataenc-0.13.0.2-fff024fd1fa559f138783f4eadd3b089)
    deepseq-1.1.0.0 (deepseq-1.1.0.0-14fbf43e1c607f21a1eab1783c9c45d4)
    erf-1.0.0.0 (erf-1.0.0.0-5c7468e66e503f83b6c0b4bd9b5314dd)
    hashed-storage-0.4.10 (hashed-
 storage-0.4.10-8e589882af9c73ab9e24cd882cd5708f)
    haskeline-0.6.2.2 (haskeline-0.6.2.2-f765b66cae13743311de76fb1acd35a7)
    haskell-lexer-1.0 (haskell-lexer-1.0-7a0e661a587aa1e9470a503cd81427eb)
    haskell-src-exts-1.8.2 (haskell-src-
 exts-1.8.2-19290f2ea063bce22cc0a937480d79b5)
    hlint-1.6.20 (hlint-1.6.20-e4d2f201c8692737eac12f8a757caba2)
    hscolour-1.16 (hscolour-1.16-9f4f7ed84abf27a62d45f23aa0686fd6)
    html-1.0.1.2 (html-1.0.1.2-ec3ad8564598b5941cf8f41a6f9eb204)
    mmap-0.4.1 (mmap-0.4.1-2ea1377fda2570a2182e5c7742f6038c)
    mtl-1.1.0.2 (mtl-1.1.0.2-23ca4de7c573fd4df309067199a40634)
    mwc-random-0.5.0.0 (mwc-
 random-0.5.0.0-99a9ed4c70c333c803666d508c9398b2)
    network-2.2.1.7 (network-2.2.1.7-cfac5b30151913fe3c8caab5c51725b6)
    network-bytestring-0.1.2.1 (network-
 bytestring-0.1.2.1-9235782229d2af814e115cb792f4904f)
    parallel-2.2.0.1 (parallel-2.2.0.1-121beecc05d19b9beddc691b365930e6)
    parsec-2.1.0.1 (parsec-2.1.0.1-91f812a3d0afbf2623a0ac5e1bf5c025)
    parsec-3.1.0 (parsec-3.1.0-997f60fe0e1cf4b8713019c85ebc8146)
    pcre-light-0.3.1.1 (pcre-
 light-0.3.1.1-c087122a5102def827d619c8af005d9b)
    primitive-0.2.1 (primitive-0.2.1-86adcccf723ce701d68de64cd0cf1410)
    regex-base-0.93.1 (regex-base-0.93.1-a2ea37053977c710cec9c904296eec1c)
    regex-compat-0.92 (regex-compat-0.92-8c321f869d60c35efcefa7ef225e7f82)
    regex-posix-0.94.1 (regex-
 posix-0.94.1-bea45d760bb578221be6403b5dde30f9)
    statistics-0.5.1.0
 (statistics-0.5.1.0-c5435bdc2c92e8d171ad9bdf44c93367)
    stm-2.1.1.2 (stm-2.1.1.2-9e44809d58563cca54113fa78642d02e)
    terminfo-0.3.1.2 (terminfo-0.3.1.2-9cb959a40a61a7a4757db167d74a2774)
    test-framework-0.2.4 (test-
 framework-0.2.4-98b13e0c8f750ff00fb35a629c39a575)
    test-framework-hunit-0.2.4 (test-framework-
 hunit-0.2.4-e4b61665bffcbb153db438b77f73935d)
    test-framework-quickcheck-0.2.4 (test-framework-
 quickcheck-0.2.4-370807581ed98f2bc4635eff1b3fbc0c)
    text-0.7.1.0 (text-0.7.1.0-f3ff1e691f6e2bb2c224b14eb7333296)
    transformers-0.2.0.0
 (transformers-0.2.0.0-e234f3a655b5e4b193d3161e17c6eea7)
    uniplate-1.5.1 (uniplate-1.5.1-564e2c54fea53056149e275b3c099bd4)
    utf8-string-0.3.6 (utf8-string-0.3.6-d7797d712cca25670d7fb7363fca9348)
    vector-0.5 (vector-0.5-346bcf6ff59cfcf98b0b9a238d5a24f6)
    vector-algorithms-0.3 (vector-
 algorithms-0.3-1dedc94604d37aae1aaa11b4a71aec23)
    zlib-0.5.2.0 (zlib-0.5.2.0-b96bdf8b31c306d60b63dbb26a49d3a4)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4072#comment:5>
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