[Haskell-cafe] Hackage package upload error: Invalid package

Vincent Hanquez tab at snarc.org
Mon May 2 06:11:26 UTC 2016



On 01/05/2016 13:31, Kostiantyn Rybnikov wrote:
> Hi!
>
> 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 
> <http://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.

-- 
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160502/dc9a47e3/attachment.html>


More information about the Haskell-Cafe mailing list