Aargh! Windows build is broken AGAIN

I really wish I did not have to be the Windows integration server. Currently, from a clean build of HEAD, I'm getting libraries\base\GHC\Event\TimerManager.hs:62:3: error: error: #error not implemented for this operating system # error not implemented for this operating system ^ I'd revert something if I could, but I can't see what to revert. Help, please! Simon

Hi Simon, Sorry for the broken build again. Since your last email I do run a nightly build, but you were about an hour and a half before today’s build! Anyway, I believe the offending commit is 8c6a3d68c0301bb985aa2a462936bbcf7584ae9c , This unconditionally adds GHC.Event which then includes that TimerManager which is defined for POSIX only. Reverting that should get you building again. Cheers, Tamar From: Simon Peyton Jones via ghc-devs Sent: Friday, October 14, 2016 22:38 To: ghc-devs@haskell.org Subject: Aargh! Windows build is broken AGAIN I really wish I did not have to be the Windows integration server. Currently, from a clean build of HEAD, I’m getting libraries\base\GHC\Event\TimerManager.hs:62:3: error: error: #error not implemented for this operating system # error not implemented for this operating system ^ I’d revert something if I could, but I can’t see what to revert. Help, please! Simon

Seems I forgot to do a reply all… From: lonetiger@gmail.com Sent: Friday, October 14, 2016 23:23 To: Simon Peyton Jones via ghc-devs Subject: RE: Aargh! Windows build is broken AGAIN Hi Simon, Sorry for the broken build again. Since your last email I do run a nightly build, but you were about an hour and a half before today’s build! Anyway, I believe the offending commit is 8c6a3d68c0301bb985aa2a462936bbcf7584ae9c , This unconditionally adds GHC.Event which then includes that TimerManager which is defined for POSIX only. Reverting that should get you building again. Cheers, Tamar From: Simon Peyton Jones via ghc-devs Sent: Friday, October 14, 2016 22:38 To: ghc-devs@haskell.org Subject: Aargh! Windows build is broken AGAIN I really wish I did not have to be the Windows integration server. Currently, from a clean build of HEAD, I’m getting libraries\base\GHC\Event\TimerManager.hs:62:3: error: error: #error not implemented for this operating system # error not implemented for this operating system ^ I’d revert something if I could, but I can’t see what to revert. Help, please! Simon

Ah, good catch! Thank you.
Ryan: might you fix this, since you authored the offending commit? Thanks!
Simon
From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of lonetiger@gmail.com
Sent: 14 October 2016 23:24
To: Simon Peyton Jones via ghc-devs

My apologies for the breakage! I just pushed [1], and I confirmed that
things build again on Windows.
Ryan S.
-----
[1]
http://git.haskell.org/ghc.git/commit/e39589e2e4f788565c4a7f02cb85802214a957...
On Fri, Oct 14, 2016 at 6:33 PM, Simon Peyton Jones
Ah, good catch! Thank you.
Ryan: might you fix this, since you authored the offending commit? Thanks!
Simon
*From:* ghc-devs [mailto:ghc-devs-bounces@haskell.org] *On Behalf Of * lonetiger@gmail.com *Sent:* 14 October 2016 23:24 *To:* Simon Peyton Jones via ghc-devs
*Subject:* RE: Aargh! Windows build is broken AGAIN Hi Simon,
Sorry for the broken build again. Since your last email I do run a nightly build, but you were about an hour and a half before today’s build!
Anyway, I believe the offending commit is 8c6a3d68c0301bb985aa2a462936bbcf7584ae9c ,
This unconditionally adds GHC.Event which then includes that TimerManager which is defined for POSIX only.
Reverting that should get you building again.
Cheers,
Tamar
*From: *Simon Peyton Jones via ghc-devs
*Sent: *Friday, October 14, 2016 22:38 *To: *ghc-devs@haskell.org *Subject: *Aargh! Windows build is broken AGAIN I really wish I did not have to be the Windows integration server.
Currently, from a clean build of HEAD, I’m getting
libraries\base\GHC\Event\TimerManager.hs:62:3: error:
error: #error not implemented for this operating system
# error not implemented for this operating system
^
I’d revert something if I could, but I can’t see what to revert. Help, please!
Simon

Simon Peyton Jones via ghc-devs wrote:
I really wish I did not have to be the Windows integration server. Currently, from a clean build of HEAD, I'm getting
libraries\base\GHC\Event\TimerManager.hs:62:3: error:
error: #error not implemented for this operating system
# error not implemented for this operating system
^ I'd revert something if I could, but I can't see what to revert. Help, please!
According to git annotate, that error line was added in 2012 so that commit is unlikely to be cause. I'll log into my Windows VM and see if I can figure it out. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
participants (5)
-
Ben Gamari
-
Erik de Castro Lopo
-
lonetiger@gmail.com
-
Ryan Scott
-
Simon Peyton Jones