--- Begin Message ---
Source: odin
Version: 2.0.2-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):
> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I../tjutils -I.. -I/«PKGBUILDDIR» -I/usr/include/qwt-qt4
> -I/usr/share/qt4/include/QtGui -I/usr/share/qt4/include/QtCore
> -I/usr/share/qt4/include -I. -I/usr/include/dcmtk
> -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/ofstd
> -I/usr/include/vtk-6.3 -I/usr/include/nifti -Wdate-time -D_FORTIFY_SOURCE=2
> -O3 -fno-tree-vectorize -g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -c -o odinpulse.lo odinpulse.cpp
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../tjutils -I.. -I/«PKGBUILDDIR»
> -I/usr/include/qwt-qt4 -I/usr/share/qt4/include/QtGui
> -I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include -I.
> -I/usr/include/dcmtk -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/ofstd
> -I/usr/include/vtk-6.3 -I/usr/include/nifti -Wdate-time -D_FORTIFY_SOURCE=2
> -O3 -fno-tree-vectorize -g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -c odinpulse.cpp -fPIC -DPIC -o .libs/odinpulse.o
> In file included from ../odinseq/seqplatform.h:24:0,
> from ../odinseq/seqdriver.h:23,
> from ../odinseq/seqphase.h:26,
> from ../odinseq/seqfreq.h:25,
> from ../odinseq/seqpuls.h:22,
> from odinpulse.h:24,
> from odinpulse.cpp:1:
> ../odinseq/seqplot.h:39:87: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
> ^
> ../odinseq/seqplot.h:39:106: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
> ^
> ../odinseq/seqplot.h:39:128: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
> ^
> ../odinseq/seqplot.h:39:148: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
> ^
> ../odinseq/seqplot.h:39:167: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
>
> ^
> ../odinseq/seqplot.h:39:187: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
>
> ^
> ../odinseq/seqplot.h:39:222: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
>
> ^
> ../odinseq/seqplot.h:39:245: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
>
>
> ^
> ../odinseq/seqplot.h:39:281: warning: invalid suffix on literal; C++11
> requires a space between literal and string macro [-Wliteral-suffix]
> static const char* timecourseUnit[]= {ODIN_GRAD_UNIT, ODIN_GRAD_UNIT,
> ODIN_GRAD_UNIT"/"ODIN_TIME_UNIT, "rad/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT,
> "rad*"ODIN_TIME_UNIT"^2/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2",
> "rad/"ODIN_SPAT_UNIT, ODIN_TIME_UNIT"/"ODIN_SPAT_UNIT"^2", ODIN_GRAD_UNIT};
>
>
>
> ^
> odinpulse.cpp: In member function 'OdinPulse& OdinPulse::generate()':
> odinpulse.cpp:659:35: error: call of overloaded 'sqrt(funcMode&)' is ambiguous
> max_spatial_extension*=sqrt(mode); // extend to diagonal direction
> square-shaped alias-free FOX
> ^
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdio.h:27,
> from ../tjutils/tjcstd.h:28,
> from ../tjutils/tjstd.h:29,
> from ../tjutils/tjutils.h:28,
> from ../tjutils/tjstatic.h:22,
> from ../odinpara/ldrblock.h:21,
> from ../odinpara/ldrfunction.h:20,
> from odinpulse.h:21,
> from odinpulse.cpp:1:
> /usr/include/x86_64-linux-gnu/bits/mathcalls.h:156:1: note: candidate: double
> sqrt(double)
> __MATHCALL (sqrt,, (_Mdouble_ __x));
> ^
> In file included from /usr/include/c++/6/math.h:36:0,
> from ../tjutils/tjcstd.h:32,
> from ../tjutils/tjstd.h:29,
> from ../tjutils/tjutils.h:28,
> from ../tjutils/tjstatic.h:22,
> from ../odinpara/ldrblock.h:21,
> from ../odinpara/ldrfunction.h:20,
> from odinpulse.h:21,
> from odinpulse.cpp:1:
> /usr/include/c++/6/cmath:490:3: note: candidate: constexpr long double
> std::sqrt(long double)
> sqrt(long double __x)
> ^~~~
> /usr/include/c++/6/cmath:486:3: note: candidate: constexpr float
> std::sqrt(float)
> sqrt(float __x)
> ^~~~
> make[2]: *** [odinpulse.lo] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/odin_2.0.2-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.
--- End Message ---