Bug#974136: FTBFS on non-x86

Christian Ehrhardt christian.ehrhardt at canonical.com
Tue Nov 10 14:22:03 GMT 2020


Package: netgen
Version: 6.2.2006+dfsg-1

Hi,
I was seeing today that netgen is an FTBFS on all but x86.
I was tracking this down a bit and wanted to share the insight and links
with you.

Error:
  fatal error: x86intrin.h: No such file or directory
The file already sounds very x86'ish and indeed it FTFBS on all but x86.

This is in Debian since [1]
And broken in Debian and Ubuntu since then [2][3]
The broken code is upstream since [4]
There is an upstream issue about it [5] and a fix available [6] at (but not
landed upstream):

I'm unsure what to suggest, you could either give that fix a try and if it
works bump the upstream case that it is good to be merged. But OTOH I've
realized that upstream itself e.g. on the Ubuntu PPA  [7] only builds x86,
so maybe instead you might just want to limit the architectures to match
upstream?

[1]:
https://salsa.debian.org/science-team/netgen/-/commit/b11ff5d873564e255a42f0ae16fce22adadb721d
[2]: https://buildd.debian.org/status/package.php?p=netgen
[3]: https://launchpad.net/ubuntu/+source/netgen/6.2.2006+dfsg-1
[4]: https://github.com/NGSolve/netgen/commit/3a1cea6cb
[5]: https://github.com/NGSolve/netgen/issues/44
[6]:
https://github.com/NGSolve/netgen/commit/07758ce7a7237677408bc85ee08df61e82c09a63
[7] https://launchpad.net/~ngsolve/+archive/ubuntu/ngsolve

-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201110/fd2d4f21/attachment.html>


More information about the debian-science-maintainers mailing list