datalad / git-annex

A non-official clone of git-annex established for DataLad purposes. No PRs will be merged, but could be used to test perspective git-annex patches. Official git-annex repository: https://git.kitenet.net/index.cgi/git-annex.git/
16 stars 3 forks source link

OSX and Windows builds are broken #145

Closed yarikoptic closed 1 year ago

yarikoptic commented 1 year ago

for the last 4 days

on mac ```shell /Applications/Xcode_12.4.app/Contents/Developer/usr/bin/make git-annex if [ "stack" = ./Setup ]; then stack ghc -- --make Setup; fi if [ "stack" != stack ]; then \ stack configure --ghc-options=""; \ else \ stack setup ; \ fi stack will use a sandboxed GHC it installed For more information on paths, see 'stack path' and 'stack exec env' To use this GHC and packages outside of a project, consider using: stack ghc, stack ghci, stack runghc, or stack exec mkdir -p tmp touch tmp/configure-stamp stack build Error: While constructing the build plan, the following exceptions were encountered: In the dependencies for aws-0.23: aeson-1.5.6.0 from stack configuration does not match >=2.0.0.0 (latest matching version is 2.0.2.0) needed due to git-annex-10.20221103 -> aws-0.23 Some different approaches to resolving this: * Set 'allow-newer: true' in /Users/runner/.stack/config.yaml to ignore all version constraints and build anyway. * Recommended action: try adding the following to your extra-deps in /Users/runner/work/git-annex/git-annex/stack.yaml: - aeson-2.0.2.0@sha256:5720fffb7289366029f2b7940e9f8b22a1b4c282f0cef4710685b1d[14](https://github.com/datalad/git-annex/actions/runs/3416055796/jobs/5685808316#step:13:15)d76bdc7,63[27](https://github.com/datalad/git-annex/actions/runs/3416055796/jobs/5685808316#step:13:28) Plan construction failed. make[1]: *** [git-annex] Error 1 make: *** [osxapp] Error 2 ```
on windows ```shell Downloaded 7z.exe. 461 Decompressing ghc-8.10.7.tar.xz... 462 463 7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 464 465 Scanning the drive for archives: 466 1 file, 434126144 bytes (415 MiB) 467 468 Extracting archive: C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.10.7.tar.xz 469 -- 470 Path = C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.10.7.tar.xz 471 Type = xz 472 Physical Size = 434126144 473 Method = LZMA2:20 CRC64 474 Streams = 1 475 Blocks = 1 476 477 Everything is Ok 478 479 Size: 2768711680 480 Compressed: 434126144 481 Extracting ghc-8.10.7.tar... 482 Extracted 7 files 483 Extracted 15 files 484 Extracted 21 files 485 Extracted total of 21 files from ghc-8.10.7.tar 486 GHC installed to C:\Users\runneradmin\AppData\Local\Programs\stack\x86_64-windows\ghc-8.10.7\ 487 Preparing to download msys2-20220904 ... 488 Download expectation failure: HttpExceptionRequest Request { 489 host = "github.com" 490 port = 443 491 secure = True 492 requestHeaders = [("User-Agent","The Haskell Stack")] 493 path = "/commercialhaskell/stackage-content/releases/download/msys2-20220904/msys2-20220904-x86_64.tar.xz" 494 queryString = "" 495 method = "GET" 496 proxy = Nothing 497 rawBody = False 498 redirectCount = 10 499 responseTimeout = ResponseTimeoutDefault 500 requestVersion = HTTP/1.1 501 } 502 (StatusCodeException (Response {responseStatus = Status {statusCode = 502, statusMessage = "Bad Gateway"}, responseVersion = HTTP/1.1, responseHeaders = [("Cache-Control","no-cache"),("Content-Type","text/html; charset=utf-8"),("Strict-Transport-Security","max-age=31536000"),("X-Content-Type-Options","nosniff"),("X-Frame-Options","deny"),("X-XSS-Protection","0"),("Content-Security-Policy","default-src 'none'; style-src 'unsafe-inline'; img-src data:;"),("Date","Tue, 08 Nov 2022 04:17:12 GMT"),("Content-Length","54890"),("X-GitHub-Request-Id","0400:35B5:30B8B6:468ACD:6369D83F")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose}) "\r\n\r\n\r\n \r\n Unicorn! · GitHub\r\n \r\n \r\n \r\n\r\n
\r\n

\r\n

any obvious fixes come to mind @jwodder @joeyh?

jwodder commented 1 year ago

@yarikoptic That Windows error only occured for build 844. For other builds, this was the error:

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for aws-0.23:
    aeson-1.5.6.0 from stack configuration does not match >=2.0.0.0  (latest matching version
                  is 2.1.1.0)
needed due to git-annex-10.20221103 -> aws-0.23

This is essentially the same as the error on macOS. Both errors are some sort of dependency conflict that I am not qualified to debug.

joeyh commented 1 year ago
aeson-1.5.6.0 from stack configuration does not match >=2.0.0.0  (latest matching version
              is 2.0.2.0)

I've fixed this.

Download expectation failure: HttpExceptionRequest Request {

I can download the file it failed to download here, so perhaps it was a transient issue.

-- see shy jo

jwodder commented 1 year ago

@joeyh Now the Windows builds are failing with:


Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for Glob-0.10.2:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> Glob-0.10.2

In the dependencies for Win32-2.13.4.0:
    filepath-1.4.2.1 from stack configuration does not match >=1.4.100.0  (latest matching version
                     is 1.4.100.0)
needed due to git-annex-10.20221103 -> Win32-2.13.4.0

In the dependencies for Win32-notify-0.3.0.3:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> Win32-notify-0.3.0.3

In the dependencies for aeson-2.0.3.0:
    time must match >=1.6.0.1 && <1.13, but this GHC boot package has been pruned (issue #4510); you
         need to add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> aeson-2.0.3.0

In the dependencies for alex-3.2.7.1:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> alex-3.2.7.1

In the dependencies for attoparsec-iso8601-1.0.2.1:
    time must match >=1.6.0.1 && <1.13, but this GHC boot package has been pruned (issue #4510); you
         need to add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> attoparsec-iso8601-1.0.2.1

In the dependencies for aws-0.23:
    directory must match >=1.0 && <2.0, but this GHC boot package has been pruned (issue #4510); you
              need to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    time must match >=1.4.0 && <2.0, but this GHC boot package has been pruned (issue #4510); you
         need to add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> aws-0.23

In the dependencies for cabal-doctest-1.0.9:
    Cabal must match >=1.10 && <3.10, but the stack configuration has no specified version  (latest
          matching version is 3.8.1.0)
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> cabal-doctest-1.0.9

In the dependencies for clientsession-0.9.1.2:
    directory must match >=1, but this GHC boot package has been pruned (issue #4510); you need to
              add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> clientsession-0.9.1.2

In the dependencies for concurrent-output-1.10.16:
    directory must match (>=1.2.0 && <1.4.0), but this GHC boot package has been pruned (issue
              #4510); you need to add the package explicitly to extra-deps  (latest matching version
              is 1.3.8.0)
    process must match (>=1.6.0 && <1.7.0), but this GHC boot package has been pruned (issue
            #4510); you need to add the package explicitly to extra-deps  (latest matching version
            is 1.6.16.0)
needed due to git-annex-10.20221103 -> concurrent-output-1.10.16

In the dependencies for conduit-1.3.4.3:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> conduit-1.3.4.3

In the dependencies for conduit-extra-1.3.6:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process needed, but this GHC boot package has been pruned (issue #4510); you need to add the
            package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> conduit-extra-1.3.6

In the dependencies for cookie-0.4.5:
    time must match >=1.5, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> cookie-0.4.5

In the dependencies for criterion-1.5.13.0:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> criterion-1.5.13.0

In the dependencies for easy-file-0.2.2:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> easy-file-0.2.2

In the dependencies for entropy-0.4.1.10:
    Cabal must match >=1.10 && <3.9, but the stack configuration has no specified version  (latest
          matching version is 3.8.1.0)
    directory must match <1.4, but this GHC boot package has been pruned (issue #4510); you need to
              add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process must match <1.7, but this GHC boot package has been pruned (issue #4510); you need to
            add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> entropy-0.4.1.10

In the dependencies for fast-logger-3.1.1:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> fast-logger-3.1.1

In the dependencies for feed-1.3.2.1:
    time must match <1.12, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.11.1.2)
needed due to git-annex-10.20221103 -> feed-1.3.2.1

In the dependencies for file-embed-0.0.15.0:
    directory must match >=1.0.0.3, but this GHC boot package has been pruned (issue #4510); you
              need to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> file-embed-0.0.15.0

In the dependencies for git-annex-10.20221103(+assistant
+benchmark
-dbus
-debuglocks
+gitlfs
+magicmime
+pairing
+production
+torrentparser):
    Cabal needed, but the stack configuration has no specified version  (latest matching version
          is 3.8.1.0)
    directory must match >=1.2.7.0, but this GHC boot package has been pruned (issue #4510); you
              need to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process must match >=1.6.3, but this GHC boot package has been pruned (issue #4510); you need to
            add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
    time must match >=1.5.0, but this GHC boot package has been pruned (issue #4510); you need to
         add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed since git-annex is a build target.

In the dependencies for haskeline-0.8.2:
    directory must match >=1.1 && <1.4, but this GHC boot package has been pruned (issue #4510); you
              need to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process must match >=1.0 && <1.7, but this GHC boot package has been pruned (issue #4510); you
            need to add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> haskeline-0.8.2

In the dependencies for http-client-0.7.13.1:
    time must match >=1.2, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> http-client-0.7.13.1

In the dependencies for http-date-0.0.11:
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> http-date-0.0.11

In the dependencies for libyaml-0.1.2:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> libyaml-0.1.2

In the dependencies for microstache-1.0.2.2:
    directory must match >=1.1.0.2 && <1.4, but this GHC boot package has been pruned (issue
              #4510); you need to add the package explicitly to extra-deps  (latest matching version
              is 1.3.8.0)
needed due to git-annex-10.20221103 -> microstache-1.0.2.2

In the dependencies for mwc-random-0.15.0.2:
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> mwc-random-0.15.0.2

In the dependencies for network-3.1.2.7:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> network-3.1.2.7

In the dependencies for optparse-applicative-0.16.1.0:
    process must match >=1.0 && <1.7, but this GHC boot package has been pruned (issue #4510); you
            need to add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> optparse-applicative-0.16.1.0

In the dependencies for path-pieces-0.2.1:
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> path-pieces-0.2.1

In the dependencies for persistent-2.13.3.5:
    time must match >=1.6, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> persistent-2.13.3.5

In the dependencies for persistent-sqlite-2.13.1.0:
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> persistent-sqlite-2.13.1.0

In the dependencies for resource-pool-0.2.3.2:
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> resource-pool-0.2.3.2

In the dependencies for shakespeare-2.0.30:
    directory must match >=1.2, but this GHC boot package has been pruned (issue #4510); you need to
              add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process must match >=1.0, but this GHC boot package has been pruned (issue #4510); you need to
            add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
    time must match >=1, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> shakespeare-2.0.30

In the dependencies for silently-1.2.5.3:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> silently-1.2.5.3

In the dependencies for streaming-commons-0.2.2.5:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process needed, but this GHC boot package has been pruned (issue #4510); you need to add the
            package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> streaming-commons-0.2.2.5

In the dependencies for terminal-size-0.3.3:
    process needed, but this GHC boot package has been pruned (issue #4510); you need to add the
            package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> terminal-size-0.3.3

In the dependencies for th-compat-0.1.4:
    directory must match >=1.1.0.0 && <1.4, but this GHC boot package has been pruned (issue
              #4510); you need to add the package explicitly to extra-deps  (latest matching version
              is 1.3.8.0)
needed due to git-annex-10.20221103 -> th-compat-0.1.4

In the dependencies for time-compat-1.9.6.1:
    time must
         match >=1.5 && <1.7 || ==1.8.* || >=1.9.2 && <1.9.4 || >=1.10 && <1.10.1 || >=1.11 && <1.11.2 || ==1.12.*,
         but this GHC boot package has been pruned (issue #4510); you need to add the package
         explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> time-compat-1.9.6.1

In the dependencies for time-locale-compat-0.1.1.5(-old-locale):
    time must match >=1.5, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> time-locale-compat-0.1.1.5

In the dependencies for typed-process-0.2.10.1:
    process must match >=1.2, but this GHC boot package has been pruned (issue #4510); you need to
            add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> typed-process-0.2.10.1

In the dependencies for unix-compat-0.5.4:
    directory must match >=1.2 && <1.4, but this GHC boot package has been pruned (issue #4510); you
              need to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    time must match >=1.0 && <1.13, but this GHC boot package has been pruned (issue #4510); you
         need to add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> unix-compat-0.5.4

In the dependencies for unliftio-0.2.23.0:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process must match >=1.2.0.0, but this GHC boot package has been pruned (issue #4510); you need
            to add the package explicitly to extra-deps  (latest matching version is 1.6.16.0)
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> unliftio-0.2.23.0

In the dependencies for uuid-1.3.15:
    time must match >=1.4 && <1.13, but this GHC boot package has been pruned (issue #4510); you
         need to add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> uuid-1.3.15

In the dependencies for wai-app-static-3.1.7.4:
    directory must match >=1.0.1, but this GHC boot package has been pruned (issue #4510); you need
              to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    time must match >=1.1.4, but this GHC boot package has been pruned (issue #4510); you need to
         add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> wai-app-static-3.1.7.4

In the dependencies for wai-extra-3.1.12.1:
    directory must match >=1.2.7.0, but this GHC boot package has been pruned (issue #4510); you
              need to add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    time must match >=1.1.4, but this GHC boot package has been pruned (issue #4510); you need to
         add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> wai-extra-3.1.12.1

In the dependencies for wai-logger-2.4.0:
    Cabal needed, but the stack configuration has no specified version  (latest matching version
          is 3.8.1.0)
needed due to git-annex-10.20221103 -> wai-logger-2.4.0

In the dependencies for warp-3.3.21:
    time needed, but this GHC boot package has been pruned (issue #4510); you need to add the
         package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> warp-3.3.21

In the dependencies for x509-store-1.6.9:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> x509-store-1.6.9

In the dependencies for x509-system-1.6.7:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process needed, but this GHC boot package has been pruned (issue #4510); you need to add the
            package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> x509-system-1.6.7

In the dependencies for xml-conduit-1.9.1.1:
    Cabal needed, but the stack configuration has no specified version  (latest matching version
          is 3.8.1.0)
needed due to git-annex-10.20221103 -> xml-conduit-1.9.1.1

In the dependencies for yaml-0.11.8.0:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> yaml-0.11.8.0

In the dependencies for yesod-1.6.2.1:
    directory needed, but this GHC boot package has been pruned (issue #4510); you need to add the
              package explicitly to extra-deps  (latest matching version is 1.3.8.0)
needed due to git-annex-10.20221103 -> yesod-1.6.2.1

In the dependencies for yesod-core-1.6.24.0:
    time must match >=1.5, but this GHC boot package has been pruned (issue #4510); you need to add
         the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> yesod-core-1.6.24.0

In the dependencies for yesod-form-1.7.3:
    time must match >=1.1.4, but this GHC boot package has been pruned (issue #4510); you need to
         add the package explicitly to extra-deps  (latest matching version is 1.12.2)
needed due to git-annex-10.20221103 -> yesod-form-1.7.3

In the dependencies for yesod-static-1.6.1.0:
    directory must match >=1.0, but this GHC boot package has been pruned (issue #4510); you need to
              add the package explicitly to extra-deps  (latest matching version is 1.3.8.0)
    process needed, but this GHC boot package has been pruned (issue #4510); you need to add the
            package explicitly to extra-deps  (latest matching version is 1.6.16.0)
needed due to git-annex-10.20221103 -> yesod-static-1.6.1.0
joeyh commented 1 year ago

Windows build is fixed now.