Source: gemma
Version: 0.97+dfsg-3
Severity: important ftbfs
Tags: patch

https://buildd.debian.org/status/package.php?p=gemma&suite=sid

...
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DOPENBLAS 
-isystem//usr/include/x86_64-linux-gnu/ -g -Wall -O3 -std=gnu++11  
-isystem//usr/include/eigen3 -I/usr/include/catch -Isrc src/bslmm.o 
src/bslmmdap.o src/debug.o src/eigenlib.o src/fastblas.o src/gemma.o 
src/gzstream.o src/io.o src/lapack.o src/ldr.o src/lm.o src/lmm.o 
src/logistic.o src/main.o src/mathfunc.o src/mvlmm.o src/param.o src/prdt.o 
src/varcov.o src/vc.o -lgsl -lopenblas -pthread -lz -lgfortran -lquadmath -o 
./bin/gemma
/usr/bin/ld: cannot find -lquadmath
collect2: error: ld returned 1 exit status


Fix is attached.
Description: Don't link with libquadmath
 libquadmath is not available on most architectures,
 and there is direct usage of it.
Author: Adrian Bunk <b...@debian.org>

--- gemma-0.97+dfsg.orig/Makefile
+++ gemma-0.97+dfsg/Makefile
@@ -102,7 +102,7 @@ ifndef FORCE_STATIC
   ifdef WITH_GSLCBLAS
     LIBS += -lgslcblas
   else
-    LIBS += -lgfortran -lquadmath
+    LIBS += -lgfortran
   endif
 else
   ifndef TRAVIS_CI # Travis static compile we cheat a little

Reply via email to