Both -Werror and -auto-all should be hidden behind a "-dev" flag, so the warning is not really valid if I'm not mistaken. Plus, it had been there for a while now and worked before.
Update regarding a tls error: it seems it doesn't happen now, the log is like this:
➜ hedis git:(master) stack upload -v .
Version 1.0.4.3, Git revision db1afb275ebd64016e8ef0db122f0f03da9e5906 (3242 commits) x86_64
2016-05-01 15:59:16.723295: [debug] Checking for project config at: /home/kb/workspace/hedis/stack.yaml @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.Config src/Stack/Config.hs:761:9)
2016-05-01 15:59:16.723597: [debug] Loading project config file stack.yaml @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.Config src/Stack/Config.hs:779:13)
2016-05-01 15:59:16.761440: [debug] Checking for project config at: /home/kb/workspace/hedis/stack.yaml @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.Config src/Stack/Config.hs:761:9)
2016-05-01 15:59:16.761726: [debug] Loading project config file stack.yaml @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.Config src/Stack/Config.hs:779:13)
2016-05-01 15:59:16.764059: [debug] Run process: ldd /usr/bin/stack @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:269:3)
2016-05-01 15:59:16.778551: [debug] Trying to decode /home/kb/.stack/build-plan-cache/x86_64-linux/lts-5.3.cache @(stack_JlzIf2rBNeuFEjNaHJwIZR:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-05-01 15:59:16.800503: [debug] Success decoding /home/kb/.stack/build-plan-cache/x86_64-linux/lts-5.3.cache @(stack_JlzIf2rBNeuFEjNaHJwIZR:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)
2016-05-01 15:59:16.800841: [debug] Trying to decode /home/kb/.stack/indices/Hackage/00-index.cache @(stack_JlzIf2rBNeuFEjNaHJwIZR:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-05-01 15:59:17.180117: [debug] Success decoding /home/kb/.stack/indices/Hackage/00-index.cache @(stack_JlzIf2rBNeuFEjNaHJwIZR:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)
2016-05-01 15:59:17.206082: [debug] Run process: ghc --info @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:269:3)
2016-05-01 15:59:17.274505: [debug] Run process: ghc --numeric-version @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:269:3)
2016-05-01 15:59:17.320953: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal version @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:269:3)
2016-05-01 15:59:17.349951: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:269:3)
2016-05-01 15:59:17.384645: [info] Getting file list for /home/kb/workspace/hedis/ @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.SDist src/Stack/SDist.hs:96:5)
2016-05-01 15:59:17.388361: [debug] Checking resolver: lts-5.3 @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.Build.Source src/Stack/Build/Source.hs:164:17)
2016-05-01 15:59:17.388599: [debug] Trying to decode /home/kb/.stack/build-plan-cache/x86_64-linux/lts-5.3.cache @(stack_JlzIf2rBNeuFEjNaHJwIZR:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-05-01 15:59:17.407773: [debug] Success decoding /home/kb/.stack/build-plan-cache/x86_64-linux/lts-5.3.cache @(stack_JlzIf2rBNeuFEjNaHJwIZR:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)
2016-05-01 15:59:17.438372: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:269:3)
2016-05-01 15:59:17.470217: [debug] Run process: /home/kb/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.5.0 sdist --list-sources /tmp/stack-sdist11498/source-files-list @(stack_JlzIf2rBNeuFEjNaHJwIZR:System.Process.Read src/System/Process/Read.hs:287:3)
2016-05-01 15:59:17.523577: [info] Building sdist tarball for /home/kb/workspace/hedis/ @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.SDist src/Stack/SDist.hs:98:5)
2016-05-01 15:59:17.565851: [info] Checking package 'hedis' for common mistakes @(stack_JlzIf2rBNeuFEjNaHJwIZR:Stack.SDist src/Stack/SDist.hs:274:5)
2016-05-01 15:59:17.566205: [warn] Package check reported the following warnings:
'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_JlzIf2rBNeuFEjNaHJwIZR:Stack.SDist src/Stack/SDist.hs:285:9)
Uploading hedis-0.8.1.tar.gz... unhandled status code: 400
Error: Invalid package
'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.
Upload failed on hedis-0.8.1.tar.gz
So, just status 400 somewhere.