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
Describe the bug
I just rebuilt my xmonad config using the new cabal prerelease. The standard build went as expected, but the secondary build with cabal repl (so I have a "hot" config I can use for quick testing) unexpectedly downloaded but did not build a number of packages.
To Reproduce
Steps to reproduce the behavior:
This assumes you have cloned https://github.com/xmonad.hs/tree/skkukuk; and it may require that you have done an earlier build with cabal 3.8.1.0 and the Hackage index per cabal v2-update 'hackage.haskell.org,2023-01-20T16:06:23Z'.
$ sh ./update.sh
Go update github xmonad and xmonad-contrib; I'll wait…
Downloading the latest package list from hackage.haskell.org
Package list of hackage.haskell.org has been updated.
The index-state is set to 2023-01-27T16:08:50Z.
To revert to previous state run:
cabal v2-update 'hackage.haskell.org,2023-01-20T16:06:23Z'
Already up to date.
Already up to date.
Already up to date.
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 23 (delta 14), reused 15 (delta 12), pack-reused 0
Unpacking objects: 100% (23/23), 29.62 KiB | 842.00 KiB/s, done.
From github.com:geekosaur/xmonad-contrib
df1fc2d3..33c1e242 master -> origin/master
Updating df1fc2d3..33c1e242
Fast-forward
CHANGES.md | 8 ++++++++
XMonad/Hooks/StatusBar.hs | 7 +++++++
XMonad/Util/EZConfig.hs | 35 +++++++++++++++++++++++++++++++++++
XMonad/Util/NamedScratchpad.hs | 7 ++++---
4 files changed, 54 insertions(+), 3 deletions(-)
XMonad will use build script at "/home/allbery/.config/xmonad/build" to recompile.
XMonad recompiling (forced).
Wrote tarball sdist to
/home/allbery/.config/xmonad/dist-newstyle/sdist/xmonad-bsa-0.4.tar.gz
Wrote tarball sdist to
/home/allbery/.config/xmonad/dist-newstyle/sdist/X11-1.10.3.9.tar.gz
Wrote tarball sdist to
/home/allbery/.config/xmonad/dist-newstyle/sdist/X11-xft-0.3.4.tar.gz
Wrote tarball sdist to
/home/allbery/.config/xmonad/dist-newstyle/sdist/xmonad-0.17.1.9.tar.gz
Wrote tarball sdist to
/home/allbery/.config/xmonad/dist-newstyle/sdist/xmonad-contrib-0.17.1.9.tar.gz
Resolving dependencies...
Build profile: -w ghc-9.2.5 -O2
In order, the following will be built (use -v for more details):
- X11-1.10.3.9 (lib:X11) (requires build)
- xmonad-0.17.1.9 (lib) (requires build)
- X11-xft-0.3.4 (lib) (requires build)
- xmonad-contrib-0.17.1.9 (lib) (requires build)
- xmonad-bsa-0.4 (exe:xmonad-bsa) (requires build)
Starting X11-1.10.3.9 (all, legacy fallback)
Building X11-1.10.3.9 (all, legacy fallback)
Installing X11-1.10.3.9 (all, legacy fallback)
Completed X11-1.10.3.9 (all, legacy fallback)
Starting X11-xft-0.3.4 (lib)
Starting xmonad-0.17.1.9 (lib)
Building X11-xft-0.3.4 (lib)
Building xmonad-0.17.1.9 (lib)
Installing X11-xft-0.3.4 (lib)
Completed X11-xft-0.3.4 (lib)
Installing xmonad-0.17.1.9 (lib)
Completed xmonad-0.17.1.9 (lib)
Starting xmonad-contrib-0.17.1.9 (lib)
Building xmonad-contrib-0.17.1.9 (lib)
Installing xmonad-contrib-0.17.1.9 (lib)
Completed xmonad-contrib-0.17.1.9 (lib)
Starting xmonad-bsa-0.4 (exe:xmonad-bsa)
Building xmonad-bsa-0.4 (exe:xmonad-bsa)
Installing xmonad-bsa-0.4 (exe:xmonad-bsa)
Completed xmonad-bsa-0.4 (exe:xmonad-bsa)
Symlinking 'xmonad-bsa' to '/home/allbery/.cache/xmonad/xmonad-bsa'
XMonad recompilation process exited with success!
Resolving dependencies...
Downloading HUnit-1.6.2.0
Downloaded HUnit-1.6.2.0
Downloading haskell-lexer-1.1.1
Downloaded haskell-lexer-1.1.1
Downloading hspec-2.10.9
Downloaded hspec-2.10.9
Downloading hspec-core-2.10.9
Downloaded hspec-core-2.10.9
Downloading hspec-discover-2.10.9
Downloaded hspec-discover-2.10.9
Downloading hspec-expectations-0.8.2
Downloaded hspec-expectations-0.8.2
Downloading primitive-addr-0.1.0.2
Downloaded primitive-addr-0.1.0.2
Downloading quickcheck-classes-0.6.5.0
Downloaded quickcheck-classes-0.6.5.0
Downloading quickcheck-classes-base-0.6.2.0
Downloaded quickcheck-classes-base-0.6.2.0
Downloading quickcheck-io-0.2.0
Downloaded quickcheck-io-0.2.0
Downloading setenv-0.1.1.3
Downloaded setenv-0.1.1.3
Downloading tf-random-0.5
Downloaded tf-random-0.5
Build profile: -w ghc-9.2.5 -O2
In order, the following will be built (use -v for more details):
- xmonad-contrib-0.17.1.9 (lib) (file CHANGES.md changed)
- xmonad-bsa-0.4 (exe:xmonad-bsa) (dependency rebuilt)
Preprocessing library for xmonad-contrib-0.17.1.9..
Building library for xmonad-contrib-0.17.1.9..
[292 of 309] Compiling XMonad.Hooks.StatusBar ( XMonad/Hooks/StatusBar.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/StatusBar.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/StatusBar.dyn_o )
[293 of 309] Compiling XMonad.Util.Hacks ( XMonad/Util/Hacks.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/Hacks.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/Hacks.dyn_o ) [XMonad.Hooks.StatusBar changed]
[294 of 309] Compiling XMonad.Hooks.DynamicLog ( XMonad/Hooks/DynamicLog.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/DynamicLog.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/DynamicLog.dyn_o ) [XMonad.Hooks.StatusBar changed]
[297 of 309] Compiling XMonad.Util.NamedScratchpad ( XMonad/Util/NamedScratchpad.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/NamedScratchpad.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/NamedScratchpad.dyn_o )
[301 of 309] Compiling XMonad.Util.EZConfig ( XMonad/Util/EZConfig.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/EZConfig.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/EZConfig.dyn_o )
[302 of 309] Compiling XMonad.Util.Paste ( XMonad/Util/Paste.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/Paste.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Util/Paste.dyn_o ) [XMonad.Util.EZConfig changed]
[304 of 309] Compiling XMonad.Hooks.Modal ( XMonad/Hooks/Modal.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/Modal.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/Modal.dyn_o ) [XMonad.Util.EZConfig changed]
[305 of 309] Compiling XMonad.Hooks.ManageDebug ( XMonad/Hooks/ManageDebug.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/ManageDebug.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Hooks/ManageDebug.dyn_o ) [XMonad.Util.EZConfig changed]
[306 of 309] Compiling XMonad.Config.Prime ( XMonad/Config/Prime.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Config/Prime.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Config/Prime.dyn_o ) [XMonad.Util.EZConfig changed]
[307 of 309] Compiling XMonad.Actions.Navigation2D ( XMonad/Actions/Navigation2D.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Actions/Navigation2D.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Actions/Navigation2D.dyn_o ) [XMonad.Util.EZConfig changed]
[308 of 309] Compiling XMonad.Actions.Prefix ( XMonad/Actions/Prefix.hs, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Actions/Prefix.o, /home/allbery/.config/xmonad/dist-newstyle/build/x86_64-linux/ghc-9.2.5/xmonad-contrib-0.17.1.9/opt/build/XMonad/Actions/Prefix.dyn_o ) [XMonad.Util.EZConfig changed]
Preprocessing executable 'xmonad-bsa' for xmonad-bsa-0.4..
GHCi, version 9.2.5: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( xmonad.hs, interpreted )
Ok, one module loaded.
ghci> Leaving GHCi.
sh ./update.sh 304.76s user 21.34s system 92% cpu 5:51.10 total
Please use version-prefixed commands (e.g. v2-build or v1-build) to avoid ambiguity.
Expected behavior
The build for ghci should match the one for the executable.
System information
Ubuntu 20.04.1
cabal 3.9 (prerelease), ghc 9.2.5
Additional context
The current version of the update and build scripts includes annotations of the commands being run, unlike the log which I took from my terminal. You can look in update.sh and build for details; note that build is invoked with the name of the target xmonad config executable.
The text was updated successfully, but these errors were encountered:
I'm testing it now, but I haven't seen a repeat since then and suspect I would have to rewind my packages store (not cabal store) to an older version somehow to trigger it again.
Describe the bug
I just rebuilt my
xmonad
config using the newcabal
prerelease. The standard build went as expected, but the secondary build withcabal repl
(so I have a "hot" config I can use for quick testing) unexpectedly downloaded but did not build a number of packages.To Reproduce
Steps to reproduce the behavior:
This assumes you have cloned https://github.com/xmonad.hs/tree/skkukuk; and it may require that you have done an earlier build with
cabal
3.8.1.0 and the Hackage index percabal v2-update 'hackage.haskell.org,2023-01-20T16:06:23Z'
.Please use version-prefixed commands (e.g.
v2-build
orv1-build
) to avoid ambiguity.Expected behavior
The build for
ghci
should match the one for the executable.System information
cabal
3.9 (prerelease),ghc
9.2.5Additional context
The current version of the update and build scripts includes annotations of the commands being run, unlike the log which I took from my terminal. You can look in
update.sh
andbuild
for details; note thatbuild
is invoked with the name of the targetxmonad
config executable.The text was updated successfully, but these errors were encountered: