[Pkg-haskell-maintainers] Bug#578043: mozembed component not packaged

Joachim Breitner nomeata at debian.org
Fri Apr 16 12:47:29 UTC 2010


Hi,

Am Freitag, den 16.04.2010, 12:59 +0200 schrieb Joachim Breitner:
> well, it builds, but has problems linking. Will investigate some more.

seems that there is a bug in dh_haskell_shlibs: It changes the paths in
the package file to refer to the uninstalled package in
debian/<pkgname>, but it changes too much.

With this change, libghc6-mozembed-dev builds:

--- /usr/bin/dh_haskell_shlibdeps	2010-02-17 16:37:13.000000000 +0100
+++ /home/jojo/.bin/dh_haskell_shlibdeps	2010-04-16 14:44:57.000000000 +0200
@@ -53,7 +53,7 @@
     pkgconflocal=$T_DIR/$pkg.package.conf
     cat $file | sed -e \
         "/^\(import\|library\|include\)-dirs: / { \
-        s#/usr#$PWD/debian/libghc6-$pkg-dev/usr#g }" \
+        s#/usr/lib/haskell-packages#$PWD/debian/libghc6-$pkg-dev/usr/lib/haskell-packages#g }" \
         > $pkgconflocal
     ghc-pkg -f $T_DIR/package.conf register $pkgconflocal --force \
         2>&1 > /dev/null || true

Marco, do you seen any problem with this change?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20100416/eab61b90/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list