raxml version 7.2.6-1 failed to build on armel

Bug #791321 reported by Ricardo Salveti
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
raxml (Debian)
Fix Released
Unknown
raxml (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

raxml version 7.2.6-1 failed to build on armel
Link to failed build: https://launchpad.net/ubuntu/+source/raxml/7.2.6-1/+build/2480707

Direct link to the build log: https://launchpad.net/ubuntu/+source/raxml/7.2.6-1/+build/2480707/+files/buildlog_ubuntu-oneiric-armel.raxml_7.2.6-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 342 lines into the build log:

dh build
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/build/buildd/raxml-7.2.6'
/usr/bin/make -f Makefile.gcc
make[2]: Entering directory `/build/buildd/raxml-7.2.6'
gcc -D_GNU_SOURCE -fomit-frame-pointer -funroll-loops -O2 -msse -c -o axml.o axml.c
cc1: error: unrecognized command line option '-msse'
make[2]: *** [axml.o] Error 1
make[2]: Leaving directory `/build/buildd/raxml-7.2.6'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/raxml-7.2.6'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110509-0206
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/raxml-7.2.6

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

raxml uses xmmintrin.h header which is available only on amd64/i386 architectures as it is related to SSE instructions.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
Revision history for this message
Marcin Juszkiewicz (hrw) wrote : raxml should be x86 only

I looked at raxml failure on armel in Ubuntu [1] and then got
information about Debian bug [2].

raxml is using xmmintrin.h header file which is available only for x86
architectures (amd64/i386). Inside are functions which calls ASM
mnemonics directly. So it looks like package is buildable only on those
2 architectures (under Debian also will build for kFreeBSD ones).

I made debdiff which makes a change - it is available at Launchpad [3].

1. https://bugs.launchpad.net/ubuntu/+source/raxml/+bug/791321
2. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626672
3. https://launchpadlibrarian.net/73207596/raxml.debdiff

Changed in raxml (Ubuntu):
status: New → Triaged
Evan Broder (broder)
Changed in raxml (Ubuntu):
assignee: nobody → Evan Broder (broder)
status: Triaged → In Progress
Revision history for this message
Evan Broder (broder) wrote :

Thanks for the patch. I've gone ahead and sponsored it.

For future reference, I had a few small nits which I cleaned up before uploading:
 - Each "*" in the changelog entry should indicate a new thought; it shouldn't be used to prefix each line
 - When you're fixing a bug, the changelog entry should reference that bug with a "closer" - something like "(LP: #791321)" at the end of the line
 - Please be sure to update the Maintainer field for compliance with <https://wiki.ubuntu.com/DebianMaintainerField> when introducing a diff from Debian. The easy way to do this is to run update-maintainer from ubuntu-dev-tools

Changed in raxml (Ubuntu):
assignee: Evan Broder (broder) → nobody
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package raxml - 7.2.6-1ubuntu1

---------------
raxml (7.2.6-1ubuntu1) oneiric; urgency=low

  * Mark as buildable only on amd64 and i386 architectures - SSE support is
    required for this package. (LP: #791321)
 -- Marcin Juszkiewicz <email address hidden> Wed, 29 Jun 2011 11:42:18 -0700

Changed in raxml (Ubuntu):
status: Triaged → Fix Released
Changed in raxml (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.