Source: libsynthesis
Version: 3.4.0.47.5+syncevolution-1.5.1-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):
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
>  -I./sysync_SDK/Sources -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
> -Wno-unknown-pragmas -Wno-unused-but-set-variable -include ../config.h 
> -include 
> ./Targets/ReleasedProducts/combiEngine_opensource_linux/combiengine_opensource_linux_prefix.h
>  -I./Targets/ReleasedProducts/clientEngine_autotools/ 
> -I./Targets/ReleasedProducts/combiEngine_opensource_linux/ 
> -I./platform_adapters/linux/ -I./platform_adapters/unix_common/ 
> -I./platform_adapters/ -I./syncapps/clientEngine_custom/ 
> -I./syncapps/serverEngine_custom/ -I./sysync/ 
> -I./Transport_interfaces/engine/ -I./ -I./syncml_tk/src/sml/inc/ 
> -I./syncml_tk/src/sml/lib/inc/ -I./syncml_tk/src/sml/lib/ 
> -I./syncml_tk/src/sml/mgr/inc/ -I./syncml_tk/src/sml/mgr/ 
> -I./syncml_tk/src/sml/wsm/inc/ -I./syncml_tk/src/sml/xlt/inc 
> -I./syncml_tk/src/sml/xlt/all -I./DB_interfaces/odbc_db/ 
> -I./DB_interfaces/api_db/ -I./sysync_SDK/Sources/      
> -I./Targets/ReleasedProducts/clientEngine_autotools/systemxml   -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> sysync/libsynthesis_la-itemfield.lo `test -f 'sysync/itemfield.cpp' || echo 
> './'`sysync/itemfield.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./sysync_SDK/Sources 
> -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unknown-pragmas 
> -Wno-unused-but-set-variable -include ../config.h -include 
> ./Targets/ReleasedProducts/combiEngine_opensource_linux/combiengine_opensource_linux_prefix.h
>  -I./Targets/ReleasedProducts/clientEngine_autotools/ 
> -I./Targets/ReleasedProducts/combiEngine_opensource_linux/ 
> -I./platform_adapters/linux/ -I./platform_adapters/unix_common/ 
> -I./platform_adapters/ -I./syncapps/clientEngine_custom/ 
> -I./syncapps/serverEngine_custom/ -I./sysync/ 
> -I./Transport_interfaces/engine/ -I./ -I./syncml_tk/src/sml/inc/ 
> -I./syncml_tk/src/sml/lib/inc/ -I./syncml_tk/src/sml/lib/ 
> -I./syncml_tk/src/sml/mgr/inc/ -I./syncml_tk/src/sml/mgr/ 
> -I./syncml_tk/src/sml/wsm/inc/ -I./syncml_tk/src/sml/xlt/inc 
> -I./syncml_tk/src/sml/xlt/all -I./DB_interfaces/odbc_db/ 
> -I./DB_interfaces/api_db/ -I./sysync_SDK/Sources/ 
> -I./Targets/ReleasedProducts/clientEngine_autotools/systemxml -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c 
> sysync/itemfield.cpp  -fPIC -DPIC -o sysync/.libs/libsynthesis_la-itemfield.o
> In file included from /usr/include/errno.h:28:0,
>                  from ./platform_adapters/linux/platform_headers.h:21,
>                  from 
> ././Targets/ReleasedProducts/combiEngine_opensource_linux/combiengine_opensource_linux_prefix.h:31,
>                  from <command-line>:0:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>    ^~~~~~~
> sysync/itemfield.cpp: In member function 'void 
> sysync::TTimestampField::getAsRFC822date(std::__cxx11::string&, 
> sysync::timecontext_t, bool)':
> sysync/itemfield.cpp:1491:27: error: invalid operands of types 
> '__gnu_cxx::__enable_if<true, double>::__type {aka double}' and 'const int' 
> to binary 'operator%'
>        (uInt16)(abs(moffs) % MinsPerHour)
>                 ~~~~~~~~~~~^~~~~~~~~~~~~
> make[3]: *** [sysync/libsynthesis_la-itemfield.lo] Error 1

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