Ticket #461 (closed defect: fixed)
"ghc-options: -O0" causes upload error; blocks xmonad-contrib release
| Reported by: | sjanssen | Owned by: | ross@… |
|---|---|---|---|
| Priority: | normal | Milestone: | HackageDB |
| Component: | hackageDB website | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | dons | Difficulty: | normal |
| GHC Version: | 6.8.3 | Platform: |
Description
When attempting to upload xmonad-contrib-0.8.1 to Hackage:
400 Error in upload 'ghc-options: -O0' is not needed. Use the --disable-optimization configure flag.
xmonad-contrib.cabal has the following:
if impl (ghc >= 6.10.1) && arch (x86_64)
ghc-options: -O0
This is a workaround for GHC bug http://hackage.haskell.org/trac/ghc/ticket/2961 . If we do not disable optimizations on x86_64 and GHC 6.10.1, our users experience lockups and crashes. This is rather critical for us, as we are now unable to release a stable version of xmonad.
This error should be changed to a strong warning -- sometimes the package author really does know better than the package manager.
Change History
Note: See
TracTickets for help on using
tickets.
