Source: vlc
Version: 3.0.0~rc5-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

vlc fails to cross build from source, because installing its
Build-Depends fails. It lists python3 in Build-Depends and by default
that means the host architecture python3. It cannot be installed nor
executed, but vlc really needs an executable python3, i.e. the one for
the build architecture. Getting it is a matter of annotating the
dependency with :native (or :any if you prefer). The attached patch does
that. Please consider applying it.

After applying it, the Build-Depends still fail to install, because
libsmbclient-dev is not installable for foreign architectures. This
issue is tracked as #862338 and #878612. My patch is orthogonal.

Even though vlc will not cross build from source, please close this bug
when fixing the python3 dependency.

Helmut
diff --minimal -Nru vlc-3.0.0~rc5/debian/changelog 
vlc-3.0.0~rc5/debian/changelog
--- vlc-3.0.0~rc5/debian/changelog      2018-01-11 19:41:02.000000000 +0100
+++ vlc-3.0.0~rc5/debian/changelog      2018-01-16 15:35:52.000000000 +0100
@@ -1,3 +1,10 @@
+vlc (3.0.0~rc5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate Build-Depends: python3 with :native. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 16 Jan 2018 15:35:52 +0100
+
 vlc (3.0.0~rc5-1) unstable; urgency=medium
 
   * New upstream release candidate.
diff --minimal -Nru vlc-3.0.0~rc5/debian/control vlc-3.0.0~rc5/debian/control
--- vlc-3.0.0~rc5/debian/control        2018-01-11 19:41:02.000000000 +0100
+++ vlc-3.0.0~rc5/debian/control        2018-01-16 15:35:50.000000000 +0100
@@ -126,7 +126,7 @@
                oss4-dev [kfreebsd-any],
                pkg-config,
                protobuf-compiler,
-               python3,
+               python3:native,
                qtbase5-dev (>= 5.6),
                qtbase5-private-dev (>= 5.6),
                wayland-protocols [linux-any],

Reply via email to