Quantcast

Windows build broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Windows build broken

GHC - devs mailing list

Please please please could some one fix this?  On windows.

It’s frustrating being unable to build.

Please

please

Simon

 

libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:

    Not in scope: data constructor    FILETIME  

    Perhaps you meant    Win32.FILETIME    (imported from System.Win32.Time)

   |

57 |     FILETIME ft <- Win32.getSystemTimeAsFileTime

   |     ^^^^^^^^


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Windows build broken

lonetiger

The package has been fixed already but the submodule hasn't been updated. For a quick fix just cd into libraries/time and checkout master.

I was hesitant to push the new submodule since we hadn't branched yet for 8.2


On Wed, 22 Feb 2017, 14:09 Simon Peyton Jones via ghc-devs, <[hidden email]> wrote:

Please please please could some one fix this?  On windows.

It’s frustrating being unable to build.

Please

please

Simon

 

libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:

    Not in scope: data constructor    FILETIME  

    Perhaps you meant    Win32.FILETIME    (imported from System.Win32.Time)

   |

57 |     FILETIME ft <- Win32.getSystemTimeAsFileTime

   |     ^^^^^^^^

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Windows build broken

GHC - devs mailing list

well HEAD is broken, so surely it should go either forward or backward.  But the status quo is not good. 

 

My instinct: push the new submodule.  But I defer to Ben etc

 

Simon

 

From: Phyx [mailto:[hidden email]]
Sent: 22 February 2017 14:14
To: Simon Peyton Jones <[hidden email]>; [hidden email]
Cc: Ashley Yakeley <[hidden email]>
Subject: Re: Windows build broken

 

The package has been fixed already but the submodule hasn't been updated. For a quick fix just cd into libraries/time and checkout master.

I was hesitant to push the new submodule since we hadn't branched yet for 8.2

 

On Wed, 22 Feb 2017, 14:09 Simon Peyton Jones via ghc-devs, <[hidden email]> wrote:

Please please please could some one fix this?  On windows.

It’s frustrating being unable to build.

Please

please

Simon

 

libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:

    Not in scope: data constructor    FILETIME  

    Perhaps you meant    Win32.FILETIME    (imported from System.Win32.Time)

   |

57 |     FILETIME ft <- Win32.getSystemTimeAsFileTime

   |     ^^^^^^^^

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Windows build broken

lonetiger

Head of ghc is broken not head of time. Ghc is currently set to 6e202ed while head is 4eb06c0. So checking out the master branch of libraries/time should bring you to a working build.

I am currently without my ssh keys so cannot push it. If someone else wants to update it? Otherwise I'll do so when I get home.


On Wed, 22 Feb 2017, 14:36 Simon Peyton Jones, <[hidden email]> wrote:

well HEAD is broken, so surely it should go either forward or backward.  But the status quo is not good. 

 

My instinct: push the new submodule.  But I defer to Ben etc

 

Simon

 

From: Phyx [mailto:[hidden email]]
Sent: 22 February 2017 14:14
To: Simon Peyton Jones <[hidden email]>; [hidden email]
Cc: Ashley Yakeley <[hidden email]>
Subject: Re: Windows build broken

 

The package has been fixed already but the submodule hasn't been updated. For a quick fix just cd into libraries/time and checkout master.

I was hesitant to push the new submodule since we hadn't branched yet for 8.2

 

On Wed, 22 Feb 2017, 14:09 Simon Peyton Jones via ghc-devs, <[hidden email]> wrote:

Please please please could some one fix this?  On windows.

It’s frustrating being unable to build.

Please

please

Simon

 

libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:

    Not in scope: data constructor    FILETIME  

    Perhaps you meant    Win32.FILETIME    (imported from System.Win32.Time)

   |

57 |     FILETIME ft <- Win32.getSystemTimeAsFileTime

   |     ^^^^^^^^

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Windows build broken

GHC - devs mailing list

Tonight is fine – thank you!

 

From: Phyx [mailto:[hidden email]]
Sent: 22 February 2017 14:47
To: Simon Peyton Jones <[hidden email]>
Cc: [hidden email]
Subject: Re: Windows build broken

 

Head of ghc is broken not head of time. Ghc is currently set to 6e202ed while head is 4eb06c0. So checking out the master branch of libraries/time should bring you to a working build.

I am currently without my ssh keys so cannot push it. If someone else wants to update it? Otherwise I'll do so when I get home.

 

On Wed, 22 Feb 2017, 14:36 Simon Peyton Jones, <[hidden email]> wrote:

well HEAD is broken, so surely it should go either forward or backward.  But the status quo is not good. 

 

My instinct: push the new submodule.  But I defer to Ben etc

 

Simon

 

From: Phyx [mailto:[hidden email]]
Sent: 22 February 2017 14:14
To: Simon Peyton Jones <[hidden email]>; [hidden email]
Cc: Ashley Yakeley <[hidden email]>
Subject: Re: Windows build broken

 

The package has been fixed already but the submodule hasn't been updated. For a quick fix just cd into libraries/time and checkout master.

I was hesitant to push the new submodule since we hadn't branched yet for 8.2

 

On Wed, 22 Feb 2017, 14:09 Simon Peyton Jones via ghc-devs, <[hidden email]> wrote:

Please please please could some one fix this?  On windows.

It’s frustrating being unable to build.

Please

please

Simon

 

libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:

    Not in scope: data constructor    FILETIME  

    Perhaps you meant    Win32.FILETIME    (imported from System.Win32.Time)

   |

57 |     FILETIME ft <- Win32.getSystemTimeAsFileTime

   |     ^^^^^^^^

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Windows build broken

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
Re-adding ghc-devs.  

|  Settup up things so that all master pushes go through a build&smoke-test-on-
|  all-relevant-platforms purgatory shouldn't be that problematic..

I know.  We discuss it periodically The trouble is that it takes work to do these things (reliably, solidly) and everyone is busy.

If someone felt able to step up to doing it, it'd be great.

Simon

|  -----Original Message-----
|  From: Kosyrev Serge [mailto:[hidden email]]
|  Sent: 22 February 2017 14:18
|  To: Simon Peyton Jones <[hidden email]>
|  Subject: Re: Windows build broken
|  
|  Simon,
|  
|  It pains me to see how something trivially preventable by a functioning
|  "continuous integration" setup keeps causing you trouble so regularly.
|  
|  Settup up things so that all master pushes go through a build&smoke-test-on-
|  all-relevant-platforms purgatory shouldn't be that problematic..
|  
|  I know, it's not my ground to meddle in, but I just can't be calmly watching
|  this entirely preventable suffering..
|  
|  Simon Peyton Jones via ghc-devs writes:
|  > Please please please could some one fix this? On windows.
|  >
|  > It’s frustrating being unable to build.
|  >
|  > Please
|  >
|  > please
|  >
|  > Simon
|  >
|  > libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:
|  >
|  > Not in scope: data constructor FILETIME
|  >
|  > Perhaps you meant Win32.FILETIME (imported from System.Win32.Time)
|  >
|  > |
|  >
|  > 57 | FILETIME ft <- Win32.getSystemTimeAsFileTime
|  >
|  > | ^^^^^^^^
|  
|  --
|  с уважениeм / respectfully, not a GHC developer at all, Косырев Сергей
|  --
|  “Most deadly errors arise from obsolete assumptions.”
|    -- Frank Herbert, Children of Dune
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Windows build broken

Ashley Yakeley
In reply to this post by lonetiger
Please set your "time" submodule to the "ghc" branch. It should always represent a stable release.

-- Ashley

On Wed, 2017-02-22 at 14:13 +0000, Phyx wrote:

The package has been fixed already but the submodule hasn't been updated. For a quick fix just cd into libraries/time and checkout master.

I was hesitant to push the new submodule since we hadn't branched yet for 8.2


On Wed, 22 Feb 2017, 14:09 Simon Peyton Jones via ghc-devs, <[hidden email]> wrote:

Please please please could some one fix this?  On windows.

It’s frustrating being unable to build.

Please

please

Simon

 

libraries\time\lib\Data\Time\Clock\Internal\SystemTime.hs:57:5: error:

    Not in scope: data constructor    FILETIME  

    Perhaps you meant    Win32.FILETIME    (imported from System.Win32.Time)

   |

57 |     FILETIME ft <- Win32.getSystemTimeAsFileTime

   |     ^^^^^^^^

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Windows build broken

GHC - devs mailing list
In reply to this post by GHC - devs mailing list

Windows build is broken again.  Might someone fix?

Simon

 

"inplace/bin/ghc-stage1.exe" -optc-fno-stack-protector -optc-Wall -optc-Werror -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-Irts/dist/build/./autogen -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_p\" -optc-DWINVER=0x06000100 -static -prof -eventlog  -O0 -H64m -Wall -fllvm-fill-undef-with-garbage    -Werror -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen           -O2    -Wnoncanonical-monad-instances  -c rts/Sparks.c -o rts/dist/build/Sparks.p_o

rts\Profiling.c: In function 'reportCCSProfiling':

 

rts\Profiling.c:704:9: error:

     error: implicit declaration of function 'writeCCSReportJson' [-Werror=implicit-function-declaration]

             writeCCSReportJson(prof_file, stack, totals);

             ^~~~~~~~~~~~~~~~~~

    |

704 |         writeCCSReportJson(prof_file, stack, totals);

    |         ^

 

rts\Profiling.c:704:9: error:

     error: nested extern declaration of 'writeCCSReportJson' [-Werror=nested-externs]

    |

704 |         writeCCSReportJson(prof_file, stack, totals);

    |         ^

cc1.exe: all warnings being treated as errors

`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)

make[1]: *** [rts/ghc.mk:255: rts/dist/build/Profiling.p_o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [Makefile:127: all] Error 2

/c/code/HEAD$


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Windows build broken

David Feuer-2
In reply to this post by GHC - devs mailing list

I can't fix that (no windows) but I just broke all the builds with a -Werror mistake and I can fix that one...


David Feuer
Well-Typed, LLP

-------- Original message --------
From: Simon Peyton Jones via ghc-devs <[hidden email]>
Date: 2/28/17 7:07 PM (GMT-05:00)
Subject: Windows build broken

Windows build is broken again.  Might someone fix?

Simon

 

"inplace/bin/ghc-stage1.exe" -optc-fno-stack-protector -optc-Wall -optc-Werror -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-Irts/dist/build/./autogen -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_p\" -optc-DWINVER=0x06000100 -static -prof -eventlog  -O0 -H64m -Wall -fllvm-fill-undef-with-garbage    -Werror -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen           -O2    -Wnoncanonical-monad-instances  -c rts/Sparks.c -o rts/dist/build/Sparks.p_o

rts\Profiling.c: In function 'reportCCSProfiling':

 

rts\Profiling.c:704:9: error:

     error: implicit declaration of function 'writeCCSReportJson' [-Werror=implicit-function-declaration]

             writeCCSReportJson(prof_file, stack, totals);

             ^~~~~~~~~~~~~~~~~~

    |

704 |         writeCCSReportJson(prof_file, stack, totals);

    |         ^

 

rts\Profiling.c:704:9: error:

     error: nested extern declaration of 'writeCCSReportJson' [-Werror=nested-externs]

    |

704 |         writeCCSReportJson(prof_file, stack, totals);

    |         ^

cc1.exe: all warnings being treated as errors

`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)

make[1]: *** [rts/ghc.mk:255: rts/dist/build/Profiling.p_o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [Makefile:127: all] Error 2

/c/code/HEAD$


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Loading...