From dcdfb4bd3543df44da963aece49e79d6e9404656 Mon Sep 17 00:00:00 2001 From: mithrandi Date: Tue, 25 Jul 2017 22:06:34 +0000 Subject: --- doc/forum/Error_building_on_remote_host.mdwn | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/forum/Error_building_on_remote_host.mdwn (limited to 'doc/forum/Error_building_on_remote_host.mdwn') 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? -- cgit v1.2.3