<div dir="ltr">It gives you a warning at the end about the use of -Werror and -auto-all. If you remove those options, does it go through?</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 1, 2016 at 5:31 AM, Kostiantyn Rybnikov <span dir="ltr"><<a href="mailto:k-bx@k-bx.com" target="_blank">k-bx@k-bx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>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.</div><div><br></div><div>```</div><div><div>➜ hedis git:(master) stack -v upload .</div><div>Version 1.0.4.3 x86_64</div><div>2016-05-01 15:29:31.034044: [debug] Checking for project config at: /Users/kb/workspace/hedis/stack.yaml @(stack_2rXRdr1j02iFXWAif5re4K:Stack.Config src/Stack/Config.hs:761:9)</div><div>2016-05-01 15:29:31.037100: [debug] Loading project config file stack.yaml @(stack_2rXRdr1j02iFXWAif5re4K:Stack.Config src/Stack/Config.hs:779:13)</div><div>2016-05-01 15:29:31.110561: [debug] Checking for project config at: /Users/kb/workspace/hedis/stack.yaml @(stack_2rXRdr1j02iFXWAif5re4K:Stack.Config src/Stack/Config.hs:761:9)</div><div>2016-05-01 15:29:31.110690: [debug] Loading project config file stack.yaml @(stack_2rXRdr1j02iFXWAif5re4K:Stack.Config src/Stack/Config.hs:779:13)</div><div>2016-05-01 15:29:31.111459: [debug] Trying to decode /Users/kb/.stack/build-plan-cache/x86_64-osx/lts-5.3.cache @(stack_2rXRdr1j02iFXWAif5re4K:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)</div><div>2016-05-01 15:29:31.124939: [debug] Success decoding /Users/kb/.stack/build-plan-cache/x86_64-osx/lts-5.3.cache @(stack_2rXRdr1j02iFXWAif5re4K:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)</div><div>2016-05-01 15:29:31.132890: [debug] Trying to decode /Users/kb/.stack/indices/Hackage/00-index.cache @(stack_2rXRdr1j02iFXWAif5re4K:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)</div><div>2016-05-01 15:29:31.421690: [debug] Success decoding /Users/kb/.stack/indices/Hackage/00-index.cache @(stack_2rXRdr1j02iFXWAif5re4K:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)</div><div>2016-05-01 15:29:31.434522: [debug] Run process: ghc --info @(stack_2rXRdr1j02iFXWAif5re4K:System.Process.Read src/System/Process/Read.hs:269:3)</div><div>2016-05-01 15:29:31.498337: [debug] Run process: ghc --numeric-version @(stack_2rXRdr1j02iFXWAif5re4K:System.Process.Read src/System/Process/Read.hs:269:3)</div><div>2016-05-01 15:29:31.543696: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal version @(stack_2rXRdr1j02iFXWAif5re4K:System.Process.Read src/System/Process/Read.hs:269:3)</div><div>2016-05-01 15:29:31.576011: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_2rXRdr1j02iFXWAif5re4K:System.Process.Read src/System/Process/Read.hs:269:3)</div><div>2016-05-01 15:29:31.625682: [info] Getting file list for /Users/kb/workspace/hedis/ @(stack_2rXRdr1j02iFXWAif5re4K:Stack.SDist src/Stack/SDist.hs:96:5)</div><div>2016-05-01 15:29:31.628599: [debug] Checking resolver: lts-5.3 @(stack_2rXRdr1j02iFXWAif5re4K:Stack.Build.Source src/Stack/Build/Source.hs:164:17)</div><div>2016-05-01 15:29:31.628777: [debug] Trying to decode /Users/kb/.stack/build-plan-cache/x86_64-osx/lts-5.3.cache @(stack_2rXRdr1j02iFXWAif5re4K:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)</div><div>2016-05-01 15:29:31.636259: [debug] Success decoding /Users/kb/.stack/build-plan-cache/x86_64-osx/lts-5.3.cache @(stack_2rXRdr1j02iFXWAif5re4K:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)</div><div>2016-05-01 15:29:31.650120: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_2rXRdr1j02iFXWAif5re4K:System.Process.Read src/System/Process/Read.hs:269:3)</div><div>2016-05-01 15:29:31.679601: [debug] Run process: /Users/kb/.stack/setup-exe-cache/x86_64-osx/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.5.0 sdist --list-sources /private/var/folders/7l/3ys9j0lx20j6z69lm6s_9r780000gn/T/stack-sdist56408/source-files-list @(stack_2rXRdr1j02iFXWAif5re4K:System.Process.Read src/System/Process/Read.hs:287:3)</div><div>2016-05-01 15:29:31.728919: [info] Building sdist tarball for /Users/kb/workspace/hedis/ @(stack_2rXRdr1j02iFXWAif5re4K:Stack.SDist src/Stack/SDist.hs:98:5)</div><div>2016-05-01 15:29:31.756558: [info] Checking package 'hedis' for common mistakes @(stack_2rXRdr1j02iFXWAif5re4K:Stack.SDist src/Stack/SDist.hs:274:5)</div><div>2016-05-01 15:29:31.758110: [warn] Package check reported the following warnings:</div><div>'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.</div><div>'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)</div><div>Uploading hedis-0.8.1.tar.gz... TlsExceptionHostPort (HandshakeFailed (Error_Packet_unexpected "Alert [(AlertLevel_Fatal,BadRecordMac)]" " expected: change cipher")) "<a href="http://hackage.haskell.org" target="_blank">hackage.haskell.org</a>" 443</div><div>➜ hedis git:(master) stack upload .</div><div>Getting file list for /Users/kb/workspace/hedis/</div><div>Building sdist tarball for /Users/kb/workspace/hedis/</div><div>Checking package 'hedis' for common mistakes</div><div>Package check reported the following warnings:</div><div>'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.</div><div>'ghc-prof-options: -auto-all' is fine during development, but not recommended in a distributed package.</div><div>Uploading hedis-0.8.1.tar.gz... unhandled status code: 400</div><div>Error: Invalid package</div><div><br></div><div>'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.</div><div>Upload failed on hedis-0.8.1.tar.gz</div></div><div>```</div><div><br></div><div>Hope somebody can take a look.</div><div>Thank you.</div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>