unity: FTBFS in Noble

Bug #2051343 reported by Graham Inggs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
Fix Committed
Critical
Ubuntu Unity Devs
unity-api (Ubuntu)
New
Undecided
Unassigned
unity-lens-applications (Ubuntu)
Fix Released
Undecided
Unassigned
unity-lens-files (Ubuntu)
Fix Released
Undecided
Unassigned
unity-lens-music (Ubuntu)
Fix Released
Undecided
Unassigned
unity-lens-video (Ubuntu)
Invalid
Undecided
Unassigned
unity-scope-home (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As seen in the test rebuild:
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20231215-noble-noble.html

[ 9%] Building CXX object tests/CMakeFiles/test-main-libs.dir/test_main.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests && /usr/bin/c++ -DUSE_X11 -I/usr/src/googletest/googlemock/include -I/usr/src/googletest/googletest/include -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/libmount -I/usr/include/blkid -I/usr/include/dee-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libappstream-glib -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/uuid -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/libindicator3-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/libbamf3 -I/usr/lib/x86_64-linux-gnu/libbamf3/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/gsettings-desktop-schemas -I/usr/include/libxml2 -I/usr/include/unity-settings-daemon-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/Nux-4.0 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/unity-misc -I/usr/include/zeitgeist-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/compiz -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests -I/<<PKGBUILDDIR>>/tests/. -I/<<PKGBUILDDIR>>/tests/.. -I/<<PKGBUILDDIR>>/tests/../services -I/<<PKGBUILDDIR>>/tests/../UnityCore -I/<<PKGBUILDDIR>>/tests/../plugins/unityshell/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/plugins/unity-mt-grab-handles/src -I/<<PKGBUILDDIR>>/dash -I/<<PKGBUILDDIR>>/decorations -I/<<PKGBUILDDIR>>/launcher -I/<<PKGBUILDDIR>>/panel -I/<<PKGBUILDDIR>>/hud -I/<<PKGBUILDDIR>>/shortcuts -I/<<PKGBUILDDIR>>/shutdown -I/<<PKGBUILDDIR>>/unity-shared -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/unity-7.7.0+23.04.20230222.2-0ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3 -DGNOME_DESKTOP_USE_UNSTABLE_API -std=c++11 -fno-permissive -Wall -Wcast-align -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wno-error=deprecated-declarations -Wno-error=unused-local-typedefs -Wno-sign-compare -MD -MT tests/CMakeFiles/test-main-libs.dir/test_main.cpp.o -MF CMakeFiles/test-main-libs.dir/test_main.cpp.o.d -o CMakeFiles/test-main-libs.dir/test_main.cpp.o -c /<<PKGBUILDDIR>>/tests/test_main.cpp
In file included from /usr/src/googletest/googletest/include/gtest/gtest-message.h:57,
                 from /usr/src/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
                 from /usr/src/googletest/googletest/include/gtest/gtest.h:64,
                 from /<<PKGBUILDDIR>>/tests/test_main.cpp:1:
/usr/src/googletest/googletest/include/gtest/internal/gtest-port.h:279:2: error: #error C++ versions less than C++14 are not supported.
  279 | #error C++ versions less than C++14 are not supported.
      | ^~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'

Steve Langasek (vorlon)
Changed in unity (Ubuntu):
assignee: nobody → Ubuntu Unity Devs (ubuntu-unity-devs)
importance: Undecided → Critical
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

unity-lens-video is building just fine, marked as invalid. The other four are suffering from Vala incompatibilities and I'm working through them now.

Changed in unity-lens-applications (Ubuntu):
status: New → Fix Committed
Changed in unity-lens-files (Ubuntu):
status: New → Fix Committed
Changed in unity-lens-music (Ubuntu):
status: New → Fix Committed
Changed in unity-lens-video (Ubuntu):
status: New → Invalid
Changed in unity-scope-home (Ubuntu):
status: New → In Progress
Changed in unity-lens-music (Ubuntu):
status: Fix Committed → In Progress
Changed in unity-lens-files (Ubuntu):
status: Fix Committed → In Progress
Changed in unity-lens-applications (Ubuntu):
status: Fix Committed → In Progress
Changed in unity (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-music - 6.9.1+16.04-0ubuntu5

---------------
unity-lens-music (6.9.1+16.04-0ubuntu5) noble; urgency=medium

  * Fix Vala incompatibilities. (LP: #2051343)

 -- Aaron Rainbolt <email address hidden> Fri, 29 Mar 2024 00:56:25 +0000

Changed in unity-lens-music (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-home - 6.8.2+19.04.20190412-0ubuntu4

---------------
unity-scope-home (6.8.2+19.04.20190412-0ubuntu4) noble; urgency=medium

  * Fix problems with values being non-public when they should have been.
    (LP: #2051343)

 -- Aaron Rainbolt <email address hidden> Fri, 29 Mar 2024 01:14:49 +0000

Changed in unity-scope-home (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-applications - 7.1.0+16.10.20160927-0ubuntu7

---------------
unity-lens-applications (7.1.0+16.10.20160927-0ubuntu7) noble; urgency=medium

  * Fix multiple Vala errors leading to build failure. (LP: #2051343)

 -- Aaron Rainbolt <email address hidden> Fri, 29 Mar 2024 00:25:16 +0000

Changed in unity-lens-applications (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-files - 7.1.0+17.10.20170605-0ubuntu4

---------------
unity-lens-files (7.1.0+17.10.20170605-0ubuntu4) noble; urgency=medium

  * Fix outdated test case code. (LP: #2051343)

 -- Aaron Rainbolt <email address hidden> Fri, 29 Mar 2024 00:43:56 +0000

Changed in unity-lens-files (Ubuntu):
status: In Progress → Fix Released
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.