[Pkg-kde-extras] Bug#667336: qapt: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:51 UTC 2012


Package: qapt
Version: 1.3.0-1
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

backend.cpp:153:24: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/qapt_1.3.0-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
/«PKGBUILDDIR»/src/backend.cpp:1451:22: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1452:27: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1452:27: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1453:22: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1453:22: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1454:27: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1454:27: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1455:22: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1455:22: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1456:27: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1456:27: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1457:22: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1457:22: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1458:27: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1458:27: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1459:22: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1459:22: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1460:27: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1460:27: error: unable to find string literal operator 'operator"" __FILE__'
/«PKGBUILDDIR»/src/backend.cpp:1461:22: error: inconsistent user-defined literal suffixes '__FILE__' and 'QTOSTRING' in string literal
/«PKGBUILDDIR»/src/backend.cpp:1461:22: error: unable to find string literal operator 'operator"" __FILE__'
make[3]: *** [src/CMakeFiles/qapt.dir/backend.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/qapt.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the pkg-kde-extras mailing list