[Pkg-haskell-maintainers] Bug#697306: Versioning problem with templates in pandoc binary

Joachim Breitner nomeata at debian.org
Thu Jan 3 20:01:32 UTC 2013


Package: pandoc
Version: 1.9.4.5-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

currently, the templates are shipped in the pandoc binary package, in a
path that contains the version number. Now if a program (or source
package, like xmonad) needs both the pandoc library _and_ the pandoc
templates, if it depends on "libghc-pandoc-dev, pandoc", it may happen
that these come from different versions and a program built against the
former fails to find working templates.

This occurred in the xmonad build in experimental, where
libghc-pandoc-dev came from experimental and pandoc from unstable.

A solution could be a libghc-pandoc-data package that contains the data
files, i.e. the templates. libghc-pandoc-dev would then depend on a
compatible version of libghc-pandoc-data. Every package that includes a
program built with libghc-pandoc-dev (including the pandoc binary
package itself) copies this dependency.

This is how it is done in libghc-citeproc; there is some automation
available there, please check it out for inspiration and copy’n’pasting.

Greetings,
Joachim


- -- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pandoc depends on:
ii  libbibutils2  4.12-5
ii  libc6         2.13-38
ii  libffi5       3.0.10-3
ii  libgmp10      2:5.0.5+dfsg-2
ii  libpcre3      1:8.31-1
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages pandoc recommends:
ii  libghc-citeproc-hs-data  0.3.4-1

Versions of packages pandoc suggests:
ii  texlive-latex-recommended  2012.20120611-5
ii  texlive-luatex             2012.20120611-5
ii  texlive-xetex              2012.20120611-5

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDl45wACgkQ9ijrk0dDIGyecgCcDL6we4fHBm5ZLxMHEn0NH1Ym
+RYAmgItjYBAX96h00z1O/z5drEu9EN4
=LGVT
-----END PGP SIGNATURE-----



More information about the Pkg-haskell-maintainers mailing list