Skip to content

stack-2.1.1 #4628

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

Closed
2 tasks
juhp opened this issue Jun 14, 2019 · 4 comments
Closed
2 tasks

stack-2.1.1 #4628

juhp opened this issue Jun 14, 2019 · 4 comments

Comments

@juhp
Copy link
Contributor

juhp commented Jun 14, 2019

stack-2 pulls in some new deps which depend on older http-client than we have in Nightly:

http-client-0.6.4 (Michael Snoyman michael@snoyman.com @snoyberg) is out of bounds for:

  • http-download-0.1.0.0 (>=0.5.13.1 && < 0.6). No maintainer. @commercialhaskell. Used by: library, test-suite
  • pantry-tmp-0.1.0.0 (>=0.5.13.1 && < 0.6). No maintainer. @commercialhaskell. Used by: library, test-suite
juhp added a commit that referenced this issue Jun 14, 2019
indirectly needs http-client < 0.6
@snoyberg
Copy link
Contributor

I'm not reproing this on my machine currently. In any event, it seems like something caused by PVP bounds. I'll open up a PR to ignore revisions on these packages and see if that helps.

@juhp
Copy link
Contributor Author

juhp commented Jun 17, 2019

In the Stackage Nightly build I see some test failure for pantry:

  test/Pantry/ArchiveSpec.hs:63:3: 
  1) Pantry.Archive finds cabal file from tarball
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/finds cabal file from tarball/"

  test/Pantry/ArchiveSpec.hs:69:3: 
  2) Pantry.Archive finds cabal file from tarball with subdir '.'
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/finds cabal file from tarball with subdir '.'/"

  test/Pantry/ArchiveSpec.hs:75:3: 
  3) Pantry.Archive finds cabal file from tarball with a package.yaml
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/finds cabal file from tarball with a package.yaml/"

  test/Pantry/ArchiveSpec.hs:81:3: 
  4) Pantry.Archive finds cabal file from tarball with subdir '.' with a package.yaml
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/finds cabal file from tarball with subdir '.' with a package.yaml/"

  test/Pantry/ArchiveSpec.hs:87:3: 
  5) Pantry.Archive finds cabal file from tarball with subdir 'subs/pantry/'
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/finds cabal file from tarball with subdir 'subs/pantry/'/"

  test/Pantry/ArchiveSpec.hs:93:3: 
  6) Pantry.Archive matches whole directory name
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/matches whole directory name/"

  test/Pantry/ArchiveSpec.hs:99:3: 
  7) Pantry.Archive follows symlinks to directories
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Archive/follows symlinks to directories/"

  test/Pantry/CabalSpec.hs:14:26: 
  8) Pantry.Cabal, wrong cabal file, Hackage
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Cabal/wrong cabal file/Hackage/"

  test/Pantry/CabalSpec.hs:14:26: 
  9) Pantry.Cabal, wrong cabal file, tarball with wrong ident
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Cabal/wrong cabal file/tarball with wrong ident/"

  test/Pantry/CabalSpec.hs:14:26: 
  10) Pantry.Cabal, wrong cabal file, tarball with wrong cabal file
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Cabal/wrong cabal file/tarball with wrong cabal file/"

  test/Pantry/FileSpec.hs:11:3: 
  11) Pantry.File.loadCabalFilePath sanity
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.File/loadCabalFilePath/sanity/"

  test/Pantry/HackageSpec.hs:12:3: 
  12) Pantry.Hackage update works
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Hackage/update works/"

  test/Pantry/HackageSpec.hs:13:3: 
  13) Pantry.Hackage fuzzy lookup kicks in
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Hackage/fuzzy lookup kicks in/"

  test/Pantry/HackageSpec.hs:21:3: 
  14) Pantry.Hackage finds acme-missiles
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Hackage/finds acme-missiles/"

  test/Pantry/InternalSpec.hs:66:5: 
  15) Pantry.Internal, Parse HPack version, Shipped hpack version
       uncaught exception: IOException of type PermissionDenied
       /var/stackage/.stack/pantry/pantry.sqlite3.pantry-write-lock: openFd: permission denied (Read-only file system)

  To rerun use: --match "/Pantry.Internal/Parse HPack version/Shipped hpack version/"

  test/Pantry/TreeSpec.hs:57:3: 
  16) Pantry.Tree archive and Hg repo match
       uncaught exception: ProcessException
       Executable named hg not found on path: ["/home/stackage/.stack/programs/x86_64-linux/ghc-8.6.5/bin","/usr/local/cuda-10.0/bin","/usr/sbin","/usr/bin","/sbin","/bin","/var/stackage/work/builds/nightly/bin"]

  To rerun use: --match "/Pantry.Tree/archive and Hg repo match/"

Randomized with seed 1677020679

Finished in 2.2951 seconds
103 examples, 16 failures

@snoyberg
Copy link
Contributor

snoyberg commented Jun 17, 2019 via email

juhp added a commit that referenced this issue Jun 17, 2019
the failures are due to selinux or something?
@juhp
Copy link
Contributor Author

juhp commented Jun 17, 2019

However stack2nix fails to build with stack-2: I opened input-output-hk/stack2nix#168

juhp added a commit that referenced this issue Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants