libindicator FTBFS on bionic

Bug #1757261 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libindicator (Ubuntu)
Fix Released
Undecided
Olivier Tilloy

Bug Description

../../../libindicator/indicator-ng.c: In function ‘indicator_ng_init’:
../../../libindicator/indicator-ng.c:690:21: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   self->entry.label = g_object_ref_sink (gtk_label_new (NULL));
                     ^
../../../libindicator/indicator-ng.c:691:21: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   self->entry.image = g_object_ref_sink (gtk_image_new ());
                     ^
../../../libindicator/indicator-ng.c:693:20: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
   self->entry.menu = g_object_ref_sink (gtk_menu_new ());
                    ^
cc1: all warnings being treated as errors
Makefile:759: recipe for target 'libindicator3_la-indicator-ng.lo' failed

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libindicator3-7 16.10.0+18.04.20171205.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 20 21:47:16 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-07-02 (626 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: libindicator
UpgradeStatus: Upgraded to bionic on 2018-01-29 (50 days ago)

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :
Changed in libindicator (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libindicator - 16.10.0+18.04.20180321.1-0ubuntu1

---------------
libindicator (16.10.0+18.04.20180321.1-0ubuntu1) bionic; urgency=medium

  [ Olivier Tilloy ]
  * Cast GtkWidget to the expected widget type to fix build failures on bionic
    [-Werror=incompatible-pointer-types] (LP: #1757261)

 -- Marco Trevisan (Treviño) <mail@3v1n0.net> Wed, 21 Mar 2018 17:40:06 +0000

Changed in libindicator (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.