#1138199 scifem FTBFS on multiple architectures due to -march=native usage

Package:
src:scifem
Source:
src:scifem
Submitter:
Adrian Bunk
Date:
2026-06-17 10:51:02 UTC
Severity:
normal
Tags:
#1138199#5
Date:
2026-05-29 08:34:14 UTC
From:
To:
https://buildd.debian.org/status/logs.php?pkg=scifem&ver=0.19.0-1

...
E           cffi.VerificationError: CompileError: command '/usr/bin/powerpc64le-linux-gnu-gcc' failed with exit code 1
...
powerpc64le-linux-gnu-gcc: error: unrecognized command-line option ‘-march=native’; did you mean ‘-mcpu=native’?
...
=========================== short test summary info ============================
FAILED tests/test_eval.py::test_extrema_func[float64-CellType.tetrahedron-min-5]
FAILED tests/test_eval.py::test_extrema_func[float64-CellType.tetrahedron-max-5]
FAILED tests/test_eval.py::test_extrema_func[float64-CellType.hexahedron-min-5]
FAILED tests/test_eval.py::test_extrema_func[float64-CellType.hexahedron-max-5]
FAILED tests/test_eval.py::test_extrema_func[float32-CellType.tetrahedron-min-5]
FAILED tests/test_eval.py::test_extrema_func[float32-CellType.tetrahedron-max-5]
FAILED tests/test_eval.py::test_extrema_func[float32-CellType.hexahedron-min-5]
FAILED tests/test_eval.py::test_extrema_func[float32-CellType.hexahedron-max-5]
===== 8 failed, 1699 passed, 6 xfailed, 257 warnings in 424.03s (0:07:04) ======
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/scifem-0.19.0/.pybuild/cpython3_3.13_scifem/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=8 returned exit code 13
make: *** [debian/rules:10: binary-arch] Error 25


The runtime usage of -march=native in src/scifem/eval.py does not work
on architectures where the compiler does not support -march=native.

#1138199#12
Date:
2026-06-16 22:03:37 UTC
From:
To:
tags 1138199 patch
thanks

Hi.

Is this package really maintained by Debian Science, as suggested by
the Vcs fields?

I was planning to make a team upload to fix this bug using the
attached trivial patch, as that's what will happen in the next
upstream release according to the github issue, but in the last minute
I noticed that the package does not have an Uploader field pointing to
debian-science-maintainers.

For your next upload, please either move it to your personal namespace
or add the missing Uploader field, whatever is appropriate.

Note: There is a new upstream version available. Upgrading the package
is probably a much better option.

Thanks.

#1138199#19
Date:
2026-06-17 10:48:16 UTC
From:
To:
I missed that I hadn't put the team as Maintainer yet. Needs to be done.

I was waiting for the petsc transition before updating scifem to the
new version.

But upstream has said they plan to remove the native option.
I don't think they've done that yet, they seem to have gotten
distracted by their other updates.

Drew