Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo no longer works with new xmonad #15

Open
frozencemetery opened this issue Jul 22, 2020 · 6 comments
Open

Repo no longer works with new xmonad #15

frozencemetery opened this issue Jul 22, 2020 · 6 comments

Comments

@frozencemetery
Copy link

With stack:

$ stack setup
...
$ stack build
Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for xmonad-contrib-0.16:
    xmonad-0.13 from stack configuration does not match >=0.15 && <0.16  (latest matching version
                is 0.15)
needed since xmonad-contrib is a build target.

Some different approaches to resolving this:

  * Set 'allow-newer: true'
    in /home/rharwood/.stack/config.yaml to ignore all version constraints and build anyway.

  * Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some working
    build configuration. This can be convenient when dealing with many complicated constraint errors, but
    results may be unpredictable.

  * Recommended action: try adding the following to your extra-deps
    in /home/rharwood/xmonad-testing.git/master/stack.yaml:

xmonad-0.15@sha256:db671d78ecd66f39f23decf60974a3e078525ec9d2be68a3946b0cfb4d3954fa

Plan construction failed.
$ 

Or cabal:

$ cabal new-build
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: xmonad (user goal)
[__0] rejecting: xmonad-0.15/installed-7vd..., xmonad-0.15, xmonad-0.14.2,
xmonad-0.14 (constraint from user target requires ==0.13)
[__0] trying: xmonad-0.13
[__1] next goal: xmonad-contrib (user goal)
[__1] rejecting: xmonad-contrib-0.16 (conflict: xmonad==0.13, xmonad-contrib
=> xmonad>=0.15 && <0.16)
[__1] rejecting: xmonad-contrib-0.15/installed-HnM..., xmonad-contrib-0.15,
xmonad-contrib-0.14, xmonad-contrib-0.13, xmonad-contrib-0.12,
xmonad-contrib-0.11.4, xmonad-contrib-0.11.3, xmonad-contrib-0.11.2,
xmonad-contrib-0.11.1, xmonad-contrib-0.11, xmonad-contrib-0.10,
xmonad-contrib-0.9.2, xmonad-contrib-0.9.1, xmonad-contrib-0.9,
xmonad-contrib-0.8.1, xmonad-contrib-0.8, xmonad-contrib-0.7,
xmonad-contrib-0.6, xmonad-contrib-0.5 (constraint from user target requires
==0.16)
[__1] fail (backjumping, conflict set: xmonad, xmonad-contrib)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: xmonad, xmonad-contrib

$ 
@frozencemetery
Copy link
Author

System is Debian testing; cabal-install is 2.4.0.0-2+b1; haskell-stack is 1.9.3.1-1.

@frozencemetery
Copy link
Author

Debian has updated cabal-install to 3.0.0.0-3; it fails in materially the same way:

$ cabal new-build
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: xmonad (user goal)
[__0] rejecting: xmonad-0.15/installed-7vd..., xmonad-0.15, xmonad-0.14.2,
xmonad-0.14 (constraint from user target requires ==0.13)
[__0] trying: xmonad-0.13
[__1] next goal: xmonad-contrib (user goal)
[__1] rejecting: xmonad-contrib-0.16 (conflict: xmonad==0.13, xmonad-contrib
=> xmonad>=0.15 && <0.16)
[__1] rejecting: xmonad-contrib-0.15/installed-HnM..., xmonad-contrib-0.15,
xmonad-contrib-0.14, xmonad-contrib-0.13, xmonad-contrib-0.12,
xmonad-contrib-0.11.4, xmonad-contrib-0.11.3, xmonad-contrib-0.11.2,
xmonad-contrib-0.11.1, xmonad-contrib-0.11, xmonad-contrib-0.10,
xmonad-contrib-0.9.2, xmonad-contrib-0.9.1, xmonad-contrib-0.9,
xmonad-contrib-0.8.1, xmonad-contrib-0.8, xmonad-contrib-0.7,
xmonad-contrib-0.6, xmonad-contrib-0.5 (constraint from user target requires
==0.16)
[__1] fail (backjumping, conflict set: xmonad, xmonad-contrib)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: xmonad, xmonad-contrib

$ 

@liskin
Copy link
Member

liskin commented Mar 11, 2022

This is kinda expected, the current maintainers of xmonad don't use xmonad-testing any more, and we stopped mentioning xmonad-testing in CONTRIBUTING.md and issue/PR templates a while ago. So it's basically just a dump of old stuff that can serve as an inspiration, but with absolutely no expectations. Sorry :-)

@geekosaur
Copy link
Contributor

Can we move the example build scripts to xmonad or xmonad-contrib, then? I think they're the only maintained part of the testing repo at this point (or at least I'm maintaining the cabal build script).

@liskin
Copy link
Member

liskin commented Mar 11, 2022

Sounds sensible. I'd suggest moving the example build scripts to xmonad-contrib/scripts and adding a bit of docs about their usage to https://github.com/xmonad/xmonad/blob/master/INSTALL.md#custom-build-script

@geekosaur
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants