← Back to team overview

touch-packages team mailing list archive

[Bug 1350052] Re: Unity FTBFS (Possibly gcc 4.9 issue)

 

** Description changed:

- 4.8 worked fine, upgrade to 4.9 now unity FTBFS. Ill double check gcc
- though.
+ Confirmed gcc/g++ 4.9 causes this FTBFS
  
  [ 17%] Building CXX object UnityCore/CMakeFiles/unity-core-6.0.dir/GLibDBusProxy.cpp.o
  In file included from /home/bschaefer/src/unity/UnityCore/CheckOptionFilter.cpp:22:0:
  /home/bschaefer/src/unity/UnityCore/CheckOptionFilter.cpp:28:16: error: ‘nux::logging::Logger& unity::dash::{anonymous}::logger()’ defined but not used [-Werror=unused-function]
   DECLARE_LOGGER(logger, "unity.dash.filter.checkoption");
                  ^
  /usr/include/Nux-4.0/NuxCore/Logger.h:75:27: note: in definition of macro ‘DECLARE_LOGGER’
     ::nux::logging::Logger& logger()                   \
                             ^
  In file included from /home/bschaefer/src/unity/UnityCore/Model-inl.h:23:0,
                   from /home/bschaefer/src/unity/UnityCore/Model.h:107,
                   from /home/bschaefer/src/unity/UnityCore/Filters.h:26,
                   from /home/bschaefer/src/unity/UnityCore/Filter.cpp:21:
  /home/bschaefer/src/unity/UnityCore/Filter.cpp:35:16: error: ‘nux::logging::Logger& unity::dash::{anonymous}::logger()’ defined but not used [-Werror=unused-function]
   DECLARE_LOGGER(logger, "unity.dash.filter");
                  ^
  /usr/include/Nux-4.0/NuxCore/Logger.h:75:27: note: in definition of macro ‘DECLARE_LOGGER’
     ::nux::logging::Logger& logger()                   \
                             ^
  cc1plus: all warnings being treated as errors
  UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:169: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/CheckOptionFilter.cpp.o' failed
  make[2]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/CheckOptionFilter.cpp.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  cc1plus: all warnings being treated as errors
  UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:238: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/Filter.cpp.o' failed
  make[2]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/Filter.cpp.o] Error 1
  CMakeFiles/Makefile2:6381: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/all' failed
  make[1]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/all] Error 2
  Makefile:113: recipe for target 'all' failed
  make: *** [all] Error 2

** Summary changed:

- Unity FTBFS (Possibly gcc 4.9 issue)
+ Unity FTBFS - gcc 4.9

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1350052

Title:
  Unity FTBFS - gcc 4.9

Status in Unity:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  Confirmed gcc/g++ 4.9 causes this FTBFS

  [ 17%] Building CXX object UnityCore/CMakeFiles/unity-core-6.0.dir/GLibDBusProxy.cpp.o
  In file included from /home/bschaefer/src/unity/UnityCore/CheckOptionFilter.cpp:22:0:
  /home/bschaefer/src/unity/UnityCore/CheckOptionFilter.cpp:28:16: error: ‘nux::logging::Logger& unity::dash::{anonymous}::logger()’ defined but not used [-Werror=unused-function]
   DECLARE_LOGGER(logger, "unity.dash.filter.checkoption");
                  ^
  /usr/include/Nux-4.0/NuxCore/Logger.h:75:27: note: in definition of macro ‘DECLARE_LOGGER’
     ::nux::logging::Logger& logger()                   \
                             ^
  In file included from /home/bschaefer/src/unity/UnityCore/Model-inl.h:23:0,
                   from /home/bschaefer/src/unity/UnityCore/Model.h:107,
                   from /home/bschaefer/src/unity/UnityCore/Filters.h:26,
                   from /home/bschaefer/src/unity/UnityCore/Filter.cpp:21:
  /home/bschaefer/src/unity/UnityCore/Filter.cpp:35:16: error: ‘nux::logging::Logger& unity::dash::{anonymous}::logger()’ defined but not used [-Werror=unused-function]
   DECLARE_LOGGER(logger, "unity.dash.filter");
                  ^
  /usr/include/Nux-4.0/NuxCore/Logger.h:75:27: note: in definition of macro ‘DECLARE_LOGGER’
     ::nux::logging::Logger& logger()                   \
                             ^
  cc1plus: all warnings being treated as errors
  UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:169: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/CheckOptionFilter.cpp.o' failed
  make[2]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/CheckOptionFilter.cpp.o] Error 1
  make[2]: *** Waiting for unfinished jobs....
  cc1plus: all warnings being treated as errors
  UnityCore/CMakeFiles/unity-core-6.0.dir/build.make:238: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/Filter.cpp.o' failed
  make[2]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/Filter.cpp.o] Error 1
  CMakeFiles/Makefile2:6381: recipe for target 'UnityCore/CMakeFiles/unity-core-6.0.dir/all' failed
  make[1]: *** [UnityCore/CMakeFiles/unity-core-6.0.dir/all] Error 2
  Makefile:113: recipe for target 'all' failed
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1350052/+subscriptions


References