← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2103851] Re: Package build stops with -Werror flag due to 'app_indicator_new(const gchar*, const gchar*, AppIndicatorCategory)’ is deprecated

 

** Tags added: questing

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libayatana-appindicator in
Ubuntu.
https://bugs.launchpad.net/bugs/2103851

Title:
  Package build stops with -Werror flag due to 'app_indicator_new(const
  gchar*, const gchar*, AppIndicatorCategory)’ is deprecated

Status in OpenMoneyBox:
  New
Status in libayatana-appindicator package in Ubuntu:
  New

Bug description:
  Tested on virtual machine with Ubuntu 25.04 daily (prior to Beta release).
  The build of a package of mine stops due to deprecation of the function app_indicator_new, if the -Werror flag is set during the compilation (see a failed build log example here): https://code.launchpad.net/~igor-cali/+archive/ubuntu/junk/+build/30578054/+files/buildlog_ubuntu-plucky-amd64.openmoneybox_3.5.1.3~190~20250322~ubuntu25.04.1_BUILDING.txt.gz)

  I did some research, I see that the successor should be the package
  libayatana-indicator-glib. I found an ITP in Debian
  (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100170), but no
  package in Debian (trixie) or Ubuntu (plucky) at the time of reporting
  this bug.

  Workaround is building without the -Werror switch.

  Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: libayatana-appindicator3-dev 0.5.94-1
  ProcVersionSignature: Ubuntu 6.14.0-11.11-generic 6.14.0-rc7
  Uname: Linux 6.14.0-11-generic x86_64
  ApportVersion: 2.32.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Mar 22 12:09:34 2025
  InstallationDate: Installed on 2025-03-03 (19 days ago)
  InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250302)
  ProcEnviron:
   LANG=it_IT.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: libayatana-appindicator
  UpgradeStatus: No upgrade log present (probably fresh install)

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