Bug#760433: libav: FTBFS on x32: Invalid inline assembly
Sebastian Ramacher
sramacher at debian.org
Wed Jan 7 20:51:08 UTC 2015
Control: clone -1 -2
Control: retitle -2 libav: use build profiles to break circular dependencies
Control: tags -2 = patch stretch
On 2014-09-13 07:56:40, Reinhard Tartler wrote:
> Regarding porting, please have a look at
> http://anonscm.debian.org/cgit/pkg-multimedia/libav.git/tree/debian/README.source:
>
>
> Circular Build-Depends and bootstrapping libav on new architectures
> ===================================================================
>
> libav is involved in several circular build-dependencies that give porters a
> hard time (c.f. #671302) at bootstrapping, e.g.:
>
> libav -> frei0r -> opencv -> libav
> libav -> opencv -> libav
> libav -> x264 -> libav
> libav -> x264 -> gpac -> libav
>
> However, please note that all these libraries are strictly optional to libav
> and are only enabled at build time if available. For bootstrapping purposes
> it is thus perfectly sufficient to remove all *-dev packages from the
> Build-Depends field in debian/control and generate packages with a reduced
> feature set that are still usable to build other packages.
>
> Using the nomenclature of the EmdebianSprint2011 [0,1] one would write e.g.:
>
> Build-Depends-Bootstrap1:
> debhelper (>= 9)
After the release of jessie and once the buildds have been upgraded,
build profiles [1] will be available. The following patch should then be
enough to break the Build-Depends cycle:
From 150724d38cb335fdc8fceae95e1905d694c278eb Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sramacher at debian.org>
Date: Wed, 7 Jan 2015 21:48:22 +0100
Subject: [PATCH] Use build profiles to break Build-Depends cycle
---
debian/control | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index a81227d..1696564 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,8 @@ Build-Depends-Indep:
doxygen
Build-Depends:
debhelper (>= 9),
- frei0r-plugins-dev,
+ dpkg-dev (>= 1.17.14~),
+ frei0r-plugins-dev <!stage1>,
libasound2-dev [linux-any],
libbz2-dev,
libcdio-cdda-dev,
@@ -31,7 +32,7 @@ Build-Depends:
libmp3lame-dev,
libopencore-amrnb-dev,
libopencore-amrwb-dev,
- libopencv-dev,
+ libopencv-dev <!stage1>,
libopenjpeg-dev,
libopus-dev (>= 1.0.1),
libpulse-dev,
@@ -49,7 +50,7 @@ Build-Depends:
libvorbis-dev,
libvpx-dev,
libx11-dev,
- libx264-dev,
+ libx264-dev <!stage1>,
libx265-dev,
libxext-dev,
libxfixes-dev,
--
2.1.4
I have not commited it yet in case we want to upload the experimental
branch before jessie has been release.
I'm creating a new bug to track the Build-Depends cycle independently.
Cheers
[1] https://wiki.debian.org/BuildProfileSpec
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150107/80b8cba2/attachment.sig>
More information about the pkg-multimedia-maintainers
mailing list