Bug#974136: FTBFS on non-x86

2020-11-16 Thread kurt
Hello Christian,

November 10, 2020 8:22 AM, "Christian Ehrhardt" 
 wrote:

> 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.
> 

Thanks so much for looking into this, I've been stuck on it for quite some 
time. I tested adding the commit you linked in [6] as a patch, and it looks 
like that takes care of things, so I should have an upload ready soon.



Bug#974136: FTBFS on non-x86

2020-11-10 Thread Christian Ehrhardt
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