Download raw body.
Update xmobar to 0.50
Greg Steuck writes:
Thanks for this. First, some feedback on the port itself:
1) Should this duplicate MODCABAL_VERSION be here?
MODCABAL_VERSION = 0.47.1
duplicated assignment of MODCABAL_STEM at Makefile:27
duplicated assignment of MODCABAL_VERSION at Makefile:28
duplicated assignment of MODCABAL_MANIFEST at Makefile:29
2) Is inotify used in WANTLIB?
xmobar-0.50(x11/xmobar):
Bogus WANTLIB: inotify.4 (/usr/local/bin/xmobar) (NOT REACHABLE)
> I'm running this now on amd64 though I have to admit the port update
> process is no longer trivial. Something in cabal-bundler stopped working
> so I had to manually adjust happy and vector versions. I'll eventually
> dig into this.
>
> For now, if somebody else uses xmobar can they test this?
I finally updated my cabal and xmonad after 200+ days since xmonad
0.17.0. If I add xmonad-contrib to build-depends in xmonad-config.cabal,
it fails to build splitmix:
--8<---------------cut here---------------start------------->8---
$ cabal update
$ cp -r /usr/local/share/examples/xmonad-0.18.0 ~/workspace/
$ cd ~/workspace/xmonad-0.18.0
edit xmonad-config.cabal:
build-depends: base, containers, xmonad, xmonad-contrib
$ ./build xmonad
Wrote tarball sdist to
/home/namtsui/workspace/xmonad-0.18.0/dist-newstyle/sdist/xmonad-config-0.1.0.0.tar.gz
Resolving dependencies...
Build profile: -w ghc-9.8.3 -O1
In order, the following will be built (use -v for more details):
- splitmix-0.1.3.1 (lib) (requires build)
- random-1.3.1 (lib) (requires build)
- xmonad-contrib-0.18.1 (lib) (requires build)
- xmonad-config-0.1.0.0 (exe:xmonad-config) (requires build)
Starting splitmix-0.1.3.1 (lib)
Building splitmix-0.1.3.1 (lib)
Failed to build splitmix-0.1.3.1.
Build log (
/home/namtsui/.cabal/logs/ghc-9.8.3/splitmix-0.1.3.1-eee97be94a007d3a1d64b41d0a0ebc39de6917f24f2de65c1109d383306f099a.log
):
Configuring library for splitmix-0.1.3.1...
Preprocessing library for splitmix-0.1.3.1...
Building library for splitmix-0.1.3.1...
[1 of 4] Compiling Data.Bits.Compat ( src-compat/Data/Bits/Compat.hs, dist/build/Data/Bits/Compat.o, dist/build/Data/Bits/Compat.dyn_o )
[2 of 4] Compiling System.Random.SplitMix.Init ( src/System/Random/SplitMix/Init.hs, dist/build/System/Random/SplitMix/Init.o, dist/build/System/Random/SplitMix/Init.dyn_o )
[3 of 4] Compiling System.Random.SplitMix ( src/System/Random/SplitMix.hs, dist/build/System/Random/SplitMix.o, dist/build/System/Random/SplitMix.dyn_o )
[4 of 4] Compiling System.Random.SplitMix32 ( src/System/Random/SplitMix32.hs, dist/build/System/Random/SplitMix32.o, dist/build/System/Random/SplitMix32.dyn_o )
cbits-unix/init.c:3:10: error:
fatal error: 'sys/random.h' file not found
3 | #include <sys/random.h>
| ^~~~~~~~~~~~~~
|
3 | #include <sys/random.h>
| ^
1 error generated.
`clang' failed in phase `C Compiler'. (Exit code: 1)
Error: [Cabal-7125]
Failed to build splitmix-0.1.3.1 (which is required by exe:xmonad-config from xmonad-config-0.1.0.0). See the build log above for details.
--8<---------------cut here---------------end--------------->8---
If I keep a minimal config with the example configuration, without
depending on xmonad-contrib, xmonad works. xmobar will run but my
workspace element is stuck on Updating..., probably due to
xmonad-contrib not working. Date, time and temperature work. Without
xmonad-contrib, struts is broken (also likely due to xmonad-contrib not
compiling) so xmobar is covered by the tiled windows. xmobar is visible
on an empty workspace though.
Update xmobar to 0.50