[buildd-tools-devel] Bug#789155: schroot: FTBFS: g++-4.8: error: unrecognized command line option '-fstack-protector-strong'

Jakub Wilk jwilk at debian.org
Thu Jun 18 11:30:27 UTC 2015


Source: schroot
Version: 1.7.2-2
Severity: serious
Justification: fails to build from source

schroot FTBFS:
| cd debian/build/gtest/ ; \
|   CXX="g++-4.8 -std=c++11" cmake /usr/src/gtest ; \
|   /usr/bin/make VERBOSE=1
| -- The CXX compiler identification is unknown
| -- The C compiler identification is GNU 4.9.2
| -- Check for working CXX compiler: /usr/bin/g++-4.8
| -- Check for working CXX compiler: /usr/bin/g++-4.8 -- broken
| CMake Error at /usr/share/cmake-3.2/Modules/CMakeTestCXXCompiler.cmake:54 (message):
|   The C++ compiler "/usr/bin/g++-4.8" is not able to compile a simple test
|   program.
|
|   It fails with the following output:
|
|    Change Dir: /«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp
|
|
|
|   Run Build Command:"/usr/bin/make" "cmTryCompileExec3152828188/fast"
|
|   make[2]: Entering directory
|   '/«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp'
|
|
|   /usr/bin/make -f CMakeFiles/cmTryCompileExec3152828188.dir/build.make
|   CMakeFiles/cmTryCompileExec3152828188.dir/build
|
|   make[3]: Entering directory
|   '/«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp'
|
|
|   /usr/bin/cmake -E cmake_progress_report
|   /«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp/CMakeFiles
|   1
|
|   Building CXX object
|   CMakeFiles/cmTryCompileExec3152828188.dir/testCXXCompiler.cxx.o
|
|   /usr/bin/g++-4.8 -std=c++11 -g -O2 -fstack-protector-strong -Wformat
|   -Werror=format-security -o
|   CMakeFiles/cmTryCompileExec3152828188.dir/testCXXCompiler.cxx.o -c
|   /«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
|
|   g++-4.8: error: unrecognized command line option '-fstack-protector-strong'
|
|   CMakeFiles/cmTryCompileExec3152828188.dir/build.make:57: recipe for target
|   'CMakeFiles/cmTryCompileExec3152828188.dir/testCXXCompiler.cxx.o' failed
|
|   make[3]: Leaving directory
|   '/«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp'
|
|
|   make[3]: ***
|   [CMakeFiles/cmTryCompileExec3152828188.dir/testCXXCompiler.cxx.o] Error 1
|
|   Makefile:117: recipe for target 'cmTryCompileExec3152828188/fast' failed
|
|   make[2]: *** [cmTryCompileExec3152828188/fast] Error 2
|
|   make[2]: Leaving directory
|   '/«PKGBUILDDIR»/debian/build/gtest/CMakeFiles/CMakeTmp'
|
|
|
|
|
|
|   CMake will not be able to correctly generate this project.
| Call Stack (most recent call first):
|   CMakeLists.txt:42 (project)
|
|
| -- Configuring incomplete, errors occurred!

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=schroot&arch=amd64&ver=1.7.2-2%2Bb1&stamp=1434554920

-- 
Jakub Wilk



More information about the Buildd-tools-devel mailing list