← Back to team overview

dx-packages team mailing list archive

[Bug 1008219] Re: Unity 5.12-0ubuntu2 fails to build in Quantal (gcc-4.7)

 

** Changed in: unity
   Importance: Undecided => High

** Changed in: unity
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages, dx-packages
https://bugs.launchpad.net/bugs/1008219

Title:
  Unity 5.12-0ubuntu2 fails to build in Quantal (gcc-4.7)

Status in Unity:
  Fix Released
Status in “nux” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  Hi there,

  Unity FTBFS due to gcc-4.7. I've cherry-picked the upstream patches.

  We'll also need to switch nux to boost 1.49 for its consumers to be
  able to be compatible with gcc-4.7 too.

  [ 10%] Building CXX object UnityCore/CMakeFiles/unity-core-5.0.dir/Categories.cpp.o
  cd /build/buildd/unity-5.12/obj-x86_64-linux-gnu/UnityCore && /usr/bin/c++   -Dunity_core_5_0_EXPORTS -DGETTEXT_PACKAGE=\"unity\" -DLENSES_DIR=\"/usr/share/unity/lenses\" -DGNOME_DESKTOP_USE_UNSTABLE_API -std=c++0x -fno-permissive -O2 -g -fPIC   -pthread -I/usr/include/dee-1.0 -I/usr/include/Nux-2.0 -I/usr/include/unity/unity -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gee-1.0 -I/usr/include/libdbusmenu-glib-0.4 -pthread -Werror -Wall -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Warray-bounds -I/build/buildd/unity-5.12/obj-x86_64-linux-gnu -o CMakeFiles/unity-core-5.0.dir/Categories.cpp.o -c /build/buildd/unity-5.12/UnityCore/Categories.cpp
  In file included from /build/buildd/unity-5.12/UnityCore/GLibSignal.h:307:0,
                   from /build/buildd/unity-5.12/UnityCore/Model.h:29,
                   from /build/buildd/unity-5.12/UnityCore/Categories.h:25,
                   from /build/buildd/unity-5.12/UnityCore/Categories.cpp:20:
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h: In instantiation of 'unity::glib::Signal<R, G, T1, T2, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::Signal(G, const string&, unity::glib::Signal<R, G, T1, T2, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::SignalCallback) [with R = void; G = _DeeModel*; T1 = long unsigned int; T2 = long unsigned int; std::string = std::basic_string<char>; unity::glib::Signal<R, G, T1, T2, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::SignalCallback = sigc::slot<void, _DeeModel*, long unsigned int, long unsigned int, sigc::nil, sigc::nil, sigc::nil, sigc::nil>]':
  /build/buildd/unity-5.12/UnityCore/Model-inl.h:80:7:   required from 'void unity::dash::Model<RowAdaptor>::OnSwarmNameChanged(const string&) [with RowAdaptor = unity::dash::Category; std::string = std::basic_string<char>]'
  /build/buildd/unity-5.12/UnityCore/Model-inl.h:55:3:   required from 'void unity::dash::Model<RowAdaptor>::Init() [with RowAdaptor = unity::dash::Category]'
  /build/buildd/unity-5.12/UnityCore/Model-inl.h:39:3:   required from 'unity::dash::Model<RowAdaptor>::Model() [with RowAdaptor = unity::dash::Category]'
  /build/buildd/unity-5.12/UnityCore/Categories.cpp:27:24:   required from here
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h:243:3: error: 'Connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h:243:3: note: declarations in dependent base 'unity::glib::Signal2<void, _DeeModel*, long unsigned int, long unsigned int>' are not found by unqualified lookup
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h:243:3: note: use 'this->Connect' instead
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h: In instantiation of 'unity::glib::Signal<R, G, T1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::Signal(G, const string&, unity::glib::Signal<R, G, T1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::SignalCallback) [with R = void; G = _DeeModel*; T1 = _DeeModelIter*; std::string = std::basic_string<char>; unity::glib::Signal<R, G, T1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::SignalCallback = sigc::slot<void, _DeeModel*, _DeeModelIter*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>]':
  /build/buildd/unity-5.12/UnityCore/Model-inl.h:98:3:   required from 'void unity::dash::Model<RowAdaptor>::OnSwarmNameChanged(const string&) [with RowAdaptor = unity::dash::Category; std::string = std::basic_string<char>]'
  /build/buildd/unity-5.12/UnityCore/Model-inl.h:55:3:   required from 'void unity::dash::Model<RowAdaptor>::Init() [with RowAdaptor = unity::dash::Category]'
  /build/buildd/unity-5.12/UnityCore/Model-inl.h:39:3:   required from 'unity::dash::Model<RowAdaptor>::Model() [with RowAdaptor = unity::dash::Category]'
  /build/buildd/unity-5.12/UnityCore/Categories.cpp:27:24:   required from here
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h:231:3: error: 'Connect' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h:231:3: note: declarations in dependent base 'unity::glib::Signal1<void, _DeeModel*, _DeeModelIter*>' are not found by unqualified lookup
  /build/buildd/unity-5.12/UnityCore/GLibSignal-inl.h:231:3: note: use 'this->Connect' instead

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