diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-07-25 19:22:46 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-07-25 19:22:46 -0400 |
| commit | 31b75f3cf5494e52a1c1a27cb72aa3883bd398a2 (patch) | |
| tree | cc6a58c46c8e85013a86688a05a63cb009bbf564 /doc/forum/Error_building_on_remote_host.mdwn | |
| parent | a7310f5364cd8e300b6f508ff6262c8696add193 (diff) | |
| parent | 2ca119810e9924081cd4644d7c9ff44e91487748 (diff) | |
Merge branch 'master' of ssh://propellor.branchable.com
Diffstat (limited to 'doc/forum/Error_building_on_remote_host.mdwn')
| -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? |
