[Pkg-haskell-maintainers] Bug#717442: debian/rules binary fails to run build target

Joey Hess joeyh at debian.org
Sat Jul 20 22:01:16 UTC 2013


Package: haskell-devscripts
Version: 0.8.17
Severity: serious

This probably affects many haskell packages, but the one I encountered
it with is haskell-hinotify. Running debian/rules binary fails:

debian/hlibrary.setup copy --builddir=dist-ghc --destdir=debian/tmp-inst-ghc
Installing library in
debian/tmp-inst-ghc/usr/lib/haskell-packages/ghc/lib/hinotify-0.3.2/ghc-7.4.1
hlibrary.setup: Error: Could not find module: System.INotify with any suffix:
["hi"] in the search path: ["dist-ghc/build"]

This turns out to be because the binary target is not running the build
target. Which is policy violation:

          Both `binary-*' targets should depend on the `build' target, or
          on the appropriate `build-arch' or `build-indep' target, if
          provided, so that the package is built if it has not been
          already.

cdbs may be at the root of this bug

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.9-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages haskell-devscripts depends on:
ii  cdbs            0.4.122
ii  dctrl-tools     2.23
ii  debhelper       9.20130630
ii  dh-buildinfo    0.9+nmu1
ii  ghc             7.6.3-3
ii  ghc-haddock     7.6.3-3
ii  hscolour        1.20.3-2
ii  html-xml-utils  6.4-1

haskell-devscripts recommends no packages.

haskell-devscripts suggests no packages.

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130720/ecfca9c5/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list