You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempted to build under Ubuntu 20.10 on RPi. Haskell-platform installed via standard apt-get, tried to run "cabal install PortFusion" and it attempted, but produced the below to the log. I know almost nothing about Haskell, but it looks like it made a reasonable try but encountered some conflict with a library or other built-in?:
Configuring PortFusion-1.2.2...
Preprocessing executable 'PortFusion' for PortFusion-1.2.2..
Building executable 'PortFusion' for PortFusion-1.2.2..
[1 of 1] Compiling Main ( src/Main.hs, dist/build/PortFusion/PortFusion-tmp/Main.o )
src/Main.hs:121:84: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
121 | (<:) :: Show a => Socket -> a -> IO (); s <: a = s sendAll ((B.pack . show $! a) <> "\r\n")
| ^^
src/Main.hs:196:21: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:30: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:39: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:48: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:78: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
cabal: Failed to build PortFusion-1.2.2. See the build log above for details.
The text was updated successfully, but these errors were encountered:
Attempted to build under Ubuntu 20.10 on RPi. Haskell-platform installed via standard apt-get, tried to run "cabal install PortFusion" and it attempted, but produced the below to the log. I know almost nothing about Haskell, but it looks like it made a reasonable try but encountered some conflict with a library or other built-in?:
Configuring PortFusion-1.2.2...
Preprocessing executable 'PortFusion' for PortFusion-1.2.2..
Building executable 'PortFusion' for PortFusion-1.2.2..
[1 of 1] Compiling Main ( src/Main.hs, dist/build/PortFusion/PortFusion-tmp/Main.o )
src/Main.hs:121:84: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
121 | (<:) :: Show a => Socket -> a -> IO (); s <: a = s
sendAll
((B.pack . show $! a) <> "\r\n")| ^^
src/Main.hs:196:21: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:30: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:39: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:48: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
src/Main.hs:196:78: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Main.hs:16:1-100
(and originally defined in ‘GHC.Base’)
or ‘Main.<>’, defined at src/Main.hs:55:71
|
196 | build = OS <> " - " <> ARCH <> " [" <> TIMESTAMP <> "]"
| ^^
cabal: Failed to build PortFusion-1.2.2. See the build log above for details.
The text was updated successfully, but these errors were encountered: