[Build-common-hackers] Haskell packages failing with "dpkg-buildpackage -A"
Jonas Smedegaard
dr at jones.dk
Mon May 23 15:12:06 UTC 2016
Quoting Joachim Breitner (2016-05-23 13:17:11)
> Hi Santiago,
>
> Am Montag, den 23.05.2016, 13:00 +0200 schrieb Santiago Vila:
> > Hello CDBS and Haskell maintainers.
> >
> > Several Haskell packages fail to build with "dpkg-buildpackage -A".
> >
> > They use a minimalistic debian/rules made with CDBS, so maybe this is
> > not
> > their fault but a bug in CDBS. Many of them fail in the same way:
> >
> > Haddock failed (no modules?), refusing to create empty documentation
> > package.
> >
> > so I have the feeling that we could fix several packages in a row
> > here.
> >
> > Follows a (maybe incomplete) list of bug numbers and source packages,
> > in case anyone wants to take a look:
> >
> > 806621 haskell-ghc-events
> > 806622 haskell-shake
> > 809113 haskell-gio
> > 809114 haskell-glib
> > 809115 haskell-gtk3
> > 809116 haskell-gtk
> > 809117 haskell-pango
> > 809118 hscolour
>
> this is specific to packages using gtk2hs-buildtools. It can be fixed
> by adding
>
> # With gtk2hs-buildtools, haddock needs a built tree
> build-haddock-stamp: build-ghc-stamp
>
> to debian/rules. I have done this for haskell-gio, haskell-glib,
> haskell-gtk, haskell-gtk3, haskell-pango. Unless this does not fix the
> problem, I guess some of the bugs above can be closed.
>
> haskell-shake needed this diff, also uploaded:
> -check-ghc-stamp: html/viz.js
> +build-ghc-stamp: html/viz.js
>
> hscolour probably needs this diff:
> # Force generation of the wrapper script.
> -configure-ghc-stamp : hscolour-wrapper
> +build-ghc-stamp : hscolour-wrapper
>
> Does anyone want to try that out and prepare or do an upload?
For any fallout after above corrections, please ping me with detailed
build logs, and I will examine closer if it might be caused by errors in
the refactoring in cdbs 0.4.131.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20160523/380d12c7/attachment.sig>
More information about the Build-common-hackers
mailing list