Source: caffe-contrib
Version: 1.0.0-3
Severity: serious
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-7

caffe-contrib FTBFS since GCC-7 was made the default compiler:

[...]
[  0%] Building CXX object 
src/caffe/CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o
cd /build/caffe-contrib-1.0.0/caffe_cuda_build/src/caffe && 
/usr/bin/clang++-3.8  -DCAFFE_VERSION=1.0.0 
-I/build/caffe-contrib-1.0.0/caffe_cuda_build/include -I/usr/include/opencv 
-I/build/caffe-contrib-1.0.0/caffe
_cuda_build  -g -O2 -fdebug-prefix-map=/build/caffe-contrib-1.0.0=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -Wall -Wno-sign-compare -Wno-uninitialized 
-O3 -DNDEBUG   -o 
CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o -c 
/build/caffe-contrib-1.0.0/caffe_cuda_build/include/caffe/proto/caffe.pb.cc
In file included from 
/build/caffe-contrib-1.0.0/caffe_cuda_build/include/caffe/proto/caffe.pb.cc:5:
In file included from 
/build/caffe-contrib-1.0.0/caffe_cuda_build/include/caffe/proto/caffe.pb.h:9:
In file included from /usr/include/google/protobuf/stubs/common.h:40:
In file included from /usr/include/google/protobuf/stubs/port.h:35:
In file included from 
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/stdlib.h:36:
In file included from 
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/cstdlib:77:
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/bits/std_abs.h:101:3:
 error: unknown type name '__float128'
  __float128
  ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.1.0/../../../../include/c++/7.1.0/bits/std_abs.h:102:7:
 error: unknown type name '__float128'
  abs(__float128 __x)
      ^
2 errors generated.
src/caffe/CMakeFiles/caffeproto.dir/build.make:77: recipe for target 
'src/caffe/CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o' 
failed
make[5]: *** 
[src/caffe/CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o] 
Error 1


This looks related to #871011 in clang-3.8 (clang-3.9 is fine).


Cheers,

Andreas

Attachment: caffe-contrib_1.0.0-3.log.gz
Description: application/gzip

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to