Bug#669423: writer2latex: FTBFS: Build-Conflicts libreoffice-java-common (>= 1:3.5.0~), unstable has 1:3.5.2-4
Package: writer2latex
Version: 1.0.2-7
Severity: serious
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch precise
writer2latex fails to build in unstable as follows:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
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. 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
Thanks,
--
Colin Watson [cjwatson@ubuntu.com]
Reply to: