Source: repsnapper Version: 2.4a0-1 Severity: serious Tags: stretch sid User: [email protected] Usertags: qa-ftbfs-20160713 qa-ftbfs Justification: FTBFS with GCC 6 on amd64
Hi, During a rebuild of all packages in sid using the gcc-defaults package available in experimental to make GCC default to version 6, your package failed to build on amd64. For more information about GCC 6 and Stretch, see: - https://wiki.debian.org/GCC6 - https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html Relevant part (hopefully): > /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I./libraries/amf/amftools-code/include/ > -I./libraries/amf/amftools-code/include/muparser > -I/usr/lib/x86_64-linux-gnu/libzip/include -Wdate-time -D_FORTIFY_SOURCE=2 > -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o > libraries/amf/amftools-code/src/libamf_la-STL_File.lo `test -f > 'libraries/amf/amftools-code/src/STL_File.cpp' || echo > './'`libraries/amf/amftools-code/src/STL_File.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. > -I./libraries/amf/amftools-code/include/ > -I./libraries/amf/amftools-code/include/muparser > -I/usr/lib/x86_64-linux-gnu/libzip/include -Wdate-time -D_FORTIFY_SOURCE=2 -g > -O2 -fstack-protector-strong -Wformat -Werror=format-security -c > libraries/amf/amftools-code/src/STL_File.cpp -fPIC -DPIC -o > libraries/amf/amftools-code/src/.libs/libamf_la-STL_File.o > In file included from libraries/amf/amftools-code/src/STL_File.cpp:10:0: > ./libraries/amf/amftools-code/include/STL_File.h: In static member function > 'static bool aWeldVertex::IsSoftLessThan(const aWeldVertex&, const > aWeldVertex&)': > ./libraries/amf/amftools-code/include/STL_File.h:92:104: error: call of > overloaded 'abs(double)' is ambiguous > static inline bool IsSoftLessThan(const aWeldVertex& v1, const aWeldVertex& > v2){if(abs(v1.v.z - v2.v.z) <= WeldThresh){ if(abs(v1.v.y - v2.v.y) <= > WeldThresh){ return v1.v.x < v2.v.x-WeldThresh;}else return (v1.v.y < > v2.v.y-WeldThresh);} else return (v1.v.z < v2.v.z-WeldThresh); } //Is less > then (generates a "hash" for sorting vertices by z for set > > ^ > In file included from /usr/include/c++/6/cstdlib:75:0, > from /usr/include/c++/6/ext/string_conversions.h:41, > from /usr/include/c++/6/bits/basic_string.h:5402, > from /usr/include/c++/6/string:52, > from ./libraries/amf/amftools-code/include/STL_File.h:14, > from libraries/amf/amftools-code/src/STL_File.cpp:10: > /usr/include/stdlib.h:774:12: note: candidate: int abs(int) > extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; > ^~~ > In file included from /usr/include/c++/6/ext/string_conversions.h:41:0, > from /usr/include/c++/6/bits/basic_string.h:5402, > from /usr/include/c++/6/string:52, > from ./libraries/amf/amftools-code/include/STL_File.h:14, > from libraries/amf/amftools-code/src/STL_File.cpp:10: > /usr/include/c++/6/cstdlib:185:3: note: candidate: __int128 std::abs(__int128) > abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } > ^~~ > /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int > std::abs(long long int) > abs(long long __x) { return __builtin_llabs (__x); } > ^~~ > /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int) > abs(long __i) { return __builtin_labs(__i); } > ^~~ > In file included from libraries/amf/amftools-code/src/STL_File.cpp:10:0: > ./libraries/amf/amftools-code/include/STL_File.h:92:144: error: call of > overloaded 'abs(double)' is ambiguous > static inline bool IsSoftLessThan(const aWeldVertex& v1, const aWeldVertex& > v2){if(abs(v1.v.z - v2.v.z) <= WeldThresh){ if(abs(v1.v.y - v2.v.y) <= > WeldThresh){ return v1.v.x < v2.v.x-WeldThresh;}else return (v1.v.y < > v2.v.y-WeldThresh);} else return (v1.v.z < v2.v.z-WeldThresh); } //Is less > then (generates a "hash" for sorting vertices by z for set > > ^ > In file included from /usr/include/c++/6/cstdlib:75:0, > from /usr/include/c++/6/ext/string_conversions.h:41, > from /usr/include/c++/6/bits/basic_string.h:5402, > from /usr/include/c++/6/string:52, > from ./libraries/amf/amftools-code/include/STL_File.h:14, > from libraries/amf/amftools-code/src/STL_File.cpp:10: > /usr/include/stdlib.h:774:12: note: candidate: int abs(int) > extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; > ^~~ > In file included from /usr/include/c++/6/ext/string_conversions.h:41:0, > from /usr/include/c++/6/bits/basic_string.h:5402, > from /usr/include/c++/6/string:52, > from ./libraries/amf/amftools-code/include/STL_File.h:14, > from libraries/amf/amftools-code/src/STL_File.cpp:10: > /usr/include/c++/6/cstdlib:185:3: note: candidate: __int128 std::abs(__int128) > abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } > ^~~ > /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int > std::abs(long long int) > abs(long long __x) { return __builtin_llabs (__x); } > ^~~ > /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int) > abs(long __i) { return __builtin_labs(__i); } > ^~~ > libraries/amf/amftools-code/src/STL_File.cpp: In member function 'bool > CSTL_File::Load(std::__cxx11::string)': > libraries/amf/amftools-code/src/STL_File.cpp:66:37: warning: ignoring return > value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with > attribute warn_unused_result [-Wunused-result] > fread(&facenum, sizeof(int), 1, fp); > ^ > libraries/amf/amftools-code/src/STL_File.cpp:70:35: warning: ignoring return > value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with > attribute warn_unused_result [-Wunused-result] > fread(tmpbuf,sizeof(tmpbuf),1,fp); > ^ > libraries/amf/amftools-code/src/STL_File.cpp: In member function 'bool > CSTL_File::LoadBinary(std::__cxx11::string)': > libraries/amf/amftools-code/src/STL_File.cpp:105:37: warning: ignoring return > value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with > attribute warn_unused_result [-Wunused-result] > fread(&facenum, sizeof(int), 1, fp); > ^ > libraries/amf/amftools-code/src/STL_File.cpp:115:33: warning: ignoring return > value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with > attribute warn_unused_result [-Wunused-result] > fread(&N,3*sizeof(float),1,fp); > ^ > libraries/amf/amftools-code/src/STL_File.cpp:116:33: warning: ignoring return > value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with > attribute warn_unused_result [-Wunused-result] > fread(&P,3*sizeof(float),3,fp); > ^ > libraries/amf/amftools-code/src/STL_File.cpp:117:34: warning: ignoring return > value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with > attribute warn_unused_result [-Wunused-result] > fread(&attr,sizeof(short),1,fp); > ^ > make[4]: *** [libraries/amf/amftools-code/src/libamf_la-STL_File.lo] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2016/07/13/repsnapper_2.4a0-1_unstable_gcc6.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.

