[GHC] #8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.7 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 (amd64) | Type of failure: Other Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------+------------------------------------- Compiling ghc from git HEAD (e4a4abae21d14a6c1a4ae875fa582e2b389dc177) with a pretty standard mk/build.mk {{{
diff mk/build.mk mk/build.mk.sample 12c12 < BuildFlavour = perf
#BuildFlavour = perf }}}
Once I install ghc-7.7 and try to use cabal to install other libraries I get: {{{ Building aeson-0.7.0.0... Failed to install aeson-0.7.0.0 Last 10 lines of the build log ( /home/erikd/.cabal/logs/aeson-0.7.0.0.log ): [ 9 of 12] Compiling Data.Aeson.Encode ( Data/Aeson/Encode.hs, dist/build/Data/Aeson/Encode.o ) [10 of 12] Compiling Data.Aeson.Generic ( Data/Aeson/Generic.hs, dist/build/Data/Aeson/Generic.o ) [11 of 12] Compiling Data.Aeson ( Data/Aeson.hs, dist/build/Data/Aeson.o ) [12 of 12] Compiling Data.Aeson.TH ( Data/Aeson/TH.hs, dist/build/Data/Aeson/TH.o ) [ 1 of 12] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.p_o ) Top level: Failed to load interface for ‛GHC.Integer.Type’ Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’? Use -v to see a list of the files searched for. Updating documentation index /home/erikd/.cabal/share/doc/index.html cabal: Error: some packages failed to install: aeson-0.7.0.0 failed during the building phase. The exception was: ExitFailure 1 }}} My cabal setup has: {{{ library-profiling: True }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ --------------------------------------+---------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+---------------------------------- Comment (by erikd): Disabling library-profiling avoids the problem. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ --------------------------------------+---------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+---------------------------------- Comment (by carter): So is this a GHC problem, or a cabal problem? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ --------------------------------------+---------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+---------------------------------- Comment (by erikd): The cabal build log file: {{{ Component build order: library creating dist/build creating dist/build/autogen Building aeson-0.7.0.0... Preprocessing library aeson-0.7.0.0... Building library... /home/erikd/GHC/7.7/bin/ghc --info /home/erikd/GHC/7.7/bin/ghc --info creating dist/build /home/erikd/GHC/7.7/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-DGENERICS -optP-include -optPdist/build/autogen/cabal_macros.h -package-name aeson-0.7.0.0 -hide-all-packages -package-db dist/package.conf.inplace -package-id attoparsec-0.11.1.0-41c8e6aca2df0303e7fe3000d38cdfe4 -package- id base-4.7.0.0-7045a3b993088c3620448daac451f892 -package-id bytestring-0.10.2.0-95e8565bd73e658f8a04f3c599d39a67 -package-id containers-0.5.4.0-ee93d8bf2d0dbc80d3cd000138873c1d -package-id deepseq-1.3.0.2-4cd0412e64a1e8bbfd3b43902397eedc -package-id dlist-0.6.0.1-818ad41c2ba39286af31a3187d6f5e93 -package-id ghc- prim-0.3.1.0-f34dd3e2fe06f1014ab1ab7da9096f19 -package-id hashable-1.2.1.0-e936d46f7d359acc8e35d15529c3295a -package-id mtl-2.1.2-6444f48cdf94b59c5c94d8d5b22eafb8 -package-id old- locale-1.0.0.6-7f7810d13b50a4e0ba71391410f0a13e -package-id scientific-0.2.0.1-bfb7d6fb06d533734666bf8460c53ef6 -package-id syb-0.4.1-fb6503ac7b51223a59b3e65579dd917c -package-id template- haskell-2.9.0.0-ffa751fe9632ccbba485bb7d6ace9922 -package-id text-1.0.0.1-f3bf9304c38c5d92eaac0b97e91e3a30 -package-id time-1.4.1-a432da9826cf5bd9c6491b0dd1bdc1b6 -package-id unordered- containers-0.2.3.3-3422d4ad45dca90c87dd33dd50eb27da -package-id vector-0.10.9.1-da9f65c706553d09408a712416bc6459 -XHaskell98 Data.Aeson Data.Aeson.Encode Data.Aeson.Generic Data.Aeson.Parser Data.Aeson.Types Data.Aeson.TH Data.Aeson.Functions Data.Aeson.Parser.Internal Data.Aeson.Types.Class Data.Aeson.Types.Instances Data.Aeson.Types.Internal Data.Aeson.Types.Generic -O2 -Wall [ 1 of 12] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.o ) [ 2 of 12] Compiling Data.Aeson.Types.Class ( Data/Aeson/Types/Class.hs, dist/build/Data/Aeson/Types/Class.o ) [ 3 of 12] Compiling Data.Aeson.Functions ( Data/Aeson/Functions.hs, dist/build/Data/Aeson/Functions.o ) [ 4 of 12] Compiling Data.Aeson.Types.Instances ( Data/Aeson/Types/Instances.hs, dist/build/Data/Aeson/Types/Instances.o ) [ 5 of 12] Compiling Data.Aeson.Types.Generic ( Data/Aeson/Types/Generic.hs, dist/build/Data/Aeson/Types/Generic.o ) [ 6 of 12] Compiling Data.Aeson.Types ( Data/Aeson/Types.hs, dist/build/Data/Aeson/Types.o ) [ 7 of 12] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, dist/build/Data/Aeson/Parser/Internal.o ) [ 8 of 12] Compiling Data.Aeson.Parser ( Data/Aeson/Parser.hs, dist/build/Data/Aeson/Parser.o ) [ 9 of 12] Compiling Data.Aeson.Encode ( Data/Aeson/Encode.hs, dist/build/Data/Aeson/Encode.o ) [10 of 12] Compiling Data.Aeson.Generic ( Data/Aeson/Generic.hs, dist/build/Data/Aeson/Generic.o ) [11 of 12] Compiling Data.Aeson ( Data/Aeson.hs, dist/build/Data/Aeson.o ) [12 of 12] Compiling Data.Aeson.TH ( Data/Aeson/TH.hs, dist/build/Data/Aeson/TH.o ) /home/erikd/GHC/7.7/bin/ghc --make -fbuilding-cabal-package -O -prof -osuf p_o -hisuf p_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-DGENERICS -optP-include -optPdist/build/autogen/cabal_macros.h -package-name aeson-0.7.0.0 -hide- all-packages -package-db dist/package.conf.inplace -package-id attoparsec-0.11.1.0-41c8e6aca2df0303e7fe3000d38cdfe4 -package-id base-4.7.0.0-7045a3b993088c3620448daac451f892 -package-id bytestring-0.10.2.0-95e8565bd73e658f8a04f3c599d39a67 -package-id containers-0.5.4.0-ee93d8bf2d0dbc80d3cd000138873c1d -package-id deepseq-1.3.0.2-4cd0412e64a1e8bbfd3b43902397eedc -package-id dlist-0.6.0.1-818ad41c2ba39286af31a3187d6f5e93 -package-id ghc- prim-0.3.1.0-f34dd3e2fe06f1014ab1ab7da9096f19 -package-id hashable-1.2.1.0-e936d46f7d359acc8e35d15529c3295a -package-id mtl-2.1.2-6444f48cdf94b59c5c94d8d5b22eafb8 -package-id old- locale-1.0.0.6-7f7810d13b50a4e0ba71391410f0a13e -package-id scientific-0.2.0.1-bfb7d6fb06d533734666bf8460c53ef6 -package-id syb-0.4.1-fb6503ac7b51223a59b3e65579dd917c -package-id template- haskell-2.9.0.0-ffa751fe9632ccbba485bb7d6ace9922 -package-id text-1.0.0.1-f3bf9304c38c5d92eaac0b97e91e3a30 -package-id time-1.4.1-a432da9826cf5bd9c6491b0dd1bdc1b6 -package-id unordered- containers-0.2.3.3-3422d4ad45dca90c87dd33dd50eb27da -package-id vector-0.10.9.1-da9f65c706553d09408a712416bc6459 -XHaskell98 Data.Aeson Data.Aeson.Encode Data.Aeson.Generic Data.Aeson.Parser Data.Aeson.Types Data.Aeson.TH Data.Aeson.Functions Data.Aeson.Parser.Internal Data.Aeson.Types.Class Data.Aeson.Types.Instances Data.Aeson.Types.Internal Data.Aeson.Types.Generic -O2 -Wall [ 1 of 12] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.p_o ) Top level: Failed to load interface for ‛GHC.Integer.Type’ Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’? Use -v to see a list of the files searched for. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ -------------------------------------+---------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: Template Haskell | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+---------------------------------- Changes (by hvr): * cc: thoughtpolice (added) * failure: Other => None/Unknown * priority: normal => highest * component: libraries (other) => Template Haskell * milestone: => 7.8.1 Comment: Here's the core of the problem, TH wants to use the profiling version of the libraries, when `-prof` is in effect: {{{ $ echo 'main = return ()' > t8677.hs $ ghc --make -prof t8677.hs [1 of 1] Compiling Main ( t8677.hs, t8677.o ) Linking t8677 ... $ ghc -XTemplateHaskell --make -prof t8677.hs [1 of 1] Compiling Main ( t8677.hs, t8677.o ) [flags changed] Top level: Failed to load interface for ‛GHC.Integer.Type’ Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’? Use -v to see a list of the files searched for. $ ghc -XTemplateHaskell --make t8677.hs [1 of 1] Compiling Main ( t8677.hs, t8677.o ) Linking t8677 ... }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ -------------------------------------+---------------------------------- Reporter: erikd | Owner: thoughtpolice Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: Template Haskell | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+---------------------------------- Changes (by thoughtpolice): * owner: => thoughtpolice -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-
gmp’
-------------------------------------+----------------------------------
Reporter: erikd | Owner: thoughtpolice
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Template Haskell | Version: 7.7
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+----------------------------------
Comment (by Austin Seipp

#8677: Perhaps you haven't installed the "p_dyn" libraries for package ‛integer- gmp’ -------------------------------------+---------------------------------- Reporter: erikd | Owner: thoughtpolice Type: bug | Status: closed Priority: highest | Milestone: 7.8.1 Component: Template Haskell | Version: 7.7 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+---------------------------------- Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: This should now be fixed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8677#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC