← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2098698] Re: [SRU] libgtk-4-1: Missing dependency libgles2 on Noble

 

Hello Joshua, or anyone else affected,

Accepted gtk4 into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/gtk4/4.14.5+ds-0ubuntu0.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: gtk4 (Ubuntu Noble)
       Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-noble

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

Title:
  [SRU] libgtk-4-1: Missing dependency libgles2 on Noble

Status in gtk4 package in Ubuntu:
  Fix Released
Status in gtk4 source package in Noble:
  Fix Committed
Status in gtk4 source package in Plucky:
  Fix Released

Bug description:
  [ Impact ]

  * libgtk-4-1 has an implicit dependency on libgles2. GTK4 apps running
  on containers like WSL, where the installation doesn't come with all
  required dependencies upfront, crash immediately due the missing
  dependency.

  * gtk4 version 4.14.5 makes that dependency explicit, so libgles2 will
  be installed automatically when libgtk-4-1 is installed.

  
  [ Test Plan ]

   Test Case 1 - gtk4-demo on containers
  --------------------------------------
  * Setup an Ubuntu 24.04 container (Ubuntu on WSL instance, LXD or docker, as you wish).

  * Make sure it doesn't contain the libgles2 package already installed
  (`apt list --installed | grep libgles2` output should be empty)

  * Update apt cache and install gtk-4-examples and try running
  gtk4-demo.

  With previous versions of GTK4 it fails to launch due libgles2.so not
  found. With the proposed patch libgles2 will be automatically
  installed and gtk4-demo will just run without crashes.

  
  [ Where problems could occur ]

   * Many of the default Ubuntu desktop apps use GTK4. A serious enough
  regression could severely break the Ubuntu Desktop.

  
  [ Other Info ]

  gtk4 is included in the GNOME micro release exception since it is part
  of GNOME Core

  https://documentation.ubuntu.com/sru/en/latest/reference/package-
  specific/

  The issue was first discovered while doing the WSL Import and run test
  for 24.04.2 documented in the ISO tracker. gtk4-demo failed to launch
  due to missing the library for libGLESv2 (so would any other GTK4 app
  running on WSL or LXD containers, for example).

  Installing libgles2 fixed the issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gtk-4-examples 4.14.2+ds-1ubuntu1
  Uname: Linux 5.15.167.4-microsoft-standard-WSL2 x86_64
  ApportVersion: 2.28.1-0ubuntu3.3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Mon Feb 17 12:19:55 2025
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: gtk4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2098698/+subscriptions