linux build broken

Simon Peyton Jones simonpj at microsoft.com
Wed Apr 5 15:29:44 UTC 2017


My linux build is broken.  See below.  Help!
Simon

libraries/time/ghc.mk:4: libraries/time/dist-install/build/.depend-v-dyn.haskell: No such file or directory
"rm" -f libraries/time/dist-install/build/.depend-v-dyn.haskell.tmp
"inplace/bin/ghc-stage1" -M -static  -O0 -H64m -Wall -fllvm-fill-undef-with-garbage    -Werror -Wcpp-undef    -this-unit-id time-1.8.0.1 -hide-all-packages -i -ilibraries/time/lib -ilibraries/time/dist-install/build -Ilibraries/time/dist-install/build -ilibraries/time/dist-install/build/./autogen -Ilibraries/time/dist-install/build/./autogen -Ilibraries/time/lib/include   -optP-DLANGUAGE_Rank2Types -optP-DLANGUAGE_DeriveDataTypeable -optP-DLANGUAGE_StandaloneDeriving -optP-include -optPlibraries/time/dist-install/build/./autogen/cabal_macros.h -package-id base-4.10.0.0 -package-id deepseq-1.4.3.0 -Wall -fwarn-tabs -XHaskell2010 -XCPP -XRank2Types -XDeriveDataTypeable -XStandaloneDeriving -O -dcore-lint -dno-debug-output -ticky  -no-user-package-db -rtsopts -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/time/dist-install/build -hidir libraries/time/dist-install/build -stubdir libraries/time/dist-install/build -dep-makefile libraries/time/dist-install/build/.depend-v-dyn.haskell.tmp -dep-suffix "" -dep-suffix "dyn_" -include-pkg-deps   libraries/time/lib/Data/Time/Calendar.hs  libraries/time/lib/Data/Time/Calendar/MonthDay.hs  libraries/time/lib/Data/Time/Calendar/OrdinalDate.hs  libraries/time/lib/Data/Time/Calendar/WeekDate.hs  libraries/time/lib/Data/Time/Calendar/Julian.hs  libraries/time/lib/Data/Time/Calendar/Easter.hs  libraries/time/lib/Data/Time/Clock.hs  libraries/time/lib/Data/Time/Clock/System.hs  libraries/time/lib/Data/Time/Clock/POSIX.hs  libraries/time/lib/Data/Time/Clock/TAI.hs  libraries/time/lib/Data/Time/LocalTime.hs  libraries/time/lib/Data/Time/Format.hs  libraries/time/lib/Data/Time.hs  libraries/time/lib/Data/Time/Calendar/Private.hs  libraries/time/lib/Data/Time/Calendar/Days.hs  libraries/time/lib/Data/Time/Calendar/Gregorian.hs  libraries/time/lib/Data/Time/Calendar/JulianYearDay.hs  libraries/time/lib/Data/Time/Clock/Internal/DiffTime.hs  libraries/time/lib/Data/Time/Clock/Internal/AbsoluteTime.hs  libraries/time/lib/Data/Time/Clock/Internal/NominalDiffTime.hs  libraries/time/lib/Data/Time/Clock/Internal/POSIXTime.hs  libraries/time/lib/Data/Time/Clock/Internal/UniversalTime.hs  libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs  libraries/time/lib/Data/Time/Clock/Internal/UTCTime.hs  libraries/time/lib/Data/Time/Clock/Internal/CTimeval.hs  libraries/time/dist-install/build/Data/Time/Clock/Internal/CTimespec.hs  libraries/time/lib/Data/Time/Clock/Internal/UTCDiff.hs  libraries/time/lib/Data/Time/LocalTime/Internal/TimeZone.hs  libraries/time/lib/Data/Time/LocalTime/Internal/TimeOfDay.hs  libraries/time/lib/Data/Time/LocalTime/Internal/LocalTime.hs  libraries/time/lib/Data/Time/LocalTime/Internal/ZonedTime.hs  libraries/time/lib/Data/Time/Format/Parse.hs  libraries/time/lib/Data/Time/Format/Locale.hs

libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs:22:0: error:
     error: "HAVE_CLOCK_GETTIME" is not defined [-Werror=undef]
   |
22 | #elif HAVE_CLOCK_GETTIME
   | ^

libraries/time/lib/Data/Time/Clock/Internal/SystemTime.hs:70:0: error:
     error: "HAVE_CLOCK_GETTIME" is not defined [-Werror=undef]
   |
70 | #elif HAVE_CLOCK_GETTIME
   | ^
cc1: all warnings being treated as errors
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
make[1]: *** [libraries/time/dist-install/build/.depend-v-dyn.haskell] Error 1
make: *** [all] Error 2
simonpj at cam-05-unx:~/5builds/HEAD-5$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170405/0acb9ca1/attachment.html>


More information about the ghc-devs mailing list