Hi everybody,
I tried to compile hldeger with `stack --version ; stack build` on Fedora 33. I get this output.
Version 2.5.1, Git revision d6ab861544918185236cf826cb2028abb266d6d5 x86_64 hpack-0.33.0
/home/patrik/devel/hledger/hledger-lib/hledger-lib.cabal was generated with a newer version of hpack, please upgrade and try again.
/home/patrik/devel/hledger/hledger/hledger.cabal was generated with a newer version of hpack, please upgrade and try again.
/home/patrik/devel/hledger/hledger-ui/hledger-ui.cabal was generated with a newer version of hpack, please upgrade and try again.
/home/patrik/devel/hledger/hledger-web/hledger-web.cabal was generated with a newer version of hpack, please upgrade and try again.
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Preparing to download ghc-tinfo6-8.10.3 ...
Download expectation failure: HttpExceptionRequest Request {
host = "downloads.haskell.org"
port = 443
secure = True
requestHeaders = [("User-Agent","The Haskell Stack")]
path = "/~ghc/8.10.3/ghc-8.10.3-x86_64-fedora27-linux.tar.xz"
queryString = ""
method = "GET"
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
ConnectionTimeout
Any hints on how to fix this? Why does it try to download a fedora27 build? I ran `stack upgrade` before, why do you have a newer version of hpack?
Thanks for your support!
Best Patrik
On Feb 18, 2021, at 11:40 AM, Patrik keller <pat...@pkel.dev> wrote:Hi everybody,
I tried to compile hldeger with `stack --version ; stack build` on Fedora 33. I get this output.
Version 2.5.1, Git revision d6ab861544918185236cf826cb2028abb266d6d5 x86_64 hpack-0.33.0/home/patrik/devel/hledger/hledger-lib/hledger-lib.cabal was generated with a newer version of hpack, please upgrade and try again. /home/patrik/devel/hledger/hledger/hledger.cabal was generated with a newer version of hpack, please upgrade and try again. /home/patrik/devel/hledger/hledger-ui/hledger-ui.cabal was generated with a newer version of hpack, please upgrade and try again. /home/patrik/devel/hledger/hledger-web/hledger-web.cabal was generated with a newer version of hpack, please upgrade and try again.
Preparing to install GHC (tinfo6) to an isolated location. This will not interfere with any system-level installation. Preparing to download ghc-tinfo6-8.10.3 ... Download expectation failure: HttpExceptionRequest Request { host = "downloads.haskell.org" port = 443 secure = True requestHeaders = [("User-Agent","The Haskell Stack")] path = "/~ghc/8.10.3/ghc-8.10.3-x86_64-fedora27-linux.tar.xz" queryString = "" method = "GET" proxy = Nothing rawBody = False redirectCount = 10 responseTimeout = ResponseTimeoutDefault requestVersion = HTTP/1.1 } ConnectionTimeoutAny hints on how to fix this? Why does it try to download a fedora27 build?
Thanks for your help. I can rule most network failures. The
following command does not time out.
curl "https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-x86_64-fedora27-linux.tar.xz" -H "User-Agent: The Haskell Stack" -o /dev/null
The problem is probably with stack. I will stop bothering you.
The hpack warnings are gone!
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hledger/D32D354C-C76C-44D7-8365-DF8F0CA4CA45%40joyful.com.
For completeness: I solved this issue by doing nothing and trying
again after a few months (upgraded to Fedora 34 in the meantime).