← Back to team overview

touch-packages team mailing list archive

[Bug 1286284] Re: Unity FTBFS with -O3

 

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

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

** Changed in: unity
     Assignee: (unassigned) => Stephen M. Webb (bregma)

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

Title:
  Unity FTBFS with -O3

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

Bug description:
  Unity fails to build from source at the -O3 optimization level.

  Builds end with the following error.

  CMakeFiles/test-gtest.dir/__/services/panel-service.c.o  -o test-gtest  -L/usr/lib/powerpc64le-linux-gnu/libunity -rdynamic -pthread -Wl,--export-dynamic -L/usr/lib/powerpc64le-linux-gnu/libunity -lunity-protocol-private -latk-bridge-2.0 -lgmodule-2.0 -lindicator3 -ljson-glib-1.0 -lbamf3 -lnotify -lnux-4.0 -lnux-graphics-4.0 -lpcre -lpng12 -lnux-core-4.0 -lGLEW -lGLEWmx -lXxf86vm -lGLU -lGL -lunity-misc -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lxpathselect -lzeitgeist-2.0 -lXext -lXdamage -lXcomposite -lX11-xcb -lXrandr -lXinerama -lICE -lSM -lxslt -lglibmm-2.4 -lstartup-notification-1 -lxcb -lxml2 -lsigc-2.0 -lgeis -lXfixes -lXi -lXrender -lX11 -lunity -ldee-1.0 -ldbusmenu-glib -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lupstart -lnih -lnih-dbus -ldbus-1 ../UnityCore/libunity-core-6.0.so.9.0.0 -lcompiz_core -lm libtest-libs-c.a ../gmock/gtest/libgtest.a ../gmock/libgmock.a ../dash/libdash-lib.a ../decorations/libdecorations-lib.a ../hud/libhud-lib.a ../launcher/liblauncher-lib.a ../panel/libpanel-lib.a ../dash/previews/libpreviews-lib.a ../shortcuts/libshortcuts-lib.a ../shutdown/libshutdown-lib.a ../launcher/libswitcher-lib.a ../unity-shared/libunity-shared.a ../unity-shared/libunity-shared-bamf.a ../unity-shared/libunity-shared-standalone.a -lpthread /usr/lib/compiz/libcomposite.so ../unity-shared/libunity-shared-compiz.a -L/usr/lib/compiz -lcompiz_core /usr/lib/compiz/libopengl.so -lopengl -lcomposite -Wl,--export-dynamic -latk-bridge-2.0 -lgmodule-2.0 -lindicator3 -ljson-glib-1.0 -lbamf3 -lnotify -lnux-4.0 -lnux-graphics-4.0 -lpcre -lpng12 -lGLEW -lGLEWmx -lXxf86vm -lGLU -lGL -lunity-misc -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lxpathselect -lzeitgeist-2.0 -lXext -lXdamage -lXcomposite -lX11-xcb -lXrandr -lXinerama -lICE -lSM -lxslt -lglibmm-2.4 -lstartup-notification-1 -lxcb -lxml2 -lgeis -lXfixes -lXi -lXrender -lX11 -ldbusmenu-glib ../UnityCore/libunity-core-6.0.so.9.0.0 -pthread -L/usr/lib/powerpc64le-linux-gnu/libunity -lunity-protocol-private -lnux-core-4.0 -lsigc-2.0 -ldee-1.0 -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm -lpthread -ldl -lGL -lGLU /usr/lib/powerpc64le-linux-gnu/libunity/libunity-protocol-private.so -Wl,-rpath,/usr/lib/powerpc64le-linux-gnu/libunity:/build/buildd/unity-7.1.2+14.04.20140225/obj-powerpc64le-linux-gnu/UnityCore:/usr/lib/compiz 
  CMakeFiles/test-gtest.dir/test_launcher_controller.cpp.o: In function `unity::TestLauncherController_GetLastIconPriorityUnSticky_Test::TestBody()':
  /build/buildd/unity-7.1.2+14.04.20140225/tests/test_launcher_controller.cpp:1059: undefined reference to `int unity::launcher::Controller::Impl::GetLastIconPriority<unity::launcher::VolumeLauncherIcon>(std::string const&, bool)'
  CMakeFiles/test-gtest.dir/test_launcher_controller.cpp.o: In function `unity::TestLauncherController_GetLastIconPriorityUnStickyWithAllStickyIcons_Test::TestBody()':
  /build/buildd/unity-7.1.2+14.04.20140225/tests/test_launcher_controller.cpp:1079: undefined reference to `int unity::launcher::Controller::Impl::GetLastIconPriority<unity::launcher::VolumeLauncherIcon>(std::string const&, bool)'
  CMakeFiles/test-gtest.dir/test_launcher_controller.cpp.o: In function `unity::TestLauncherController_GetLastIconPriorityUnStickyWithSomeStickyIcons_Test::TestBody()':
  /build/buildd/unity-7.1.2+14.04.20140225/tests/test_launcher_controller.cpp:1099: undefined reference to `int unity::launcher::Controller::Impl::GetLastIconPriority<unity::launcher::VolumeLauncherIcon>(std::string const&, bool)'
  CMakeFiles/test-gtest.dir/test_launcher_controller.cpp.o: In function `unity::TestLauncherController_GetLastIconPriorityUnStickyWithNoIcons_Test::TestBody()':
  /build/buildd/unity-7.1.2+14.04.20140225/tests/test_launcher_controller.cpp:1110: undefined reference to `int unity::launcher::Controller::Impl::GetLastIconPriority<unity::launcher::VolumeLauncherIcon>(std::string const&, bool)'
  CMakeFiles/test-gtest.dir/test_launcher_controller.cpp.o: In function `unity::TestLauncherController_GetLastIconPriorityUnStickyWithNoIconsAndUri_Test::TestBody()':
  /build/buildd/unity-7.1.2+14.04.20140225/tests/test_launcher_controller.cpp:1126: undefined reference to `int unity::launcher::Controller::Impl::GetLastIconPriority<unity::launcher::VolumeLauncherIcon>(std::string const&, bool)'
  CMakeFiles/test-gtest.dir/test_launcher_controller.cpp.o:/build/buildd/unity-7.1.2+14.04.20140225/tests/test_launcher_controller.cpp:1135: more undefined references to `int unity::launcher::Controller::Impl::GetLastIconPriority<unity::launcher::VolumeLauncherIcon>(std::string const&, bool)' follow
  collect2: error: ld returned 1 exit status

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