Source: supercollider-sc3-plugins
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Hello.

The package supercollider-sc3-plugins fails to build from source on
ppc64el, with the same kind of error, reported on #766630 that caused,
supercollider to fail.

It is an issue with altivec implementation on ppc64el, which actually
needs to be corrected.
The definitive fix would be to write ppc64el altivec code, which is not
a quick job. Just as it was done for supercollider, disabling altivec
for ppc64el at least allows it to build.

That is in the patch attached.

Regards
Fernando
diff -Nru supercollider-sc3-plugins-3.7.1~repack/debian/changelog supercollider-sc3-plugins-3.7.1~repack/debian/changelog
--- supercollider-sc3-plugins-3.7.1~repack/debian/changelog	2016-04-19 10:49:58.000000000 +0000
+++ supercollider-sc3-plugins-3.7.1~repack/debian/changelog	2016-06-02 20:51:26.000000000 +0000
@@ -1,3 +1,10 @@
+supercollider-sc3-plugins (3.7.1~repack-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: disable altivec/vmx to fix FTBFS on ppc64el 
+
+ -- Fernando Seiti Furusato <ferse...@br.ibm.com>  Thu, 02 Jun 2016 20:51:08 +0000
+
 supercollider-sc3-plugins (3.7.1~repack-1) unstable; urgency=medium
 
   [ Hanno Zulla ]
diff -Nru supercollider-sc3-plugins-3.7.1~repack/debian/rules supercollider-sc3-plugins-3.7.1~repack/debian/rules
--- supercollider-sc3-plugins-3.7.1~repack/debian/rules	2016-04-19 10:44:03.000000000 +0000
+++ supercollider-sc3-plugins-3.7.1~repack/debian/rules	2016-06-02 20:51:04.000000000 +0000
@@ -5,6 +5,11 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 include /usr/share/dpkg/buildflags.mk
 
+ifeq ("$(DEB_HOST_ARCH_CPU)","ppc64el")
+	CFLAGS=-mno-altivec -mno-vsx
+	CXXFLAGS=-mno-altivec -mno-vsx
+endif
+
 %:
 	dh $@ --parallel
 
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to