Source: starpu-contrib
Version: 1.1.2+dfsg-1
Severity: normal
Tags: patch

Hi Maintainer

Your package currently FTBFS on the Ubuntu builders for Utopic with
the following error:

/bin/bash ../libtool  --tag=F77   --mode=link gfortran  -g -O2
-lOpenCL -lcudart -lcublas -lcuda -lstdc++   -o
basic_examples/vector_scal_fortran vector_scal_fortran.o
vector_scal_c.o vector_scal_cpu.o basic_examples/vector_scal_cuda.o
-lgfortran ../src/libstarpu-1.1.la  -lhwloc  -lrt -lm -lpthread
libtool: link: gfortran -g -O2 -o
basic_examples/.libs/vector_scal_fortran vector_scal_fortran.o
vector_scal_c.o vector_scal_cpu.o basic_examples/vector_scal_cuda.o
-lOpenCL -lcudart -lcublas -lcuda -lstdc++ -lgfortran
../src/.libs/libstarpu-1.1.so -lhwloc -lrt -lm -lpthread
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status

Gfortran 4.9 is installed, but only libstdc++-4.8-dev is installed.
Adding a build-depends on libstdc++-4.9-dev as per the patch below
allowed the build to complete.
I did try changing the build depends on gfortran to gfortran-4.8
instead, but that resulted in an 'unknown option -lOpenCL' error.

Regards
Graham


--- starpu-contrib-1.1.2+dfsg/debian/control    2014-06-18
01:45:53.000000000 +0200
+++ starpu-contrib-1.1.2+dfsg/debian/control    2014-06-18
22:54:41.000000000 +0200
@@ -20,6 +20,7 @@
     opencl-headers, ocl-icd-opencl-dev,
 #    gcc-4.9, g++-4.9, gcc-4.9-plugin-dev,
     gcc-4.8, g++-4.8, gcc-4.8-plugin-dev,
+    libstdc++-4.9-dev,
     help2man,
     nvidia-cuda-toolkit,
 #Build-Conflicts: gcc-4.9, g++-4.9, hardening-wrapper


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to