Haskell deployment (standalone, yesod, snap ...) in Openshift fails
Whenever I try to create an application based on a Haskell cartridge it results in the following error variation:
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 55c67c940c1e6694ac000017 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c5,c753' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=137 .Last 10 kB of build output: The server is not running, nothing to stop. Repairing links for 1 deployments Building git ref 'master', commit 6b8beb4 Downloading the latest package list from hackage.haskell.org
This happens for predefined cartridges in the Openshift hub like Snap, Yesod, Scotty, and for cartridges defined in the wiki ( https://wiki.haskell.org/Web/Cloud ).
I am asking for help because the application is never built, so I cannot check the logs and I cannot do much from the error message. I've tried other types of cartridges than Haskell and they build just fine.
source to share
This is caused by https://github.com/haskell/cabal/issues/2396 see https://wiki.haskell.org/Web/Cloud#OpenShift . Can be fixed in the 1.24 install.
source to share