Wrong glib #include in Hud.h

Reported by John Lenton on 2012-03-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Medium
Unassigned
unity (Ubuntu)
Medium
Unassigned

Bug Description

unity-2d in precise fails to build from source. Last few lines of the build are:

cd /tmp/unity-2d/obj-i686-linux-gnu/libunity-2d-private/src && /usr/bin/c++ -Dunity_2d_private_EXPORTS -DQT_NO_KEYWORDS -DWNCK_I_KNOW_THIS_IS_UNSTABLE -DSN_API_NOT_YET_FROZEN -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Woverloaded-virtual -Wall -std=c++0x -DGSEAL_ENABLE -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -fPIC -I/tmp/unity-2d/obj-i686-linux-gnu -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/dconf-dbus-1 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/dconf-qt -I/tmp/unity-2d/obj-i686-linux-gnu/libunity-2d-private/src -I/tmp/unity-2d/libunity-2d-private/src -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/startup-notification-1.0 -I/usr/include/libwnck-3.0 -I/usr/include/QtBamf -I/usr/include/QtGConf -I/usr/include/QtDee -I/usr/include/dbusmenu-qt -I/usr/include/libindicator3-0.4 -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -I/usr/include/Unity-5.0 -I/usr/include/Nux-2.0 -I/usr/include/dee-1.0 -o CMakeFiles/unity-2d-private.dir/hud.cpp.o -c /tmp/unity-2d/libunity-2d-private/src/hud.cpp
In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
                 from /usr/include/glib-2.0/glib/gmessages.h:35,
                 from /usr/include/glib-2.0/glib/gvarianttype.h:30,
                 from /usr/include/glib-2.0/glib/gvariant.h:30,
                 from /usr/include/Unity-5.0/UnityCore/Hud.h:27,
                 from /tmp/unity-2d/libunity-2d-private/src/hud.h:27,
                 from /tmp/unity-2d/libunity-2d-private/src/hud.cpp:21:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
make[3]: *** [libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/hud.cpp.o] Error 1
make[3]: Leaving directory `/tmp/unity-2d/obj-i686-linux-gnu'
make[2]: *** [libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/all] Error 2
make[2]: Leaving directory `/tmp/unity-2d/obj-i686-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/unity-2d/obj-i686-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Michał Sawicz (saviq) wrote :
Changed in unity-2d:
status: New → Invalid
Changed in unity:
status: New → Fix Committed
summary: - unity-2d FTBFS
+ Wrong glib #include in Hud.h
Omer Akram (om26er) on 2012-04-05
Changed in unity:
milestone: none → 5.10.0
affects: unity-2d → unity (Ubuntu)
Changed in unity (Ubuntu):
importance: Undecided → Medium
status: Invalid → Fix Committed
Changed in unity:
importance: Undecided → Medium
Didier Roche (didrocks) on 2012-04-12
Changed in unity:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (9.2 KiB)

This bug was fixed in the package unity - 5.10.0-0ubuntu3

---------------
unity (5.10.0-0ubuntu3) precise-proposed; urgency=low

  [ Oliver Grawert ]
  * Enable subarch specific quilt support
  * add linaros disable_standalone-clients.patch to make unity build with GLES

  [ Didier Roche ]
  * remove a symlink and replace with a real file for
    debian/patches/series.<arch> as not supported in non v3 (and we don't
    want v3 format with full source upstream derived branch)

unity (5.10.0-0ubuntu2) precise-proposed; urgency=low

  [ Ricardo Salveti de Araujo ]
  * Enabling build with OpenGL ES2.0 support for ARM and disable maintainer
     mode on that arch to avoid -Werror failure (LP: #980544)

unity (5.10.0-0ubuntu1) precise-proposed; urgency=low

  * New upstream release:
    - bamfdaemon crashed with SIGABRT in g_assertion_message() (LP: #926208)
    - We are using 1 bad hack for compiz hanging on startup (LP: #963264)
    - GConf backend steals glib events from compiz (LP: #965220)
    - when I closed QupZill brawser it crashed and then and then I sow
      worrning that compiz crashed but fire fox and chrome is estle working.
      gtk-window-decorator crashed with SIGSEGV in max_window_name_width()
      (LP: #948580)
    - compiz crashed with SIGSEGV in std::basic_string<...>::basic_string()
      from unity::launcher::HudLauncherIcon::HudLauncherIcon()::{lambda} from
      unity::UBusManager::OnCallback (LP: #964897)
    - unity-panel-service crashed due to heap corruption in g_free() from
      service_proxy_name_changed() [libindicator/indicator-service-
      manager.c:574] (LP: #969360)
    - Opening dash while an application is maximized makes unity completely
      useless, have to relogin (LP: #975103)
    - unity crash on alt-tab (LP: #975168)
    - Top bar - Menus should be condensed to fit panel/overlay of appmenu
      (LP: #655184)
    - Topbar - window controls for maximised windows in the top bar should
      conform to Fitts's law (LP: #839690)
    - [FFe, UIFe] Dash - When the Dash is open and there is a maximised app in
      the background, the top bar background should not disappear
      (LP: #839480)
    - Dash - The inner bottom left, bottom right and top right corners of the
      desktop dash border are rendered incorrectly (LP: #839476)
    - Showdesktoped window contents invisible in window spread (LP: #877778)
    - Maximized windows can be accidentally closed from wrong monitor.
      (LP: #865701)
    - Unity launcher on-screen corruption on resume from suspend with nVidia
      proprietary driver (LP: #915265)
    - Launcher - Inserting items into launcher makes unnecessary animations on
      other monitors (LP: #925021)
    - Far left character in panel (and launcher popups) distorted
      (LP: #927441)
    - Jenkins build failure: SetAcceptKeyNavFocusOnMouseEnter not declared
      (LP: #938037)
    - super+<unbound key> and sometimes super+<number> keys now cause launch
      to wedge with the key hints shown and retains focus instead of selecting
      the requested window (LP: #934084)
    - three-finger move does not move (Precise) (LP: #940612)
    - compiz crashed with SIGSEGV in std::__de...

Read more...

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers