Package: kde4libs Version: 4:4.14.14-1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-literal-suffixes
This package fails to build with GCC 6. GCC 6 has not been released yet, but it's expected that GCC 6 will become the default compiler for stretch. Note that only the first error is reported; there might be more. You can find a snapshot of GCC 6 in experimental. To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > ^ > > /<<PKGBUILDDIR>>/kjs/JSImmediate.h:254:47: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from /<<PKGBUILDDIR>>/kjs/wtf/RefPtr.h:25, > from /<<PKGBUILDDIR>>/kjs/ustring.h:31, > from /<<PKGBUILDDIR>>/kjs/lexer.h:27, > from /<<PKGBUILDDIR>>/kjs/lexer.cpp:25: > /usr/include/c++/6/cmath:690:5: note: 'std::signbit' > signbit(_Tp __x) > ^~~~~~~ > > Generating backends/hal/halmanager.moc > In file included from /<<PKGBUILDDIR>>/kjs/value.h:27:0, > from /<<PKGBUILDDIR>>/kjs/ExecState.h:29, > from /<<PKGBUILDDIR>>/kjs/interpreter.h:27, > from /<<PKGBUILDDIR>>/kjs/object.h:30, > from /<<PKGBUILDDIR>>/kjs/operations.cpp:26: > /<<PKGBUILDDIR>>/kjs/JSImmediate.h: In static member function 'static > KJS::JSValue* KJS::JSImmediate::from(double)': > /<<PKGBUILDDIR>>/kjs/JSImmediate.h:254:47: error: 'signbit' was not declared > in this scope > if ((intVal != d) || (!intVal && signbit(d))) > ^ > > /<<PKGBUILDDIR>>/kjs/JSImmediate.h:254:47: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from /<<PKGBUILDDIR>>/kjs/wtf/RefPtr.h:25, > from /<<PKGBUILDDIR>>/kjs/ustring.h:31, > from /<<PKGBUILDDIR>>/kjs/identifier.h:25, > from /<<PKGBUILDDIR>>/kjs/CommonIdentifiers.h:24, > from /<<PKGBUILDDIR>>/kjs/completion.h:28, > from /<<PKGBUILDDIR>>/kjs/ExecState.h:28, > from /<<PKGBUILDDIR>>/kjs/interpreter.h:27, > from /<<PKGBUILDDIR>>/kjs/object.h:30, > from /<<PKGBUILDDIR>>/kjs/operations.cpp:26: > /usr/include/c++/6/cmath:690:5: note: 'std::signbit' > signbit(_Tp __x) > ^~~~~~~ > > Generating moc_fstabdevice.cpp > Generating networkinterface.moc > Generating moc_kdescendantsproxymodel.cpp > Generating backends/udev/udevgenericinterface.moc > Generating fade_p.moc > In file included from /<<PKGBUILDDIR>>/kjs/value.h:27:0, > from /<<PKGBUILDDIR>>/kjs/ExecState.h:29, > from /<<PKGBUILDDIR>>/kjs/interpreter.h:27, > from /<<PKGBUILDDIR>>/kjs/object.h:30, > from /<<PKGBUILDDIR>>/kjs/JSVariableObject.h:53, > from /<<PKGBUILDDIR>>/kjs/function.h:30, > from /<<PKGBUILDDIR>>/kjs/object_object.h:25, > from /<<PKGBUILDDIR>>/kjs/function_object.h:26, > from /<<PKGBUILDDIR>>/kjs/function_object.cpp:24: > /<<PKGBUILDDIR>>/kjs/JSImmediate.h: In static member function 'static > KJS::JSValue* KJS::JSImmediate::from(double)': > /<<PKGBUILDDIR>>/kjs/JSImmediate.h:254:47: error: 'signbit' was not declared > in this scope > if ((intVal != d) || (!intVal && signbit(d))) > ^ ... > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/solid/solid && /usr/bin/c++ > -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=22 -DKDE_DEPRECATED_WARNINGS > -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION > -DQT_USE_FAST_OPERATOR_PLUS -DWITH_SOLID_UDISKS2 -D_BSD_SOURCE > -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/solid/solid > -I/<<PKGBUILDDIR>>/solid/solid -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/interfaces > -I/<<PKGBUILDDIR>>/solid -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/solid > -I/usr/include/QtCrypto -I/usr/include/qt4 -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtDBus -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time > -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align > -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions > -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -DNDEBUG > -DQT > _NO_DEBUG -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o > CMakeFiles/solid_static.dir/backends/shared/cpufeatures.cpp.o -c > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp: In function > 'Solid::Processor::InstructionSets Solid::Backends::Shared::cpuFeatures()': > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:69:37: error: > inconsistent user-defined literal suffixes 'reg' and 'reg1' in string literal > #define ASM_MOV_REG(reg1, reg2) "movq %%r"reg1", %%r"reg2" \n\t" > ^ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:102:5: note: in > expansion of macro 'ASM_MOV_REG' > ASM_MOV_REG("cx", "dx") // Copy ECX to EDX > ^~~~~~~~~~~ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:114:5: error: > unable to find string literal operator 'operator""reg' with 'const char > [315]', 'long unsigned int' arguments > ".Lno_cpuid_support%=: \n\t" > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:70:37: error: > inconsistent user-defined literal suffixes 'reg' and 'var' in string literal > #define ASM_MOV_VAR(var, reg) "movq "var", %%r"reg" \n\t" > ^ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:122:13: note: in > expansion of macro 'ASM_MOV_VAR' > ASM_MOV_VAR("$1", "ax") // Set EAX to 1 (features > request) > ^~~~~~~~~~~ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:64:52: error: > unable to find string literal operator 'operator""reg' with 'const char > [100]', 'long unsigned int' arguments > #define ASM_POP(reg) "popq %%r"reg" \n\t" > ^ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:124:13: note: in > expansion of macro 'ASM_POP' > ASM_POP("bx") // Restore EBX > ^~~~~~~ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:70:37: error: > inconsistent user-defined literal suffixes 'reg' and 'var' in string literal > #define ASM_MOV_VAR(var, reg) "movq "var", %%r"reg" \n\t" > ^ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:133:14: note: in > expansion of macro 'ASM_MOV_VAR' > ASM_MOV_VAR("$0x80000000", "ax") > ^~~~~~~~~~~ > > /<<PKGBUILDDIR>>/solid/solid/backends/shared/cpufeatures.cpp:64:52: error: > unable to find string literal operator 'operator""reg' with 'const char > [283]', 'long unsigned int' arguments > #define ASM_POP(reg) "popq %%r"reg" \n\t" > ^