-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failing on Windows 10 #613
Comments
Hakyll should work fine on Windows. Looks like you are possibly running into this issue: https://ghc.haskell.org/trac/ghc/ticket/13112. Which version of GHC are you using? |
I’ve given up on ghc, and I suppose them, hakyll as well. I’m running into th ebug on windows where ghc create executables that fail when you try to run them. It get’s a dos format compatibility error.
I’m interested in software that runs on windows, so I’m going forward with Kotlin native instead, since it actually seems to be workable and has great support.
Sent from Mail for Windows 10
From: Jasper Van der Jeugt
Sent: Tuesday, February 27, 2018 1:54 PM
To: jaspervdj/hakyll
Cc: Bruce Davidson; Author
Subject: Re: [jaspervdj/hakyll] Build failing on Windows 10 (#613)
Hakyll should work fine on Windows. Looks like you are possibly running into this issue: https://ghc.haskell.org/trac/ghc/ticket/13112. Which version of GHC are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm getting the same exact same error with the same trace and running
|
Another repro here. GHC 8.2.2 (LTS-11.5) |
Couldn't repro on stackage nightly (GHC 8.4). |
Nice! I'll give that a shot to confirm later today.
…On Sun, Apr 15, 2018, 4:09 AM George Pollard ***@***.***> wrote:
Couldn't repro on stackage nightly (GHC 8.4).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#613 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFQ70ErdrnD4sfOddQkW5iOCVfO0E3MUks5toxxrgaJpZM4SUbC9>
.
|
same problem here with GHC 8,2,2 |
@grandynguyen note that you'll need to specify fsnotify in your stack.yaml to use the nightly |
Do you support windows?
C:\Users\darko> cabal install hakyll
...
Downloading hakyll-4.11.0.0...
Configuring hakyll-4.11.0.0...
Building hakyll-4.11.0.0...
Failed to install hakyll-4.11.0.0
Build log ( C:\Users\darko\AppData\Roaming\cabal\logs\ghc-8.2.2\hakyll-4.11.0.0-9O8ElWVKlum5sd3gUYSldk.log ):
Preprocessing library for hakyll-4.11.0.0..
Building library for hakyll-4.11.0.0..
[ 1 of 52] Compiling Data.List.Extended ( lib\Data\List\Extended.hs, dist\build\Data\List\Extended.o )
[ 2 of 52] Compiling Data.Yaml.Extended ( lib\Data\Yaml\Extended.hs, dist\build\Data\Yaml\Extended.o )
[ 3 of 52] Compiling Hakyll.Core.Configuration ( lib\Hakyll\Core\Configuration.hs, dist\build\Hakyll\Core\Configuration.o )
[ 4 of 52] Compiling Hakyll.Core.Identifier ( lib\Hakyll\Core\Identifier.hs, dist\build\Hakyll\Core\Identifier.o )
[ 5 of 52] Compiling Hakyll.Core.Identifier.Pattern ( lib\Hakyll\Core\Identifier\Pattern.hs, dist\build\Hakyll\Core\Identifier\Pattern.o )
[ 6 of 52] Compiling Hakyll.Core.Dependencies ( lib\Hakyll\Core\Dependencies.hs, dist\build\Hakyll\Core\Dependencies.o )
[ 7 of 52] Compiling Hakyll.Core.Logger ( lib\Hakyll\Core\Logger.hs, dist\build\Hakyll\Core\Logger.o )
[ 8 of 52] Compiling Hakyll.Core.Metadata ( lib\Hakyll\Core\Metadata.hs, dist\build\Hakyll\Core\Metadata.o )
[ 9 of 52] Compiling Hakyll.Core.Store ( lib\Hakyll\Core\Store.hs, dist\build\Hakyll\Core\Store.o )
[10 of 52] Compiling Hakyll.Core.Util.File ( lib\Hakyll\Core\Util\File.hs, dist\build\Hakyll\Core\Util\File.o )
[11 of 52] Compiling Hakyll.Core.Provider.Internal ( lib\Hakyll\Core\Provider\Internal.hs, dist\build\Hakyll\Core\Provider\Internal.o )
[12 of 52] Compiling Hakyll.Core.Provider.Metadata ( lib\Hakyll\Core\Provider\Metadata.hs, dist\build\Hakyll\Core\Provider\Metadata.o )
[13 of 52] Compiling Hakyll.Core.Provider.MetadataCache ( lib\Hakyll\Core\Provider\MetadataCache.hs, dist\build\Hakyll\Core\Provider\MetadataCache.o )
[14 of 52] Compiling Hakyll.Core.Provider ( lib\Hakyll\Core\Provider.hs, dist\build\Hakyll\Core\Provider.o )
[15 of 52] Compiling Hakyll.Core.Util.Parser ( lib\Hakyll\Core\Util\Parser.hs, dist\build\Hakyll\Core\Util\Parser.o )
[16 of 52] Compiling Hakyll.Core.Util.String ( lib\Hakyll\Core\Util\String.hs, dist\build\Hakyll\Core\Util\String.o )
[17 of 52] Compiling Hakyll.Core.Routes ( lib\Hakyll\Core\Routes.hs, dist\build\Hakyll\Core\Routes.o )
[18 of 52] Compiling Hakyll.Core.Compiler.Internal ( lib\Hakyll\Core\Compiler\Internal.hs, dist\build\Hakyll\Core\Compiler\Internal.o )
[19 of 52] Compiling Hakyll.Core.Item ( lib\Hakyll\Core\Item.hs, dist\build\Hakyll\Core\Item.o )
[20 of 52] Compiling Hakyll.Core.Compiler.Require ( lib\Hakyll\Core\Compiler\Require.hs, dist\build\Hakyll\Core\Compiler\Require.o )
[21 of 52] Compiling Hakyll.Core.Compiler ( lib\Hakyll\Core\Compiler.hs, dist\build\Hakyll\Core\Compiler.o )
[22 of 52] Compiling Hakyll.Core.UnixFilter ( lib\Hakyll\Core\UnixFilter.hs, dist\build\Hakyll\Core\UnixFilter.o )
[23 of 52] Compiling Hakyll.Core.Writable ( lib\Hakyll\Core\Writable.hs, dist\build\Hakyll\Core\Writable.o )
[24 of 52] Compiling Hakyll.Core.Item.SomeItem ( lib\Hakyll\Core\Item\SomeItem.hs, dist\build\Hakyll\Core\Item\SomeItem.o )
[25 of 52] Compiling Hakyll.Core.Rules.Internal ( lib\Hakyll\Core\Rules\Internal.hs, dist\build\Hakyll\Core\Rules\Internal.o )
[26 of 52] Compiling Hakyll.Core.Runtime ( lib\Hakyll\Core\Runtime.hs, dist\build\Hakyll\Core\Runtime.o )
[27 of 52] Compiling Hakyll.Core.Rules ( lib\Hakyll\Core\Rules.hs, dist\build\Hakyll\Core\Rules.o )
[28 of 52] Compiling Hakyll.Core.File ( lib\Hakyll\Core\File.hs, dist\build\Hakyll\Core\File.o )
[29 of 52] Compiling Hakyll.Preview.Poll ( lib\Hakyll\Preview\Poll.hs, dist\build\Hakyll\Preview\Poll.o )
lib\Hakyll\Preview\Poll.hs:22:1: warning: [-Wunused-imports]
The import of
throw' from module
Control.Exception' is redundant|
22 | import Control.Exception (IOException, throw, try)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[30 of 52] Compiling Hakyll.Preview.Server ( lib\Hakyll\Preview\Server.hs, dist\build\Hakyll\Preview\Server.o )
[31 of 52] Compiling Hakyll.Web.CompressCss ( lib\Hakyll\Web\CompressCss.hs, dist\build\Hakyll\Web\CompressCss.o )
[32 of 52] Compiling Hakyll.Web.Html ( lib\Hakyll\Web\Html.hs, dist\build\Hakyll\Web\Html.o )
[33 of 52] Compiling Hakyll.Web.Html.RelativizeUrls ( lib\Hakyll\Web\Html\RelativizeUrls.hs, dist\build\Hakyll\Web\Html\RelativizeUrls.o )
[34 of 52] Compiling Hakyll.Web.Pandoc.Binary ( lib\Hakyll\Web\Pandoc\Binary.hs, dist\build\Hakyll\Web\Pandoc\Binary.o )
[35 of 52] Compiling Hakyll.Web.Pandoc.FileType ( lib\Hakyll\Web\Pandoc\FileType.hs, dist\build\Hakyll\Web\Pandoc\FileType.o )
[36 of 52] Compiling Hakyll.Web.Pandoc ( lib\Hakyll\Web\Pandoc.hs, dist\build\Hakyll\Web\Pandoc.o )
[37 of 52] Compiling Hakyll.Web.Pandoc.Biblio ( lib\Hakyll\Web\Pandoc\Biblio.hs, dist\build\Hakyll\Web\Pandoc\Biblio.o )
[38 of 52] Compiling Hakyll.Web.Redirect ( lib\Hakyll\Web\Redirect.hs, dist\build\Hakyll\Web\Redirect.o )
[39 of 52] Compiling Hakyll.Web.Template.Context ( lib\Hakyll\Web\Template\Context.hs, dist\build\Hakyll\Web\Template\Context.o )
[40 of 52] Compiling Hakyll.Web.Tags ( lib\Hakyll\Web\Tags.hs, dist\build\Hakyll\Web\Tags.o )
[41 of 52] Compiling Hakyll.Web.Paginate ( lib\Hakyll\Web\Paginate.hs, dist\build\Hakyll\Web\Paginate.o )
[42 of 52] Compiling Hakyll.Web.Template.Internal.Element ( lib\Hakyll\Web\Template\Internal\Element.hs, dist\build\Hakyll\Web\Template\Internal\Element.o )
[43 of 52] Compiling Hakyll.Web.Template.Internal.Trim ( lib\Hakyll\Web\Template\Internal\Trim.hs, dist\build\Hakyll\Web\Template\Internal\Trim.o )
[44 of 52] Compiling Hakyll.Web.Template.Internal ( lib\Hakyll\Web\Template\Internal.hs, dist\build\Hakyll\Web\Template\Internal.o )
[45 of 52] Compiling Hakyll.Web.Template ( lib\Hakyll\Web\Template.hs, dist\build\Hakyll\Web\Template.o )
[46 of 52] Compiling Hakyll.Web.Template.List ( lib\Hakyll\Web\Template\List.hs, dist\build\Hakyll\Web\Template\List.o )
[47 of 52] Compiling Hakyll.Web.Feed ( lib\Hakyll\Web\Feed.hs, dist\build\Hakyll\Web\Feed.o )
Access violation in generated code when executing data at 0000000103644510
cabal: Leaving directory 'C:\Users\darko\AppData\Local\Temp\cabal-tmp-8924\hakyll-4.11.0.0'
cabal: Error: some packages failed to install:
hakyll-4.11.0.0-9O8ElWVKlum5sd3gUYSldk failed during the building phase. The
exception was:
ExitFailure 1
The text was updated successfully, but these errors were encountered: