Skip to content
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

Cannot build yaml package on windows #2565

Closed
vasily-kirichenko opened this issue Sep 5, 2016 · 1 comment
Closed

Cannot build yaml package on windows #2565

vasily-kirichenko opened this issue Sep 5, 2016 · 1 comment

Comments

@vasily-kirichenko
Copy link

Steps to reproduce

Run command stack build yaml

Expected

yaml package is built successfully.

Actual

CreateDirectory "C:\\temp\\stack39568\\yaml-0.8.18.4\\test\\resources\\accente\SOH": invalid argument (The filename, directory name, or volume label syntax is incorrect.)
> stack build yaml --verbose

Version 1.1.2, Git revision c6dac65e3174dea79df54ce6d56f3e98bc060ecc (3647 commits) x86_64 hpack-0.14.0
2016-09-05 21:04:59.279711: [debug] Checking for project config at: D:\github\yesod-one\stack.yaml @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Config src/Stack\Config.hs:811:9)
2016-09-05 21:04:59.280701: [debug] Loading project config file stack.yaml @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Config src/Stack\Config.hs:829:13)
2016-09-05 21:04:59.283702: [debug] Trying to decode C:\sr\build-plan-cache\x86_64-windows\lts-6.15.cache @(stack_9kewhubnl5WIl89fhd1ea2:Data.Binary.VersionTagged src/Data\Binary\VersionTagged.hs:55:5)
2016-09-05 21:04:59.298710: [debug] Success decoding C:\sr\build-plan-cache\x86_64-windows\lts-6.15.cache @(stack_9kewhubnl5WIl89fhd1ea2:Data.Binary.VersionTagged src/Data\Binary\VersionTagged.hs:64:13)
2016-09-05 21:04:59.299209: [debug] Getting system compiler version @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Setup src/Stack\Setup.hs:341:17)

2016-09-05 21:04:59.303210: [debug] Asking GHC for its version @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Setup.Installed src/Stack\Setup\Installed.hs:94:13)
2016-09-05 21:04:59.303709: [debug] Run process: ghc --numeric-version @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.322379: [debug] Getting Cabal package version @(stack_9kewhubnl5WIl89fhd1ea2:Stack.GhcPkg src/Stack\GhcPkg.hs:165:5) 2016-09-05 21:04:59.323379: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal version @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.372389: [debug] Resolving package entries @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Setup src/Stack\Setup.hs:221:5)
2016-09-05 21:04:59.373380: [debug] Getting global package database location @(stack_9kewhubnl5WIl89fhd1ea2:Stack.GhcPkg src/Stack\GhcPkg.hs:48:5)
2016-09-05 21:04:59.374380: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.427887: [debug] Run process: ghc-pkg --global --no-user-package-db dump --expand-pkgroot @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.495039: [debug] Ignoring package haskeline due to wanting version 0.7.2.3 instead of 0.7.2.1 @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Build.Installed src/Stack\Build\Installed.hs:189:5)
2016-09-05 21:04:59.496040: [debug] Ignoring package Cabal due to wanting version 1.22.8.0 instead of 1.22.5.0 @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Build.Installed src/Stack\Build\Installed.hs:189:5)
2016-09-05 21:04:59.496540: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db C:\sr\snapshots\fc416f21\pkgdb dump --expand-pkgroot @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.622052: [debug] Run process: ghc-pkg --user --no-user-package-db --package-db D:\github\yesod-one\.stack-work\install\848a14e4\pkgdb dump --expand-pkgroot @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.676050: [debug] Trying to decode C:\sr\indices\Hackage\00-index.cache @(stack_9kewhubnl5WIl89fhd1ea2:Data.Binary.VersionTagged src/Data\Binary\VersionTagged.hs:55:5)
2016-09-05 21:04:59.859595: [debug] Success decoding C:\sr\indices\Hackage\00-index.cache @(stack_9kewhubnl5WIl89fhd1ea2:Data.Binary.VersionTagged src/Data\Binary\VersionTagged.hs:64:13)
2016-09-05 21:04:59.874587: [debug] Getting global package database location @(stack_9kewhubnl5WIl89fhd1ea2:Stack.GhcPkg src/Stack\GhcPkg.hs:48:5)
2016-09-05 21:04:59.875588: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_9kewhubnl5WIl89fhd1ea2:System.Process.Read src/System\Process\Read.hs:283:3)
2016-09-05 21:04:59.924776: [debug] Precompiled cache input = ["--dependency=aeson=aeson-0.11.2.1-6bfed45bfbe203af950ec2222e1754ef","--dependency=attoparsec=attoparsec-0.13.0.2-de9e8021f1ec27ed3b5c9c65071ac65b","--dependency=base=base-4.8.2.0-14035a44a8b95c6832da6dae1420f59e","--dependency=bytestring=bytestring-0.10.6.0-342400f3bb78fee60dde2cecf10f8e3b","--dependency=conduit=conduit-1.2.7-dd2cde051e2a8f063cb3272d702b090d","--dependency=containers=containers-0.5.6.2-53be8e60d046855702cba277d921b48c","--dependency=directory=directory-1.2.2.0-82511f66e58554f891a4897d4c7a0b2f","--dependency=enclosed-exceptions=enclosed-exceptions-1.0.2-f5ab1a1d4690b777a9586b442315fa2c","--dependency=filepath=filepath-1.4.0.0-5ea0fbdbd701d44e39a27224fbae8f37","--dependency=resourcet=resourcet-1.1.7.5-7e18d9f1aac0887d18872280b64b673d","--dependency=scientific=scientific-0.3.4.9-91c0900ca5b61b8d80ec587394a6ba53","--dependency=semigroups=semigroups-0.18.1-915b2b51a3c1825358d8b4463ff969a6","--dependency=text=text-1.2.2.1-a8790720b026d1fe28baa6e14c0f00e3","--dependency=transformers=transformers-0.4.2.0-560c443a4c8f3854b85644b981ff03b6","--dependency=unordered-containers=unordered-containers-0.2.7.1-d5a51d997f65d479a8e11e06b7ad9db3","--dependency=vector=vector-0.11.0.0-2ce50bc0eff5c877562e8cc16c8366f6","-f-system-libyaml","--extra-include-dirs=C:\\Users\\kot\\AppData\\Local\\Programs\\stack\\x86_64-windows\\msys2-20150512\\mingw64\\include","--extra-lib-dirs=C:\\Users\\kot\\AppData\\Local\\Programs\\stack\\x86_64-windows\\msys2-20150512\\mingw64\\lib"] @(stack_9kewhubnl5WIl89fhd1ea2:Stack.Build.Cache src/Stack\Build\Cache.hs:261:13)
CreateDirectory "C:\\temp\\stack28304\\yaml-0.8.18.4\\test\\resources\\accente\SOH": invalid argument (The filename, directory name, or volume label syntax is incorrect.)

Stack version

$ stack --version
Version 1.1.2, Git revision c6dac65e3174dea79df54ce6d56f3e98bc060ecc (3647 commits) x86_64 hpack-0.14.0

Method of installation

  • Official binary, downloaded from stackage.org or fpcomplete's package repository
@Blaisorblade
Copy link
Collaborator

Thanks for the report. This particular failure is tracked by snoyberg/yaml#94, and IIUC the underlying bugs involved have already been reported, see e.g. #2549 and #2557. Hence I think this can be closed as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants