Source: gource
Version: 0.43-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
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):
> g++ -DPACKAGE_NAME=\"Gource\" -DPACKAGE_TARNAME=\"gource\" 
> -DPACKAGE_VERSION=\"0.43\" -DPACKAGE_STRING=\"Gource\ 0.43\" 
> -DPACKAGE_BUGREPORT=\"acaudw...@gmail.com\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"gource\" -DVERSION=\"0.43\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1 
> -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GL_GL_H=1 
> -DHAVE_GL_GLU_H=1 -DHAVE_IMG_LOADPNG_RW=1 -DHAVE_IMG_LOADJPG_RW=1 
> -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ 
> -DHAVE_LIBTINYXML=1 -I.  -DSDLAPP_RESOURCE_DIR=\"/usr/share/gource\" 
> -DSDLAPP_FONT_DIR=\"/usr/share/fonts/truetype/freefont\" -Wdate-time 
> -D_FORTIFY_SOURCE=2 -pthread -pthread -I/usr/include/freetype2  
> -I/usr/include/libdrm -D_REENTRANT -I/usr/include/SDL2  
> -I/usr/include/libpng16 -I/usr/include -std=gnu++0x -Wall -Wno-sign-compare 
> -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -pthread -pthread 
> -c -o src/gource-dirnode.o `test -f 'src/dirnode.cpp' || echo 
> './'`src/dirnode.cpp
> src/dirnode.cpp: In member function 'void RDirNode::calcRadius()':
> src/dirnode.cpp:585:82: error: no matching function for call to 'max(double, 
> float)'
>      this->parent_radius = std::max(1.0, sqrt(total_file_area) * 
> gGourceDirPadding);
>                                                                               
>     ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/string:40,
>                  from src/core/sdlapp.h:43,
>                  from src/dirnode.h:21,
>                  from src/dirnode.cpp:18:
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate: template<class 
> _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
>      max(const _Tp& __a, const _Tp& __b)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:219:5: note:   template argument 
> deduction/substitution failed:
> src/dirnode.cpp:585:82: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>      this->parent_radius = std::max(1.0, sqrt(total_file_area) * 
> gGourceDirPadding);
>                                                                               
>     ^
> In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
>                  from /usr/include/c++/6/string:40,
>                  from src/core/sdlapp.h:43,
>                  from src/dirnode.h:21,
>                  from src/dirnode.cpp:18:
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate: template<class 
> _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
>      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
>      ^~~
> /usr/include/c++/6/bits/stl_algobase.h:265:5: note:   template argument 
> deduction/substitution failed:
> src/dirnode.cpp:585:82: note:   deduced conflicting types for parameter 
> 'const _Tp' ('double' and 'float')
>      this->parent_radius = std::max(1.0, sqrt(total_file_area) * 
> gGourceDirPadding);
>                                                                               
>     ^
> make[1]: *** [src/gource-dirnode.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/gource_0.43-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.

Reply via email to