[Haskell-cafe] Hackage package upload error: Invalid package
k-bx at k-bx.com
Mon May 2 16:32:35 UTC 2016
I don't know really, it's a latest stack release from brew. I'd expect it
to be 1.3.5 as lts-5.14 has one.
On Mon, May 2, 2016 at 9:11 AM, Vincent Hanquez <tab at snarc.org> wrote:
> On 01/05/2016 13:31, Kostiantyn Rybnikov wrote:
> Wanted to upload the 0.8.1 version of hedis, did what I usually did, but
> getting an error. Running "stack -v upload ." seems to show some
> tls-related details.
> 'ghc-options: -Wall -Werror' makes the package very easy to break with
> future GHC versions because new GHC versions often add new warnings. Use
> just 'ghc-options: -Wall' instead.
> 'ghc-prof-options: -auto-all' is fine during development, but not
> recommended in a distributed package.
> @(stack_2rXRdr1j02iFXWAif5re4K:Stack.SDist src/Stack/SDist.hs:285:9)
> Uploading hedis-0.8.1.tar.gz... TlsExceptionHostPort (HandshakeFailed
> (Error_Packet_unexpected "Alert [(AlertLevel_Fatal,BadRecordMac)]" "
> expected: change cipher")) "hackage.haskell.org" 443
> Hi Kostiantyn,
> Do you know which version of tls are you using ?
> tls < 1.3.5 that uses ECC have a serialisation bug that shows up like this
> every now and then.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe