Subject: Re: bug#26914: gnu: xmonad: Update to 0.13.

From: Ricardo Wurmus <[email-masked]>
Date: Tue, 30 May 2017 23:46:37 +0200

Ludovic Courtès <[email-masked]> writes:

>>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>>> From: Mekeor Melire <[email-masked]>
>>> Date: Sat, 13 May 2017 23:36:36 +0200
>>> Subject: [PATCH] gnu: xmonad: Update to 0.13.
>>>
>>> * gnu/packages/wm.scm (xmonad): Update to 0.13.
>>> [inputs]: Add ghc-directory.
>>> (ghc-xmonad-contrib): Update to 0.13.
>>
>> This fails to build like this:
[…]
>> Setup.lhs: At least the following dependencies are missing:
>> directory >=1.2.3
>> phase `configure' succeeded after 0.6 seconds
>> starting phase `patch-generated-file-shebangs'
>> phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
>> starting phase `build'
>> running "runhaskell Setup.hs" with command "build" and parameters ()
>> Setup.lhs: Run the 'configure' command first.

It now also fails with this:

--8<---------------cut here---------------start------------->8---
starting phase `configure'
running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13" "--libdir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/lib" "--bindir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/bin" "--docdir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x7
Configuring xmonad-0.13...
Setup.lhs: At least the following dependencies are missing:
X11 ==1.8.*
phase `configure' succeeded after 4.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
running "runhaskell Setup.hs" with command "build" and parameters ()
Setup.lhs: Run the 'configure' command first.
phase `build' failed after 1.0 seconds
--8<---------------cut here---------------end--------------->8---

(Side note: the configure phase really should fail in these cases.)

I believe this requires an upgrade to many of our Haskell packages.
We should try to catch up with the latest Haskell platform.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net