Bug#669423: writer2latex: FTBFS: Build-Conflicts libreoffice-java-common (>= 1:3.5.0~), unstable has 1:3.5.2-4
tag 669423 + pending
thanks
Hi,
On Thu, Apr 19, 2012 at 06:53:57PM +0100, Colin Watson wrote:
> writer2latex fails to build in unstable as follows:
[...]
> The following packages have unmet dependencies:
> sbuild-build-depends-writer2latex-dummy : Depends: libreoffice-java-common (>= 1:3.1.0~) but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
> apt-get failed.
>
> This is because it Build-Conflicts with the version of
> libreoffice-java-common currently in unstable.
Yes, how embarassing. I forgot one of my "own" packages when filing bugs
about that myself (I did nlpsolver but forgot writer2latex)
> [...] I think this patch
> should fix it, although I haven't tried the resulting binaries.
>
> * Fix build with LibreOffice 3.5.
>
> diff -u writer2latex-1.0.2/debian/rules writer2latex-1.0.2/debian/rules
> --- writer2latex-1.0.2/debian/rules
> +++ writer2latex-1.0.2/debian/rules
> @@ -36,7 +36,7 @@
> build-indep: build-indep-stamp
> build-indep-stamp: configure-stamp
>
> - ant -DURE_CLASSES=/usr/lib/ure/share/java -DOFFICE_CLASSES=/usr/lib/libreoffice/basis3.4/program/classes jar
> + ant -DURE_CLASSES=/usr/lib/ure/share/java -DOFFICE_CLASSES=/usr/lib/libreoffice/program/classes jar
> ant javadoc
> ant oxt
> touch $@
> diff -u writer2latex-1.0.2/debian/control writer2latex-1.0.2/debian/control
> --- writer2latex-1.0.2/debian/control
> +++ writer2latex-1.0.2/debian/control
> @@ -3,8 +3,8 @@
> Priority: optional
> Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
> Uploaders: Rene Engelhard <rene@debian.org>, Chris Halls <halls@debian.org>
> -Build-Depends: debhelper (>= 6.0.7~), ant, libxerces2-java, libxalan2-java, gcj-jdk, libreoffice-java-common (>= 1:3.1.0~), ure (>= 1.4.1~), dpatch, tex-common, zip, unzip
> -Build-Conflicts: libreoffice-java-common (>= 1:3.5.0~), ant (= 1.8.0-1), ant (= 1.8.0-2), ant (= 1.8.0-3)
> +Build-Depends: debhelper (>= 6.0.7~), ant, libxerces2-java, libxalan2-java, gcj-jdk, libreoffice-java-common (>= 1:3.5.0~), ure (>= 1.4.1~), dpatch, tex-common, zip, unzip
> +Build-Conflicts: ant (= 1.8.0-1), ant (= 1.8.0-2), ant (= 1.8.0-3)
> Standards-Version: 3.7.2
> Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/writer2latex.git
> Vcs-Browser: http://git.debian.org/?p=pkg-openoffice/writer2latex.git;a=summary
Yes, correct.
Regards,
Rene
Reply to: