Source: unifrac-tools
Version: 1.1.1-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>, Étienne Mollier 
<emoll...@debian.org>

https://buildd.debian.org/status/fetch.php?pkg=unifrac-tools&arch=armel&ver=1.1.1-1&stamp=1664713094&raw=0

...
h5c++ -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -mfma -march=native -Wextra 
-Wno-unused-parameter -Wall  -std=c++11 -pedantic -I. -O4 -fPIC 
-L/<<PKGBUILDDIR>>/debian/tmp/usr/lib -c tree.cpp -o tree.o
arm-linux-gnueabi-g++: error: unrecognized command-line option ‘-mfma’
...


https://buildd.debian.org/status/fetch.php?pkg=unifrac-tools&arch=amd64&ver=1.1.1-2&stamp=1664716667&raw=0

...
h5c++ -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -mfma -march=native -Wextra 
-Wno-unused-parameter -Wall  -std=c++11 -pedantic -I. -O4 -fPIC 
-L/<<PKGBUILDDIR>>/debian/tmp/usr/lib -c tree.cpp -o tree.o
...


src/Makefile:
...
        ifeq ($(PERFORMING_CONDA_BUILD),True)
                CPPFLAGS += -mtune=generic
        else
                CPPFLAGS += -mfma -march=native
        endif
...



Please remove this block, it is a baseline violation on x86
and causes FTBFS everywhere else.

Please don't use the PERFORMING_CONDA_BUILD case instead:
-mtune=generic is already the Debian default on x86,
but it is not supported on some/all(?) other architectures.

Reply via email to