diff options
| author | mithrandi <mithrandi@web> | 2017-07-25 22:06:34 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2017-07-25 22:06:34 +0000 |
| commit | dcdfb4bd3543df44da963aece49e79d6e9404656 (patch) | |
| tree | 0ded070c633b590e4d60c49523d407700bd939cf /doc/forum | |
| parent | d35c1c7ad1539da24e6ab071d8d669912f330f0c (diff) | |
Diffstat (limited to 'doc/forum')
| -rw-r--r-- | doc/forum/Error_building_on_remote_host.mdwn | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/forum/Error_building_on_remote_host.mdwn b/doc/forum/Error_building_on_remote_host.mdwn new file mode 100644 index 00000000..240db464 --- /dev/null +++ b/doc/forum/Error_building_on_remote_host.mdwn @@ -0,0 +1,31 @@ +I recently updated to the latest Propellor and now I'm getting an error building on a remote host: + + [86 of 94] Compiling Propellor.Bootstrap ( src/Propellor/Bootstrap.hs, dist/build/propellor-config/propellor-config-tmp/Propellor/Bootstrap.o ) + + src/Propellor/Bootstrap.hs:237:22: + No instance for (Typeable Bootstrapper) + arising from a use of `fromInfo' + Possible fix: + add an instance declaration for (Typeable Bootstrapper) + In the expression: fromInfo (maybe mempty hostInfo mh) + In a stmt of a 'do' block: + case fromInfo (maybe mempty hostInfo mh) of { + NoInfoVal + -> do { bs <- getGitConfigValue "propellor.buildsystem"; + case bs of { + Just "stack" -> ... + _ -> ... } } + InfoVal bs + -> case getBuilder bs of { + Cabal -> cabalBuild msys + Stack -> stackBuild msys } } + In the second argument of `($)', namely + `do { case fromInfo (maybe mempty hostInfo mh) of { + NoInfoVal -> do { ... } + InfoVal bs + -> case getBuilder bs of { + Cabal -> ... + Stack -> ... } } }' + propellor: cabal build failed + +I guess I'm missing something, but not sure what? |
