xmonad cannot be built on natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xmonad (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xmonad
I suspect a (hopefully simple?) build-dependency issue and/or incompatibilities with related packages.
First the following build-dep packages are not available in the repository:
# apt-get build-dep xmonad
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have unmet dependencies:
libghc6-x11-dev : Depends: libghc6-
libghc6-x11-prof : Depends: libghc6-
E: Build-dependencies for xmonad could not be satisfied.
after manually building, packaging and installing:
> libghc6-x11-dev
> libghc6-x11-prof
# apt-get build-dep xmonad
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libghc6-mtl-dev libghc6-mtl-prof
[...]
finishes without dependency problems
xmonad-0.9.1 # dpkg-buildpackage -b
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-
dpkg-buildpackage: source package xmonad
dpkg-buildpackage: source version 0.9.1-2build2
dpkg-buildpackage: source changed by Iain Lane <email address hidden>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build xmonad-0.9.1
debian/rules clean
test -x debian/rules
dh_testroot
dh_clean
[ ! -x "debian/
cleaning...
rm -rf dist dist-ghc6 dist-hugs debian/
rm -f build-ghc6-stamp build-hugs-stamp build-haddock-stamp
rm -rf debian/
rm -f debian/
rm -rf debian/
debian/rules build
test -x debian/rules
mkdir -p "."
/usr/share/
if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
for setup in Setup.lhs Setup.hs; do if test -e $setup; then ghc6 --make $setup -o debian/
[1 of 1] Compiling Main ( Setup.lhs, Setup.o )
Linking debian/
debian/
--prefix=/usr --libdir=
--builddir=
--haddockdir=
--htmldir=
Configuring xmonad-0.9.1...
Flags chosen: testing=False, small_base=True
Dependency X11 >=1.5.0.0 && <1.6: using X11-1.5.0.0
Dependency base ==3.*: using base-3.0.3.2
Dependency containers -any: using containers-0.3.0.0
Dependency directory -any: using directory-1.0.1.1
Dependency filepath -any: using filepath-1.1.0.4
Dependency mtl -any: using mtl-1.1.0.2
Dependency process -any: using process-1.0.1.3
Dependency unix -any: using unix-2.4.0.2
Using Cabal-1.8.0.6 compiled by ghc-6.12
Using compiler: ghc-6.12.3
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in:
/usr/lib/
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/
Documentation installed in: /usr/share/
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.5.2 found on system at: /usr/bin/gcc
Using ghc version 6.12.3 found on system at: /usr/bin/ghc
Using ghc-pkg version 6.12.3 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.6.1 found on system at: /usr/bin/haddock
No happy found
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.16 found on system at: /usr/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
debian/
Preprocessing library xmonad-0.9.1...
Preprocessing executables for xmonad-0.9.1...
Building xmonad-0.9.1...
<command line>: cannot satisfy -package-id X11-1.5.
(use -v for more information)
make: *** [build-ghc6-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Okay, it's probably more a ghc6 problem.
# runhaskell Setup.lhs build -v cabal-package -i -idist/build -i. -idist/ build/autogen -Idist/ build/autogen -Idist/build -optP-include -optPdist/ build/autogen/ cabal_macros. h -odir dist/build -hidir dist/build -stubdir dist/build -package-id X11-1.5. 0.0-e303e9e71d3 b6055d5c9705174 61f343 -package-id base-3. 0.3.2-33c49b5f5 7a891ca80151e2f 4f33f82c -package-id containers- 0.3.0.0- 7be04792060ce15 14c52e2cb13a5c1 8a -package-id directory- 1.0.1.1- fcaf1f7664193e0 ad39e183ab8696b aa -package-id filepath- 1.1.0.4- 1425f312faf5b8e 9f4babf887e2523 26 -package-id mtl-1.1. 0.2-336254fecf8 a77054f76cb3367 1a5177 -package-id process- 1.0.1.3- b553ffb533a7014 d695ce14e638736 d9 -package-id unix-2. 4.0.2-49642bb24 5cafdad07b14ef1 d8ef7f59 -O -funbox- strict- fields -Wall -XCPP XMonad XMonad.Main XMonad.Core XMonad.Config XMonad.Layout XMonad.ManageHook XMonad.Operations XMonad.StackSet 0.0-e303e9e71d3 b6055d5c9705174 61f343
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library xmonad-0.9.1...
Preprocessing executables for xmonad-0.9.1...
Building xmonad-0.9.1...
Building library...
Creating dist/build (and its parents)
/usr/bin/ghc --make -package-name xmonad-0.9.1 -hide-all-packages -fbuilding-
<command line>: cannot satisfy -package-id X11-1.5.
(use -v for more information)
.
.
.
I finally could build xmonad by recaching the packages.
# ghc-pkg recache
I'll check back on that issue when natty has majored a little more.