[Ci-reports] fail on QtSensors_5.4_Integration #34

Qt Continuous Integration System ci-noreply at qt-project.org
Wed May 20 00:16:15 CEST 2015


Compilation failed :(

  /usr/bin/cmake -E cmake_progress_report /work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/build/CMakeFiles 1
  [100%] Building CXX object CMakeFiles/module_includes_exe.dir/main.cpp.o
  /usr/bin/g++   -DQT_CORE_LIB -DQT_SENSORS_LIB -fPIC -g -fPIE -I/work/build/qt/qtbase/include -I/work/build/qt/qtbase/include/QtSensors -I/work/build/qt/qtbase/include/QtCore -I/work/build/qt/qtbase/mkspecs/linux-g++    -o CMakeFiles/module_includes_exe.dir/main.cpp.o -c /work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/main.cpp
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qsensorsglobal.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qsensorsglobal.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qsensor.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qsensor.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qlightsensor.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qlightsensor.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/QLightSensor:1,
                   from /work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/main.cpp:4:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1051:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
   #  error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
      ^
  gmake[2]: *** [CMakeFiles/module_includes_exe.dir/main.cpp.o] Error 1
  gmake[2]: Leaving directory `/work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/build'
  gmake[1]: *** [CMakeFiles/module_includes_exe.dir/all] Error 2
  gmake[1]: Leaving directory `/work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/build'
  gmake: *** [all] Error 2
  
  
  0% tests passed, 1 tests failed out of 1
  
  Total Test time (real) =   1.04 sec
  
  The following tests FAILED:
  	  1 - module_includes (Failed)
  Errors while running CTest
  QtQA::App::TestRunner: test failure could be reproduced twice consecutively
  QtQA::App::TestRunner: end cmake: 2 seconds, exit code 8
  
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qsensorsglobal.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qsensorsglobal.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qsensor.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qsensor.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qlightsensor.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qlightsensor.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/QLightSensor:1,
                   from /work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/main.cpp:4:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1051:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
  gmake[2]: *** [CMakeFiles/module_includes_exe.dir/main.cpp.o] Error 1
  gmake[1]: *** [CMakeFiles/module_includes_exe.dir/all] Error 2
  gmake: *** [all] Error 2
  In file included from /work/build/qt/qtbase/include/QtCore/qglobal.h:1:0,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qsensorsglobal.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qsensorsglobal.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qsensor.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qsensor.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/../../../qtsensors/src/sensors/qlightsensor.h:37,
                   from /work/build/qt/qtbase/include/QtSensors/qlightsensor.h:1,
                   from /work/build/qt/qtbase/include/QtSensors/QLightSensor:1,
                   from /work/build/qt/qtsensors/tests/auto/cmake/build/module_includes/main.cpp:4:
  /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1051:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
  gmake[2]: *** [CMakeFiles/module_includes_exe.dir/main.cpp.o] Error 1
  gmake[1]: *** [CMakeFiles/module_includes_exe.dir/all] Error 2
  gmake: *** [all] Error 2

  Build log: http://testresults.qt.io/ci/QtSensors_5.4_Integration/build_00034/linux-g++_developer-build_OpenSuSE_13.1_x64/log.txt.gz

  Tested changes (refs/builds/5.4_1432067147):
    http://codereview.qt-project.org/110229 [PS1] - Fix clients starting sensors when sensorfw restarts.



More information about the Ci-reports mailing list