[GHC] #8975: Troubling build warning with GHC 7.8.1 on Mavericks

GHC ghc-devs at haskell.org
Tue Apr 8 21:54:58 UTC 2014


#8975: Troubling build warning with GHC 7.8.1 on Mavericks
----------------------------------+------------------------------
       Reporter:  JohnWiegley     |             Owner:
           Type:  bug             |            Status:  new
       Priority:  normal          |         Milestone:  7.8.1
      Component:  Compiler        |           Version:  7.8.1-rc2
       Keywords:                  |  Operating System:  MacOS X
   Architecture:  x86_64 (amd64)  |   Type of failure:  Other
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+------------------------------
 When building with gcc 4.8, I see this non-fatal error in the build log:

 {{{
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
 -package-name time-1.4.2 -hide-all-packages -i -ilibraries/time/.
 -ilibraries/time/dist-install/build -ilibraries/time/dist-
 install/build/autogen -Ilibraries/time/dist-install/build -Ilibraries/time
 /dist-install/build/autogen -Ilibraries/time/include   -optP-
 DLANGUAGE_Rank2Types -optP-DLANGUAGE_DeriveDataTypeable -optP-
 DLANGUAGE_StandaloneDeriving -optP-include -optPlibraries/time/dist-
 install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package
 deepseq-1.3.0.2 -package old-locale-1.0.0.6 -Wall -XHaskell2010 -XCPP
 -XRank2Types -XDeriveDataTypeable -XStandaloneDeriving -O2  -no-user-
 package-db -rtsopts      -odir libraries/time/dist-install/build -hidir
 libraries/time/dist-install/build -stubdir libraries/time/dist-
 install/build -split-objs -dynamic-too -c
 libraries/time/./Data/Time/Calendar/Days.hs -o libraries/time/dist-
 install/build/Data/Time/Calendar/Days.o -dyno libraries/time/dist-
 install/build/Data/Time/Calendar/Days.dyn_o
 /usr/local/src/ghc-7.8.1/libraries/base/dist-
 install/build/Data/Typeable/Internal.hi
 Declaration for mkTyConApp
 Unfolding of Data.Typeable.Internal.mkTyConApp:
   Failed to load interface for ‘GHC.Fingerprint’
   There are files missing in the ‘base’ package,
   try running 'ghc-pkg check'.
   Use -v to see a list of the files searched for.
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
 -package-name time-1.4.2 -hide-all-packages -i -ilibraries/time/.
 -ilibraries/time/dist-install/build -ilibraries/time/dist-
 install/build/autogen -Ilibraries/time/dist-install/build -Ilibraries/time
 /dist-install/build/autogen -Ilibraries/time/include   -optP-
 DLANGUAGE_Rank2Types -optP-DLANGUAGE_DeriveDataTypeable -optP-
 DLANGUAGE_StandaloneDeriving -optP-include -optPlibraries/time/dist-
 install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package
 deepseq-1.3.0.2 -package old-locale-1.0.0.6 -Wall -XHaskell2010 -XCPP
 -XRank2Types -XDeriveDataTypeable -XStandaloneDeriving -O2  -no-user-
 package-db -rtsopts      -odir libraries/time/dist-install/build -hidir
 libraries/time/dist-install/build -stubdir libraries/time/dist-
 install/build -split-objs -dynamic-too -c
 libraries/time/./Data/Time/Clock/Scale.hs -o libraries/time/dist-
 install/build/Data/Time/Clock/Scale.o -dyno libraries/time/dist-
 install/build/Data/Time/Clock/Scale.dyn_o
 /usr/local/src/ghc-7.8.1/libraries/base/dist-
 install/build/Data/Typeable/Internal.hi
 Declaration for mkTyConApp
 Unfolding of Data.Typeable.Internal.mkTyConApp:
   Failed to load interface for ‘GHC.Fingerprint’
   There are files missing in the ‘base’ package,
   try running 'ghc-pkg check'.
   Use -v to see a list of the files searched for.
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O
 -package-name time-1.4.2 -hide-all-packages -i -ilibraries/time/.
 -ilibraries/time/dist-install/build -ilibraries/time/dist-
 install/build/autogen -Ilibraries/time/dist-install/build -Ilibraries/time
 /dist-install/build/autogen -Ilibraries/time/include   -optP-
 DLANGUAGE_Rank2Types -optP-DLANGUAGE_DeriveDataTypeable -optP-
 DLANGUAGE_StandaloneDeriving -optP-include -optPlibraries/time/dist-
 install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package
 deepseq-1.3.0.2 -package old-locale-1.0.0.6 -Wall -XHaskell2010 -XCPP
 -XRank2Types -XDeriveDataTypeable -XStandaloneDeriving -O2  -no-user-
 package-db -rtsopts      -odir libraries/time/dist-install/build -hidir
 libraries/time/dist-install/build -stubdir libraries/time/dist-
 install/build -split-objs -dynamic-too -c
 libraries/time/./Data/Time/Clock/UTC.hs -o libraries/time/dist-
 install/build/Data/Time/Clock/UTC.o -dyno libraries/time/dist-
 install/build/Data/Time/Clock/UTC.dyn_o
 }}}

 I don't know if this is actually a problem or not, but since it doesn't
 cause make to fail, it possible that it may not have been noticed yet.

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


More information about the ghc-tickets mailing list