lp:unity fails to build on precise (error: ‘bamf_tab_get_xid’...) instead of checking for correct prerequisites

Bug #1042085 reported by Daniel van Vugt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Application Menu Indicator
New
Low
Unassigned
Unity
Triaged
Low
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The current lp:unity doesn't build:

/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp: In member function ‘virtual void unity::launcher::BamfLauncherIcon::ActivateLauncherIcon(unity::launcher::ActionArg)’:
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp:267:64: error: ‘bamf_tab_get_xid’ was not declared in this scope
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp: In member function ‘std::vector<long unsigned int> unity::launcher::BamfLauncherIcon::GetFocusableWindows(unity::launcher::ActionArg, bool&, bool&)’:
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp:640:31: error: ‘bamf_application_get_focusable_child’ was not declared in this scope
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp:652:48: error: ‘bamf_tab_get_xid’ was not declared in this scope
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp:654:40: error: ‘bamf_tab_raise’ was not declared in this scope
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp: In member function ‘void unity::launcher::BamfLauncherIcon::EnsureWindowState()’:
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp:764:63: error: ‘bamf_tab_get_xid’ was not declared in this scope
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp: In member function ‘virtual void unity::launcher::BamfLauncherIcon::Quit()’:
/home/dan/bzr/unity/trunk/launcher/BamfLauncherIcon.cpp:927:41: error: ‘bamf_tab_close’ was not declared in this scope
make[2]: *** [launcher/CMakeFiles/launcher-lib.dir/BamfLauncherIcon.cpp.o] Error 1

Tags: precise
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Found the cause:

revno: 2624 [merge]
author: Robert Carr <email address hidden>, Ken VanDine <email address hidden>
committer: Tarmac
branch nick: unity
timestamp: Fri 2012-08-24 11:14:33 -0400
message:
  Webapps support for unity. Fixes: . Approved by Timo Jyrinki, Marco Trevisan (Treviño).

summary: - lp:unity FTBFS - BamfLauncherIcon.cpp:267:64: error: ‘bamf_tab_get_xid’
- was not declared in this scope
+ lp:unity fails to build on precise (error: ‘bamf_tab_get_xid’...)
+ instead of checking for correct prerequisites
Changed in unity:
importance: Critical → Medium
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

Same with indicator-appmenu on quantal:

  CC libhud_service_a-hudwebappsource.o
../../src/hudwebappsource.c: In function ‘hud_webapp_source_should_search_app’:
../../src/hudwebappsource.c:111:7: error: implicit declaration of function ‘bamf_tab_get_xid’ [-Werror=implicit-function-declaration]
../../src/hudwebappsource.c:112:4: error: implicit declaration of function ‘bamf_tab_get_is_foreground_tab’ [-Werror=implicit-function-declaration]
../../src/hudwebappsource.c: In function ‘hud_webapp_application_source_new’:
../../src/hudwebappsource.c:159:3: error: implicit declaration of function ‘bamf_application_get_application_menu’ [-Werror=implicit-function-declaration]

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Is this an attempt to build Unity trunk (lp:unity not unity/5.0) on Precise? In that case, this bug is low priority.

tags: added: precise
Changed in indicator-appmenu:
importance: Undecided → Low
Changed in unity:
importance: Medium → Low
Changed in unity:
milestone: 6.4 → 6.6
Changed in unity:
milestone: 6.6 → 7.0
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.0.0 → 7.0.1
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.0.1 → none
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.