← Back to team overview

touch-packages team mailing list archive

[Bug 1430784] Re: FTBFS using GCC-5

 

** Changed in: unity
    Milestone: 7.3.2 => 7.3.3

-- 
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/1430784

Title:
  FTBFS using GCC-5

Status in Unity:
  In Progress
Status in unity package in Ubuntu:
  In Progress

Bug description:
  Unity fails to build from source using GCC 5.0 or later.

  An excerpt from the failing build log follows.

  /build/buildd/unity-7.3.1+15.04.20150126/hud/HudController.cpp:160:96:   required from here
  /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89:30: error: no match for call to '(sigc::bound_mem_functor1<void, unity::hud::Controller, bool>) (std::nullptr_t&)'
       { return functor_(_A_arg1); }
                                ^
  In file included from /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:9:0,
                   from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7,
                   from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
                   from /usr/include/sigc++-2.0/sigc++/signal.h:8,
                   from /usr/include/Nux-4.0/NuxCore/Object.h:30,
                   from /usr/include/Nux-4.0/NuxCore/NuxCore.h:730,
                   from /usr/include/Nux-4.0/Nux/Nux.h:26,
                   from /build/buildd/unity-7.3.1+15.04.20150126/hud/pch/hud_pch.hh:28:
  /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1855:12: note: candidate: T_return sigc::bound_mem_functor1<T_return, T_obj, T_arg1>::operator()(typename sigc::type_trait<T_arg3>::take) const [with T_return = void; T_obj = unity::hud::Controller; T_arg1 = bool; typename sigc::type_trait<T_arg3>::take = const bool&] <near match>
     T_return operator()(typename type_trait<T_arg1>::take _A_a1) const
              ^
  /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1855:12: note:   conversion of argument 1 would be ill-formed:
  In file included from /usr/include/sigc++-2.0/sigc++/functors/slot.h:7:0,
                   from /usr/include/sigc++-2.0/sigc++/signal_base.h:27,
                   from /usr/include/sigc++-2.0/sigc++/signal.h:8,
                   from /usr/include/Nux-4.0/NuxCore/Object.h:30,
                   from /usr/include/Nux-4.0/NuxCore/NuxCore.h:730,
                   from /usr/include/Nux-4.0/Nux/Nux.h:26,
                   from /build/buildd/unity-7.3.1+15.04.20150126/hud/pch/hud_pch.hh:28:
  /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89:30: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]
       { return functor_(_A_arg1); }
                                ^
  /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:89:30: error: return-statement with a value, in function returning 'void' [-fpermissive]
  hud/CMakeFiles/hud-lib.dir/build.make:103: recipe for target 'hud/CMakeFiles/hud-lib.dir/HudController.cpp.o' failed

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


References