Source: boinctui
Version: 2.4.0-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++ -c -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security 
> -Wdate-time -D_FORTIFY_SOURCE=2 -DENABLEMOUSE -DVERSION=2.4.0 
> -DPACKAGE_NAME=\"boinctui\" -DPACKAGE_TARNAME=\"boinctui\" 
> -DPACKAGE_VERSION=\"VERSION\" -DPACKAGE_STRING=\"boinctui\ VERSION\" 
> -DPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\" -DPACKAGE_URL=\"\" 
> -DHAVE_LIBNCURSESW=1 -DHAVE_LIBFORMW=1 -DHAVE_LIBPANELW=1 -DHAVE_LIBMENUW=1 
> -DHAVE_LIBEXPAT=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBGNUTLS_OPENSSL_=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_PTHREAD_H=1 -DHAVE_STRING_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_STDARG_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_LOCALE_H=1 
> -DHAVE_MALLOC_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETDB_H=1 -DHAVE_SIGNAL_H=1 
> -DHAVE_CTYPE_H=1 -DHAVE_ALGORITHM=1 -DHAVE_STRING=1 -DHAVE_LIST=1 
> -DHAVE_VECTOR=1 -DHAVE_QUEUE=1 -DHAVE_STACK=1 -DHAVE_SSTREAM=1 
> -DHAVE_EXPAT_H=1 -DHAVE_GNUTLS_OPENSSL_H=1 -DHAVE_NCURSESW_CURSES_H=1 
> -DHAVE_NCURSESW_FORM_H=1 -DHAVE_NCURSESW_PANEL_H=1 -DHAVE__BOOL=1 
> -DHAVE_STDBOOL_H=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STDLIB_H=1 
> -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_MBLEN=1 
> -DHAVE_MEMSET=1 -DHAVE_SETLOCALE=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 
> -DHAVE_STRSTR=1 -o .obj/infopanel.o src/infopanel.cpp
> src/infopanel.cpp: In member function 'virtual void InfoPanel::refresh()':
> src/infopanel.cpp:93:48: error: call of overloaded 'abs(double)' is ambiguous
>      if ( (!compact)||(abs(usertotal - hosttotal) > 1) )
>                                                 ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> src/infopanel.cpp:100:44: error: call of overloaded 'abs(double)' is ambiguous
>      if ( (!compact)||(abs(useravg - hostavg) > 1) )
>                                             ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> src/infopanel.cpp:112:52: error: call of overloaded 'abs(double)' is ambiguous
>      if ( (!compact)||(abs(lastdayuser - lastdayhost) > 1) )
>                                                     ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> src/infopanel.cpp:144:59: error: call of overloaded 'abs(double)' is ambiguous
>   if ( (!compact)||(abs(projects[i].user - projects[i].host) > 1) )
>                                                            ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> src/infopanel.cpp:148:73: error: call of overloaded 'abs(double)' is ambiguous
>   if ( (!compact)||(abs(projects[i].userlastday - projects[i].hostlastday) > 
> 1) )
>                                                                          ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> src/infopanel.cpp:164:59: error: call of overloaded 'abs(double)' is ambiguous
>   if ( (!compact)||(abs(projects[i].user - projects[i].host) > 1) )
>                                                            ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> src/infopanel.cpp:174:73: error: call of overloaded 'abs(double)' is ambiguous
>   if ( (!compact)||(abs(projects[i].userlastday - projects[i].hostlastday) > 
> 1) )
>                                                                          ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:59,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from src/infopanel.cpp:19:
> /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); }
>    ^~~
> make[1]: *** [.obj/infopanel.o] Error 1

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