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

Kostiantyn Rybnikov k-bx at k-bx.com
Mon May 2 16:33:41 UTC 2016


Actually, sorry, you are right. I've chosen the "1.0.4.2" tag and there
stack has lts-5.0 which has tls 1.3.4. Nice catch!

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:
>
> 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" 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/832bff9d/attachment.html>


More information about the Haskell-Cafe mailing list