3

每当我尝试基于 Haskell 磁带创建应用程序时,都会导致以下错误的变体:

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

这发生在 Openshift 集线器中的预定义墨盒,例如 Snap、Yesod、Scotty 以及 wiki ( https://wiki.haskell.org/Web/Cloud ) 中定义的墨盒。

我正在请求帮助,因为他的应用程序永远不会被创建,因此我无法检查日志,而且我无法从错误消息中获得太多收益。我尝试了除 Haskell 之外的其他墨盒类型,并且它们创建得很好。

4

1 回答 1

1

这是由https://github.com/haskell/cabal/issues/2396引起的,请参阅https://wiki.haskell.org/Web/Cloud#OpenShift。可能在 cabal-install 1.24 中修复。

于 2015-09-13T09:34:34.697 回答