Bug#841711: libbluray FTCBFS: javahelper dependency unsatisfiable

Helmut Grohne helmut at subdivi.de
Sat Oct 22 14:33:37 UTC 2016


Source: libbluray
Version: 1:0.9.3-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

libbluray fails to cross build from source, because its javahelper build
dependency is unsatisfiable. It turns out that we only actually the
javahelper dh addon when building libbluray-bdj, so we can demote that
dependency as well. After doing so, its Build-Depends become satisfiable
in a cross build environment and it cross builds just fine. Please
consider applying the attached patch.

An alternative resolution could be marking javahelper Multi-Arch:
foreign. I am not sure whether this is correct as it exposes a pile of
dependencies that are not Multi-Arch: foreign.

Helmut
-------------- next part --------------
diff --minimal -Nru libbluray-0.9.3/debian/changelog libbluray-0.9.3/debian/changelog
--- libbluray-0.9.3/debian/changelog	2016-05-18 02:34:22.000000000 +0200
+++ libbluray-0.9.3/debian/changelog	2016-10-22 15:52:10.000000000 +0200
@@ -1,3 +1,10 @@
+libbluray (1:0.9.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Demote javahelper to Build-Depends-Indep. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 22 Oct 2016 15:51:55 +0200
+
 libbluray (1:0.9.3-2) unstable; urgency=medium
 
   * debian/rules:
diff --minimal -Nru libbluray-0.9.3/debian/control libbluray-0.9.3/debian/control
--- libbluray-0.9.3/debian/control	2016-05-17 23:01:44.000000000 +0200
+++ libbluray-0.9.3/debian/control	2016-10-22 15:51:53.000000000 +0200
@@ -10,13 +10,13 @@
                dh-autoreconf,
                pkg-config,
                default-jdk,
-               javahelper,
                libfreetype6-dev,
                libfontconfig-dev,
                libxml2-dev
 Build-Depends-Indep: ant,
                      doxygen,
                      graphviz,
+                     javahelper,
                      texlive-latex-base,
                      texlive-latex-recommended,
                      texlive-latex-extra,
diff --minimal -Nru libbluray-0.9.3/debian/rules libbluray-0.9.3/debian/rules
--- libbluray-0.9.3/debian/rules	2016-05-18 02:34:22.000000000 +0200
+++ libbluray-0.9.3/debian/rules	2016-10-22 15:51:44.000000000 +0200
@@ -13,7 +13,8 @@
 endif
 
 %:
-	dh $@ --parallel --with javahelper,autoreconf
+	dh $@ --parallel --with autoreconf $(DH_ADDONS)
+build install binary build-indep install-indep binary-indep: DH_ADDONS+=--with javahelper
 
 override_dh_auto_configure:
 ifneq (,$(findstring libbluray-bdj,$(shell dh_listpackages)))


More information about the pkg-multimedia-maintainers mailing list