-
-
Save Aster89/dc66ebc3e52ee67e586d8767dc026947 to your computer and use it in GitHub Desktop.
cabal log when installing xmobar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resolving dependencies... | |
Build profile: -w ghc-9.4.8 -O1 | |
In order, the following will be built (use -v for more details): | |
- xmobar-0.14 (exe:xmobar) (requires build) | |
Starting xmobar-0.14 (all, legacy fallback) | |
Building xmobar-0.14 (all, legacy fallback) | |
Failed to build xmobar-0.14. | |
Build log ( | |
/home/enrico/.cache/cabal/logs/ghc-9.4.8/xmobar-0.14-034f506a7b8967ea736273840250c591ae2e21cc945d1534d7e8aa94b7f5901b.log | |
): | |
Warning: xmobar.cabal:7:1: Tabs used as indentation at 7:1 | |
Configuring xmobar-0.14... | |
Warning: 'ghc-prof-options: -prof' is not necessary and will lead to problems | |
when used on a library. Use the configure flag --enable-library-profiling | |
and/or --enable-profiling. | |
Preprocessing executable 'xmobar' for xmobar-0.14.. | |
Building executable 'xmobar' for xmobar-0.14.. | |
<no location info>: warning: [-Wmissing-home-modules] | |
These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘main’ : | |
Paths_xmobar | |
[ 1 of 38] Compiling Localize ( dist/build/xmobar/xmobar-tmp/Localize.hs, dist/build/xmobar/xmobar-tmp/Localize.o ) | |
[ 2 of 38] Compiling Paths_xmobar ( dist/build/xmobar/autogen/Paths_xmobar.hs, dist/build/xmobar/xmobar-tmp/Paths_xmobar.o ) | |
[ 3 of 38] Compiling Plugins.Utils ( src/Plugins/Utils.hs, dist/build/xmobar/xmobar-tmp/Plugins/Utils.o ) | |
[ 4 of 38] Compiling StatFS ( dist/build/xmobar/xmobar-tmp/StatFS.hs, dist/build/xmobar/xmobar-tmp/StatFS.o ) | |
[ 5 of 38] Compiling XUtil ( dist/build/xmobar/xmobar-tmp/XUtil.hs, dist/build/xmobar/xmobar-tmp/XUtil.o ) | |
src/XUtil.hsc:101:8: error: | |
Variable not in scope: | |
catch :: IO FontStruct -> (b3 -> IO FontStruct) -> IO FontStruct | |
| | |
101 | f <- catch getIt fallBack | |
| ^^^^^ | |
src/XUtil.hsc:112:14: error: | |
Variable not in scope: | |
catch | |
:: IO ([String], String, FontSet) | |
-> (b1 -> IO ([String], String, FontSet)) -> IO (a1, b2, FontSet) | |
| | |
112 | (_,_,f) <- catch getIt fallBack | |
| ^^^^^ | |
src/XUtil.hsc:192:38: error: | |
Variable not in scope: | |
catch :: IO DynPixel -> (b0 -> m0 DynPixel) -> IO DynPixel | |
| | |
192 | initColor dpy c = (initColor' dpy c) `catch` | |
| ^^^^^^^ | |
src/XUtil.hsc:198:14: error: | |
Variable not in scope: | |
unsafePerformIO :: IO (IORef [a0]) -> IORef ColorCache | |
| | |
198 | colorCache = unsafePerformIO $ newIORef [] | |
| ^^^^^^^^^^^^^^^ | |
Error: cabal: Failed to build xmobar-0.14. See the build log above for | |
details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment