Hi Andreas,
I'm not an haskell man, but haskell is in a "permanent transition" state. Particularly, some days ago, ghc 7.10 reached unstable, and now a lot of packages needs binNMU and source uploads (from experimental mainly), to make things settle down again. this will take a lot of time (maybe weeks?), so I might suggest you to build from testing maybe, and check from time to time if everything works in unstable too. https://release.debian.org/transitions/html/haskell.html and https://people.debian.org/~nomeata/binNMUs-haskell.txt might help in finding what is currently uninstallable. (follow the list to understand why an easy experimental->unstable->testing transition is not possible, e.g. because of armel removal request waiting for ftp-masters, and a lot of rebuilds that are currently failing). I hope things will be better soon :) cheers! Gianfranco Il Martedì 8 Dicembre 2015 14:24, Andreas Tille <andr...@an3as.eu> ha scritto: Hi, I need to dive into Haskell packaging from scratch since there was a request of a Debian Med user to package PhyBin[1]. I started with cabal-debian which created a basic packaging dir which I changed to some extend. I pushed my results to the Debian Med packaging Git[2] which is writable to any DD (so feel free to commit patches there if this simplifies things). I also need to add that I intend to backport the package to Jessie which might add some extra effort since I noticed that one of the dependencies (libghc-prettyclass-*) is not available in Jessie and besides this it is quite tricky to install a mix of Haskell packages from Jessie and Jessie-backports. I'm also aware that libghc-hierarchical-clustering-* is not even available in unstable but cabal-debian has added this to the Build-Depends. I guess I need to package this as well. However, my main problem is currently that the template does not even build if I uncomment the currently missing Build-Depends and I'm running into ... The following packages have unmet dependencies: libghc-vector-prof : Depends: libghc-primitive-prof-0.6-61138 which is a virtual package and is not provided by any available package. libghc-vector-dev : Depends: libghc-primitive-dev-0.6-61138 which is a virtual package and is not provided by any available package. pbuilder-satisfydepends-dummy : Depends: libghc-text-dev (< 0.12) but 1.2.1.3-2 is to be installed. Depends: libghc-text-prof (< 0.12) but 1.2.1.3-2 is to be installed. Depends: libghc-text-doc (< 0.12) but 1.2.1.3-2 is to be installed. Unable to resolve dependencies! Giving up... ... when trying to build [2] using `gbp buildpackage` in a pbuilder chroot. I need to admit that I have no idea about the complex relations between the system of differently versioned set of real and virtual packages and how to proceed from here. On a Jessie system I managed at least to manually install the existing dependencies after pinning the packages to Jessie (not Jessie-backports since this leaded to strange dependency issues). As probably expected by you this ended up in ... [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking debian/hlibrary.setup ... debian/hlibrary.setup configure --ghc -v2 \ --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib \ --builddir=dist-ghc \ --haddockdir=/usr/lib/ghc-doc/haddock/phybin-0.3/ --datasubdir=phybin\ --htmldir=/usr/share/doc/libghc-phybin-doc/html/ --enable-library-profiling \ ... Running Setup.hs ... Configuring phybin-0.3... hlibrary.setup: At least the following dependencies are missing: hierarchical-clustering >=0.4, prettyclass -any /usr/share/cdbs/1/class/hlibrary.mk:111: recipe for target 'configure-ghc-stamp' failed make: *** [configure-ghc-stamp] Error 1 ... but this somehow comes "expected" in contrast to the unmet dependencies in the unstable chroot. Any hint would be welcome (any volunteer for libghc-hierarchical-clustering even more - but hints how to sensibly start with this are welcome as well). Kind regards Andreas. [1] http://hackage.haskell.org/package/phybin [2] git://anonscm.debian.org/debian-med/phybin.git PS: Please CC me - I'm not subscribed to the debian-haskell list. -- http://fam-tille.de