Bug#845108: simplescreenrecorder: FTBFS on non-x86 platforms
On 12/17/2016 10:10 AM, Petter Reinholdtsen wrote: > [John Paul Adrian Glaubitz] >> simplescreenrecorder currently fails to build from source on non-x86 >> platforms due to a missing configure options (--disable-x86-asm) >> to disable x86 inline assembly. > > Thank you for the patch. I've just uploaded it to unstable. Thanks. We're still missing the mesa-dev build dependencies on hurd-i386 and x32 though, see the attached patch. > But I suspect a better fix would be to modify the configure script upstream to > detect an x86 architecture and disable the inline assembly automatically. That should be forwarded upstream I guess, then. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >From 2643e793c8501b544b54602fe41e29ec316a9e5a Mon Sep 17 00:00:00 2001 From: John Paul Adrian GlaubitzDate: Sat, 17 Dec 2016 13:48:56 +0100 Subject: [PATCH] Enable libgl1-mesa-dev and libglu1-mesa-dev B-D on hurd-i386 and x32 Signed-off-by: John Paul Adrian Glaubitz --- debian/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 678a95a..fd2dad7 100644 --- a/debian/control +++ b/debian/control @@ -12,8 +12,8 @@ Build-Depends: libavcodec-dev, libavformat-dev, libavutil-dev, - libgl1-mesa-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386], - libglu1-mesa-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386], + libgl1-mesa-dev [amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386 x32], + libglu1-mesa-dev [amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386 x32], libjack-dev | libjack-jackd2-dev, liboss4-salsa-dev [!linux-any], libpulse-dev, -- 2.11.0
Bug#845108: simplescreenrecorder: FTBFS on non-x86 platforms
[John Paul Adrian Glaubitz] > simplescreenrecorder currently fails to build from source on non-x86 > platforms due to a missing configure options (--disable-x86-asm) > to disable x86 inline assembly. Thank you for the patch. I've just uploaded it to unstable. But I suspect a better fix would be to modify the configure script upstream to detect an x86 architecture and disable the inline assembly automatically. -- Happy hacking Petter Reinholdtsen
Bug#845108: simplescreenrecorder: FTBFS on non-x86 platforms
Source: simplescreenrecorder Version: 0.3.6-1 Severity: normal Hi! simplescreenrecorder currently fails to build from source on non-x86 platforms due to a missing configure options (--disable-x86-asm) to disable x86 inline assembly. The following patch fixes the problem for me (tested on sparc64): diff -Nru simplescreenrecorder-0.3.6/debian/rules simplescreenrecorder-0.3.6/debian/rules --- simplescreenrecorder-0.3.6/debian/rules 2016-11-13 09:50:16.0 +0300 +++ simplescreenrecorder-0.3.6/debian/rules 2016-11-13 09:57:25.0 +0300 @@ -15,13 +15,14 @@ #requires the x86-only elfhacks code (see README.source) override_dh_auto_configure: -ifeq ($(ARCH),$(filter $(ARCH),amd64 i386)) +ifeq ($(ARCH),$(filter $(ARCH),amd64 hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 x32)) dh_auto_configure -- \ --disable-assert else dh_auto_configure -- \ --disable-assert \ - --disable-glinjectlib + --disable-glinjectlib \ + --disable-x86-asm endif override_dh_auto_install: Cheers, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913