[Debian-med-packaging] Bug#836128: ncbi-vdb: FTBFS on i386: unknown type name '__m128i'

Aaron M. Ucko ucko at debian.org
Wed Aug 31 14:57:49 UTC 2016


Thanks for the quick fix, Andreas!

Compilation now succeeds, but the installation rules fail:

  find debian/tmp/usr/ncbi-vdb/linux/gcc/i686/dbg/lib -name "*-static.a" -delete
  find: 'debian/tmp/usr/ncbi-vdb/linux/gcc/i686/dbg/lib': No such file or directory

It looks like upstream's build system uses i386 (DEB_HOST_ARCH_CPU)
here, despite using x86_64 (DEB_HOST_GNU_CPU) on amd64 and x32.  AFAICT,
there's no standard dpkg-architecture variable that precisely matches
this pattern, but you should be able to take the first component of
DEB_HOST_MULTIARCH:

VDB_ARCH := $(word 1, $(subst -, ,$(DEB_HOST_MULTIARCH)))

Alternatively, you could special-case i386 or use a wildcard.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Debian-med-packaging mailing list