On Mon, 27 Sep 2010 15:30:57 -0300, Nelson A. de Oliveira wrote:

> >> Configuring the package with --enable-dummy works on powerpc (tested
> >> on pescetti.debian.org).
> On alpha, armel, hppa, ia64, mips, mipsel, s390 and sparc, the dummy
> implementation is already automatically selected (can be seen on the
> build logs).
> So it shouldn't be that bad to use the dummy implementation also on powerpc.

I've created a patch the uses "dummy" also on powerpc, and it works
on i386 and powerpc (meaning that sse is used on my local machine and
dummy on pescetti.debian.org).

I'm attaching the debdiff, but I guess you can manage the upload
yourself in the Debian Med team (with our without README.Debian) :)

(I'm also happy to NMU in case you are all busy or I don't hear
anything.)

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Chavela Vargas: La Llorona
diff -Nru hmmer-3.0/debian/changelog hmmer-3.0/debian/changelog
--- hmmer-3.0/debian/changelog	2010-08-29 15:14:40.000000000 +0200
+++ hmmer-3.0/debian/changelog	2010-10-25 00:12:31.000000000 +0200
@@ -1,3 +1,12 @@
+hmmer (3.0-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS (powerpc): altivec and cast errors": remove special casing for
+    powerpc, so that it gets built with the dummy vector implementation like
+    most other architectures (closes: #594860).
+
+ -- gregor herrmann <gre...@debian.org>  Mon, 25 Oct 2010 00:08:19 +0200
+
 hmmer (3.0-2) unstable; urgency=low
 
   * Install binaries to /usr/bin instead of /bin
diff -Nru hmmer-3.0/debian/patches/debian-changes-3.0-2.1 hmmer-3.0/debian/patches/debian-changes-3.0-2.1
--- hmmer-3.0/debian/patches/debian-changes-3.0-2.1	1970-01-01 01:00:00.000000000 +0100
+++ hmmer-3.0/debian/patches/debian-changes-3.0-2.1	2010-10-25 00:13:55.000000000 +0200
@@ -0,0 +1,49 @@
+Description: Upstream changes introduced in version 3.0-2.1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ hmmer (3.0-2.1) UNRELEASED; urgency=low
+ .
+   * Non-maintainer upload.
+   * Fix "FTBFS (powerpc): altivec and cast errors": remove special casing for
+     powerpc, so that it gets built with the dummy vector implementation like
+     most other architectures (closes: #594860).
+ .
+ The person named in the Author field signed this changelog entry.
+Author: gregor herrmann <gre...@debian.org>
+Bug-Debian: http://bugs.debian.org/594860
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- hmmer-3.0.orig/configure
++++ hmmer-3.0/configure
+@@ -3807,7 +3807,6 @@ if test "$impl_choice" = "none"; then
+     ia64-*-*)      impl_choice=sse;;
+     i?86-*-*)      impl_choice=sse;;
+     x86*-*-*)      impl_choice=sse;;
+-    powerpc*-*-*)  impl_choice=vmx;;
+     *)             impl_choice=dummy;;
+   esac
+ fi
+--- hmmer-3.0.orig/configure.ac
++++ hmmer-3.0/configure.ac
+@@ -300,7 +300,6 @@ if test "$impl_choice" = "none"; then
+     ia64-*-*)      impl_choice=sse;;
+     i?86-*-*)      impl_choice=sse;;
+     x86*-*-*)      impl_choice=sse;;
+-    powerpc*-*-*)  impl_choice=vmx;;
+     *)             impl_choice=dummy;;
+   esac
+ fi
diff -Nru hmmer-3.0/debian/patches/series hmmer-3.0/debian/patches/series
--- hmmer-3.0/debian/patches/series	2010-07-08 23:36:22.000000000 +0200
+++ hmmer-3.0/debian/patches/series	2010-10-25 00:13:07.000000000 +0200
@@ -1 +1,2 @@
 debian-changes-3.0-1
+debian-changes-3.0-2.1

Attachment: signature.asc
Description: Digital signature

Reply via email to